File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
<div class =" map item" >
2
- {{ #g-map lat =37.7833 lng =-122.4167 zoom =2 address =location class =' google-maps' as |context |}}
2
+ {{ #g-map markersFitMode = ' live ' lat =37.7833 lng =-122.4167 zoom =2 address =location class =' google-maps' as |context |}}
3
3
{{ g-map-address-marker context address =location onLocationChange = (action ' onLocationChangeHandler' )}}
4
4
{{ /g-map }}
5
5
</div >
Original file line number Diff line number Diff line change 1
1
{{ #if event.isMapShown }}
2
2
<div class =" eight wide column event-map" >
3
3
<h1 >{{ t ' Getting Here' }} </h1 >
4
- {{ #g-map lat =event.latitude lng =event.longitude zoom =15 gestureHandling =' cooperative' streetView =' StreetViewPanorama' as |context |}}
5
- {{ g-map-marker context lat =event.latitude lng =event.longitude }}
4
+ {{ #g-map markersFitMode =' live' lat =37.744 lng =-122.4367 address =event.locationName zoom =2 class =' google-maps' as |context |}}
5
+ {{ #g-map-address-marker context address =event.locationName as |markerContext |}}
6
+ {{ #g-map-infowindow markerContext }}
7
+ {{ event.locationName }}
8
+ {{ /g-map-infowindow }}
9
+ {{ /g-map-address-marker }}
6
10
{{ /g-map }}
7
11
</div >
8
12
{{ /if }}
You can’t perform that action at this time.
0 commit comments