Roo/bootstrap/LocationPicker.js
authoredward <edward@roojs.com>
Tue, 13 Oct 2015 10:08:41 +0000 (18:08 +0800)
committeredward <edward@roojs.com>
Tue, 13 Oct 2015 10:08:41 +0000 (18:08 +0800)
Roo/bootstrap/LocationPicker.js

index f0bc33e..d24dae5 100644 (file)
@@ -266,19 +266,18 @@ Roo.extend(Roo.bootstrap.LocationPicker, Roo.bootstrap.Component,  {
     GMapContext: function() 
     {
         var position = new google.maps.LatLng(this.latitude, this.longitude);
-        Roo.log(this.latitude);
-        Roo.log(this.longitude);
+        
         var _map = new google.maps.Map(this.el.dom, this);
-        var _marker = new google.maps.Marker({
-            position: position,
-            map: _map,
-            title: this.markerTitle,
-            draggable: this.draggable
-        });
+//        var _marker = new google.maps.Marker({
+//            position: position,
+//            map: _map,
+//            title: this.markerTitle,
+//            draggable: this.draggable
+//        });
         
         return {
             map: _map,
-            marker: _marker,
+//            marker: _marker,
             circle: null,
             location: position,
             radius: this.radius,