I'm trying to make a map that doesn't wrap horizontally, using the Google Maps API V3. So instead repeating the map side-by-side again and again, I want to show it only once. I got that to work by providing a custom getTileUrl function for google.maps.ImageMapType
But when I add overlays (like markers or polygons), those still are repeated horizontally. How can I stop the overlays from being repeated horizontally?
Edit Here's an image demonstrating the problem:
I was thinking of somehow modifying the google.maps.Projection.fromLatLngToPoint() method, but for some reason that doesn't seem to be available most of the time.