update lat/lng clamping, to take account of the map projection not going beyond 85 degrees north/south
slight improvement around the antimeridian - wrap the map centre so it's always between +-180 degrees
also limit north/south to 85 degrees, to avoid leaving the active map area