Re: Z-index of markers
On Jun 19, 6:42 pm, Bojan <bojanpe...@gmail.com> wrote:
>
> > But when we have a situation like we have atleast 10-15 markers on same lat
> > n lng i can see the last marker placed on the map.
> I think you don't have other choice than to change lat and lng of
> markers.
The API doesn't include anything to help with markers which are in
exactly the same place. You *could* vary the real location so the
markers are not all in the same place; if you want the markers to be
in the same place then there are a number of options you could use,
depending on your own circumstances, but you have to code everything.
You could use a single marker with a tabbed infoWindow containing data
for each marker which should be shown (for up to three or four markers/
tabs); you could use custom markers which have their icon at a
different angle so you get a "fan" effect (only really suited to a
maximum of eight markers); you could use a single marker and have a
list of links to other markers' data in a single infoWindow. You could
have a mixture of methods, or come up with something different again.
I don't remember seeing any examples of handling coincident markers.
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home