Set z-index of a map marker

Phoca Maps - displaying maps in Joomla! CMS
daveturner101
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 23 Nov 2011, 11:29

Set z-index of a map marker

Post by daveturner101 »

we have a phoca map with multiple markers across the UK. One of the markers is for our head office and we would like this marker to appear above the other markers when zoomed out so that it's easily visible. it has it's own icon. i believe there's a way to set the z-index of a marker with google maps api v3 as seen here: http://code.google.com/apis/maps/docume ... tml#Marker

i've tried ordering the markers differently and editing markers that were added first (so the id number is lower) but no luck.

The map appears to be ordering the markers south to north, ie southern markers appear above more northern markers.

how would i go about editing the z-index of a marker in phoca maps?

thanks

dave
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Set z-index of a map marker

Post by Jan »

Hi, for now I don't have any experiences with setting z-index into Google Maps API javascript code :-(, so if there is such option, this needs to be customized fo the javascript output :idea:
If you find Phoca extensions useful, please support the project
Post Reply