Roo/bootstrap/LocationPicker.js
authoredward <edward@roojs.com>
Tue, 13 Oct 2015 09:32:19 +0000 (17:32 +0800)
committeredward <edward@roojs.com>
Tue, 13 Oct 2015 09:32:19 +0000 (17:32 +0800)
Roo/bootstrap/LocationPicker.js

index b4e9282..47087cb 100644 (file)
@@ -266,12 +266,12 @@ Roo.extend(Roo.bootstrap.LocationPicker, Roo.bootstrap.Component,  {
     GMapContext: function() 
     {
         var _map = new google.maps.Map(this.el.dom, this);
-//        var _marker = new google.maps.Marker({
-//            position: new google.maps.LatLng(this.latitude, this.longitude),
-//            map: _map,
-//            title: this.markerTitle,
-//            draggable: this.draggable
-//        });
+        var _marker = new google.maps.Marker({
+            position: new google.maps.LatLng(this.latitude, this.longitude),
+            map: _map,
+            title: this.markerTitle,
+            draggable: this.draggable
+        });
         
         return {
             map: _map,