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),
|
||||
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, {
|
||||
'dragging': true,
|
||||
'noEvent': true
|
||||
});
|
||||
}, this),
|
||||
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, {
|
||||
'noEvent': true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user