Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions app/templates/components/public/event-map.hbs
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
<div class="eight wide column event-map">
<h1>{{t 'Getting Here'}}</h1>
{{#if (eq this.mapConfig.display 'embed') }}
<iframe title="Map" class="g-map" src="https://maps.google.com/maps?q={{this.event.locationName}}&t=&z=15&ie=UTF8&iwloc=&output=embed" frameborder="0" scrolling="no"></iframe>
{{else}}
<GMap @markersFitMode="live" @lat={{37.744}} @lng={{-122.4367}} @address={{this.event.locationName}} @zoom={{2}} @class="google-maps" as |context|>
{{#g-map-address-marker context address=this.event.locationName as |markerContext|}}
{{#g-map-infowindow markerContext}}
{{this.event.locationName}}
{{/g-map-infowindow}}
{{/g-map-address-marker}}
</GMap>
{{/if}}
</div>
{{#if this.event.isMapShown}}
<div class="eight wide column event-map">
<h1>{{t 'Getting Here'}}</h1>
{{#if (eq this.mapConfig.display 'embed') }}
<iframe title="Map" class="g-map" src="https://maps.google.com/maps?q={{this.event.locationName}}&t=&z=15&ie=UTF8&iwloc=&output=embed" frameborder="0" scrolling="no"></iframe>
{{else}}
<GMap @markersFitMode="live" @lat={{37.744}} @lng={{-122.4367}} @address={{this.event.locationName}} @zoom={{2}} @class="google-maps" as |context|>
{{#g-map-address-marker context address=this.event.locationName as |markerContext|}}
{{#g-map-infowindow markerContext}}
{{this.event.locationName}}
{{/g-map-infowindow}}
{{/g-map-address-marker}}
</GMap>
{{/if}}
</div>
{{/if}}
<div class="{{if this.event.isMapShown 'eight' 'sixteen'}} wide column address">
<h1>{{t 'Address'}}</h1>
<p>{{this.event.locationName}}</p>
Expand Down