| Issue 419: | Ability to set z-index of markers programmatically (and at any time) | |
| 25 people starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
This is a feature request for the ability to change the z-Index of markers when a mouseover event occurs. To illustrate this issue please look at http://esa.ilmari.googlepages.com/ZMarker2.htm You can see that if there are too many icons it is difficult to see if were stacked over each other. This is even more relevant if the icons have some information on it (e.g. with LabedMarkers). If you look at http://www.kreisalarm.de/drkmap (zoom in to see even more examples) you will find a solution where the label (marker) which receives the mouseover event will be put in the foreground so its content can be read. So please extend the API for "getZIndex" and "setZIndex" methods so that this behaviour can be used without hacks. Jörn |
||||||||||||||
,
Jun 14, 2008
Reported, and re-titled to be a bit clearer. You can keep using your hack, but I'd suggest checking it once a week to make sure it still works.
Summary: Ability to set z-index of markers programmatically (and at any time)
Status: Accepted Labels: -Type-Defect Type-Enhancement ApiType-Javascript Internal-1221948 Class-GMarker |
|||||||||||||||
,
Jun 19, 2008
I've also had to implement this sort of hack and have been checking it daily as the object reference shifts. I would love to see z-index getters and setters on the markers. Is there a way to be notified whenever the API is updated? Thanks, Josh |
|||||||||||||||
,
Jun 19, 2008
Hi Josh- Star this issue to be notified of updates to it. |
|||||||||||||||
,
Jun 19, 2008
Thanks kindly, Pamela. |
|||||||||||||||
,
Jul 09, 2008
would be nice |
|||||||||||||||
,
Oct 01, 2008
Also the explanation in the reference is not complete. "This function is used for changing the z-Index order of the markers when they are overlaid on the map and is also called when their infowindow is opened." It does not mention that the zIndexProcess function is also called when the infowindow is closed. That makes using the function very difficult. |
|||||||||||||||
,
Dec 14, 2008
This feature would definitely make my life a lot easier. The API is really lacking in the 'stacking order control' department. |
|||||||||||||||
,
Jan 03, 2009
Current API allows changing only the following characteristics of a GMarker object after it's been created: position (setLatLong), foreground icon (setImage) and an InfoWindow content. But sometimes when the position of the marker is changed it appears underneath other shapes on the map and that requires z-index adjustment which is currently impossible to do. Having the abitlity to adjust a z-index of a GMarker would really improve flexibility of the API and make developers' job much easier. |
|||||||||||||||
,
Jan 04, 2009
As a workaround, you can create your own marker and implement z-index changing with that. Here's example code: http://gmaps-samples.googlecode.com/svn/trunk/photolayer/markerlight.js |
|||||||||||||||
,
Feb 26, 2009
Just noticed that setLatLng() and even dragging a draggable marker will trigger zIndexProcess too. http://esa.ilmari.googlepages.com/zindexprocess.htm |
|||||||||||||||
,
May 24, 2009
Changing status of "Accepted" issues to "Acknowledged", to clarify their state. We may not be able to resolve all bugs or fulfill all feature requests, but we do thank you for filing them, and we will continually revisit all acknowledged issues and evaluate their feasibility. Thanks!
Status: Acknowledged
|
|||||||||||||||
,
Oct 14, 2009
I just wondered if there has been progress on this? |
|||||||||||||||
|
|
|||||||||||||||