Google Maps API v3 Repeats Markers on a Custom Map

I have this problem for some time, I searched the Internet for answers, but I could not find a good answer related to my problem.

screenshot of my problem

You can see that I am creating my own set of tiles. The problem is that the markers are repeated horizontally due to the wrapped map. I can’t use the zoom trick to avoid this problem because the map must be dynamic, therefore it supports multiple resolutions.

Hope someone knows how to deal with this problem! I would be very grateful.

I am using the Google Maps API v3.

EDIT

Here is another screenshot:

another screenshot

+4
source share

Source: https://habr.com/ru/post/1413952/


All Articles