Spell checking, s-z, plus a couple of missed ones.
This commit is contained in:
@ -251,7 +251,7 @@ window.setupMap = function() {
|
||||
|
||||
map.on('moveend', function(e) {
|
||||
// two limits on map position
|
||||
// we wrap longitude (the L.LatLng 'wrap' method) - so we don't find outselves looking beyond +-180 degrees
|
||||
// we wrap longitude (the L.LatLng 'wrap' method) - so we don't find ourselves looking beyond +-180 degrees
|
||||
// then latitude is clamped with the clampLatLng function (to the 85 deg north/south limits)
|
||||
var newPos = clampLatLng(map.getCenter().wrap());
|
||||
if (!map.getCenter().equals(newPos)) {
|
||||
|
Reference in New Issue
Block a user