开发者

Display marker on top of other markers on google map

开发者 https://www.devze.com 2023-01-15 21:43 出处:网络
I am looking for javascript code that display marker on top of others. May be there is any method of GMarker that set 开发者_运维技巧marker on top (z-index kind of).

I am looking for javascript code that display marker on top of others.

May be there is any method of GMarker that set 开发者_运维技巧marker on top (z-index kind of).

For solution, I destroy marker and created again. The solution works before some time (when I tried this solution) but not right now.


There is a parameter zIndexProcess.

var marker = new GMarker( latlng, { zIndexProcess: "your z index for marker"  } );

Should work.

Check this link as well.

http://econym.org.uk/gmap/zindex.htm

0

精彩评论

暂无评论...
验证码 换一张
取 消