Skip to content
This repository was archived by the owner on Jul 16, 2019. It is now read-only.

Commit 9663f4a

Browse files
committed
update marker test
1 parent ed4be17 commit 9663f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/marker.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<gm-map options="{center: [37.772323, -122.214897], zoom: 4, mapTypeId: google.maps.MapTypeId.ROADMAP}">
2929
<gm-marker
30-
ng-show="showMarker" options="{position: [40.750, -73], draggable: true}"
30+
ng-show="showMarker" options="{position: map.getCenter(), draggable: true}"
3131
on-dragend="console.log('dragend on {' + marker.getPosition().lat() + ',' + marker.getPosition().lng() + '}')"
3232
>
3333
</gm-marker>

0 commit comments

Comments
 (0)