examples/bootstrap/LocationPicker.html
authoredward <edward@roojs.com>
Tue, 13 Oct 2015 09:38:54 +0000 (17:38 +0800)
committeredward <edward@roojs.com>
Tue, 13 Oct 2015 09:38:54 +0000 (17:38 +0800)
examples/bootstrap/LocationPicker.html

index 40f4fdc..1a853ae 100644 (file)
@@ -28,11 +28,12 @@ function initMap() {
   });
 
   var marker = new google.maps.Marker({
-    position: myLatLng,
     map: map,
-    title: 'Hello World!',
-    draggable: this.draggable
-  });
+    draggable: true,
+        animation: google.maps.Animation.DROP,
+        position: {lat: 59.327, lng: 18.067}
+      });
+      marker.addListener('click', toggleBounce);
 }
 
     </script>