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

index 8a45503..0a050b4 100644 (file)
@@ -267,7 +267,7 @@ Roo.extend(Roo.bootstrap.LocationPicker, Roo.bootstrap.Component,  {
     GMapContext: function() 
     {
         var position = new google.maps.LatLng(this.latitude, this.longitude);
-        
+        this.center = position;
         var _map = new google.maps.Map(this.el.dom, this);
        // var _map = new google.maps.Map(this.el.dom, {
        //     zoom: 13,