Re: Marker display preference
Yes, by default the zindex of a marker is set to
Math.round(a.getLatitude()*-100000)
so that the southern ones are on top.
You just need to perform
marker.setZindex(Math.round(point.y*-100000 + something));
You'll need to do some experiments to see what value of "something"
looks right for your purposes. You might need to adjust it when the zoom
level changes.
--
The Blackpool Community Church Javascript Team
http://www.econym.demon.co.uk/googlemaps/
0 Comments:
Yorum Gönder
<< Home