How can I have markers repeat when map is scrolled horizontally past international date line?
2
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The best answer from the company
-
You can't do this very easily at all – one reason is that modest maps markers are Flash DisplayObjects (movie clips, sprites) which can't easily be added to the stage more than once. There would need to be a whole pile of logic involved to clone markers and to make sure they weren't getting wrapped around on top of each other.
Maybe one day :(
Actually, I see what you mean about scrolling so that the map wraps around – that's not the same problem that I thought it was. We should be able to take a look at the projection functions that return a point and make sure that the point returned is actually on the map. I'll add a ticket on Trac – thanks!
I’m sorry
The company says
this answers the question
-
Inappropriate?You can't do this very easily at all – one reason is that modest maps markers are Flash DisplayObjects (movie clips, sprites) which can't easily be added to the stage more than once. There would need to be a whole pile of logic involved to clone markers and to make sure they weren't getting wrapped around on top of each other.
Maybe one day :(
Actually, I see what you mean about scrolling so that the map wraps around – that's not the same problem that I thought it was. We should be able to take a look at the projection functions that return a point and make sure that the point returned is actually on the map. I'll add a ticket on Trac – thanks!
I’m sorry
The company says
this answers the question
Loading Profile...





EMPLOYEE
