Roo/bootstrap/LocationPicker.js
authorEdward <edward@roojs.com>
Fri, 22 May 2015 06:13:03 +0000 (14:13 +0800)
committerEdward <edward@roojs.com>
Fri, 22 May 2015 06:13:03 +0000 (14:13 +0800)
Roo/bootstrap/LocationPicker.js

index ff76266..a1e23cb 100644 (file)
@@ -169,7 +169,7 @@ 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(54.19335, -3.92695),
+            position: new google.maps.LatLng(this.latitude, this.longitude),
             map: _map,
             title: "Drag Me",
             draggable: this.draggable