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

index ac09353..42a0b96 100644 (file)
@@ -268,6 +268,8 @@ Roo.extend(Roo.bootstrap.LocationPicker, Roo.bootstrap.Component,  {
         var position = new google.maps.LatLng(this.latitude, this.longitude);
         
         var _map = new google.maps.Map(this.el.dom, {
+            latitude: this.latitude,
+            longitude: this.longitude,
             zoom: this.zoom,
             mapTypeId: this.mapTypeId,
             mapTypeControl: this.mapTypeControl,