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

index cda3df8..8f7039c 100644 (file)
@@ -140,6 +140,7 @@ Roo.extend(Roo.bootstrap.LocationPicker, Roo.bootstrap.Component,  {
         var _this = this;
         
         google.maps.event.addListener(this.gMapContext.marker, "dragend", function(event) {
+            Roo.log(_this.gMapContext.marker.position);
             _this.setPosition(_this.gMapContext.marker.position, function(context) {
                 var currentLocation = _this.locationFromLatLng(_this.gMapContext.location);
                 context.settings.onchanged.apply(_this.gmapContext.domContainer, [ currentLocation, context.radius, true ]);