Roo/bootstrap/LocationPicker.js
authorEdward <edward@roojs.com>
Thu, 27 Aug 2015 03:19:23 +0000 (11:19 +0800)
committerEdward <edward@roojs.com>
Thu, 27 Aug 2015 03:19:23 +0000 (11:19 +0800)
Roo/bootstrap/LocationPicker.js

index 503487e..14040f4 100644 (file)
@@ -156,12 +156,12 @@ Roo.extend(Roo.bootstrap.LocationPicker, Roo.bootstrap.Component,  {
             _this.setPosition(_this.gMapContext.marker.position);
         });
         
-        _this.OverlayView = new Roo.bootstrap.LocationPicker.OverlayView(this.gMapContext.map);
+        this.OverlayView = new Roo.bootstrap.LocationPicker.OverlayView(this.gMapContext.map);
         
-        Roo.log(_this.OverlayView);
+        Roo.log(this.OverlayView);
         
         google.maps.event.addListener(this.gMapContext.map, 'click', function(event){
-            
+            _this.fromLatLngToContainerPixel(event);
             _this.fireEvent('mapClick', this, event);
             
         });