Wasn't it ebakunin who wrote: >That solves part of the problem, but not provide the full effect I'd >like it to. I want to restrict the map so that no tiles are repeated >and no markers or polylines "wrap around" the canvas.
The easy way to achieve that effect is to use zoom levels 13 to 17 rather than zoom levels 1 to 4. Display blank tiles outside the visible region. Technically things do still wrap, but the user only perceives the effect if they drag the map sideways through 2048 screenwidths. It is also possible to do it by writing getWrapWidth() and tileCheckRange() functions. Search the group for those keywords. -- Mike Williams http://econym.org.uk/gmap -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=.
