Ticket #1507: patch-1507-r6844-A0.diff
| File patch-1507-r6844-A0.diff, 0.6 kB (added by pgiraud, 4 months ago) |
|---|
-
lib/OpenLayers/Map.js
old new 1374 1374 this.panTween = new OpenLayers.Tween(this.panMethod); 1375 1375 } 1376 1376 var center = this.getCenter(); 1377 1378 // center will not change, don't do nothing 1379 if (lonlat.lon == center.lon && 1380 lonlat.lat == center.lat) { 1381 return; 1382 } 1383 1377 1384 var from = { 1378 1385 lon: center.lon, 1379 1386 lat: center.lat
