EditingToolbar does not display first segment in VML until 3 points added.
This fixes the bounds, which fixes the vml behavior in IE. (Closes #666.) Hooray, no more devil ticket. git-svn-id: http://svn.openlayers.org/trunk/openlayers@4036 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -236,6 +236,7 @@ OpenLayers.Handler.Point = OpenLayers.Class(OpenLayers.Handler, {
|
||||
var lonlat = this.map.getLonLatFromPixel(evt.xy);
|
||||
this.point.geometry.x = lonlat.lon;
|
||||
this.point.geometry.y = lonlat.lat;
|
||||
this.point.geometry.clearBounds();
|
||||
this.drawFeature();
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user