No var keyword needed in this scope.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6444 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1367,14 +1367,14 @@ OpenLayers.Map = OpenLayers.Class({
|
|||||||
this.events.triggerEvent("movestart");
|
this.events.triggerEvent("movestart");
|
||||||
}, this),
|
}, this),
|
||||||
eachStep: OpenLayers.Function.bind(function(lonlat) {
|
eachStep: OpenLayers.Function.bind(function(lonlat) {
|
||||||
var lonlat = new OpenLayers.LonLat(lonlat.lon, lonlat.lat);
|
lonlat = new OpenLayers.LonLat(lonlat.lon, lonlat.lat);
|
||||||
this.moveTo(lonlat, this.zoom, {
|
this.moveTo(lonlat, this.zoom, {
|
||||||
'dragging': true,
|
'dragging': true,
|
||||||
'noEvent': true
|
'noEvent': true
|
||||||
});
|
});
|
||||||
}, this),
|
}, this),
|
||||||
done: OpenLayers.Function.bind(function(lonlat) {
|
done: OpenLayers.Function.bind(function(lonlat) {
|
||||||
var lonlat = new OpenLayers.LonLat(lonlat.lon, lonlat.lat);
|
lonlat = new OpenLayers.LonLat(lonlat.lon, lonlat.lat);
|
||||||
this.moveTo(lonlat, this.zoom, {
|
this.moveTo(lonlat, this.zoom, {
|
||||||
'noEvent': true
|
'noEvent': true
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user