> min could vary based on map pixels size. I haven't found any other
> good way to fix this.
I suspect min zoom may be the way to go... have you tested on other
devices, screen resolutions to make sure it doesn't suit your purpose?
what you *could* do is set a listener that looks out for when the user
is zooming out and the bounds longitude changes from neg to pos (or
vice versa) - which by my muddled way of thinking is the only way to
tell if the map has started wrapping:
var zoom;
google.maps.event.addListener(map, 'bounds_changed', function() {
if
((map.getZoom()<zoom)&&((map.getBounds().getNorthEast().lng()>0&&neLng<0)||
(map.getBounds().getSouthWest().lng()<0&&swLng>0))){
alert("too many maps!");
}
swLng=map.getBounds().getSouthWest().lng();
neLng=map.getBounds().getNorthEast().lng();
zoom=map.getZoom();
});
but what you actually do with the "too many maps!" scenario is the
next question that you would have to answer...