Skip to content

Instantly share code, notes, and snippets.

/application.hbs Secret

Created December 4, 2017 08:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/969970607d99b16f097c0e63cef703e6 to your computer and use it in GitHub Desktop.
Save anonymous/969970607d99b16f097c0e63cef703e6 to your computer and use it in GitHub Desktop.
<form {{action "updateAdressQuery" on="submit"}}>
<p>
<label>Address Query for Bound Marker</label>
{{input value=addressQueryInput}}
</p>
<p>
<button type="submit"> Update bound marker </button>
</p>
<button {{action "pullMongoDBData"}}> Pull MongoDB Data </button>
</p>
</form>
{{#g-map markersFitMode="live" options=customOptions as |context|}}
{{#each city in locArray}}
{{g-map-marker context lat=48.856614 lng=2.3522219}}
{{/each}}
{{/g-map}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment