Static Map Markers for Same Country on Different Sides of North America

2 posts / 0 new
Last post
devmrs
Static Map Markers for Same Country on Different Sides of North America

Using PHP, I created a map having 300 markers from a MySql database. The resulting map 1920,1000@2x shows a large World map with North America in the middle and Europe and Asia on both sides of North America. 

For some reason, 6 of the European markers are on the Europe to the left of North America and 3 markers are on the Europe to the Right of North America.

Is there a way to ensure that all markers reside on the same map (i.e. all Africa, Europe, Asia,Australia, New Zealand markers reside on the map either to the left or right of North America?) I don't want markers for the same continent split between left/right of North America.

View the image here

 


devmrs
I figured it out. I simply

I figured it out. I simply changed the map center location and all the markers moved to the same side of North America.