开发者

Display marker on top of other markers on google map

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜