September 8, 2014 at 12:34 pm #182189
Maybe i’m overlooking something? Center is not working. I know there’s a way to Auto center but it cuts Asia in two. I want America on the left and not in the middle as it shows up with auto center. Thank you in advance!September 9, 2014 at 3:27 am #182320
It is because you are doing
setMarkersfunction. So the map will center on every marker, which is why in the end it centers on USA, because that’s the last marker being added.
Just remove that line from
setMarkersand it will center correctly.
You must be logged in to reply to this topic.