measure control - wrong measure when moving fast, r=fredj (closes #2691)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10407 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -180,6 +180,7 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, {
|
||||
*/
|
||||
measurePartial: function(point, geometry) {
|
||||
if (geometry.getLength() > 0) {
|
||||
geometry = geometry.clone();
|
||||
this.delayedTrigger = window.setTimeout(
|
||||
OpenLayers.Function.bind(function() {
|
||||
this.measure(geometry, "measurepartial");
|
||||
|
||||
Reference in New Issue
Block a user