Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Google maps layer zIndex #29
I'm currently having an issue with google maps tile layer. I'm using danzel's Leaflet.markercluster plugin to cluster and display my markers.
Problem is that google maps layer displays on top of marker layer so it renders the map unusable because it's impossible to click on markers.
When I select different tile layer (e.g. Bing layer or OSM) markers are displayed as intended on top of the tile layers. But if google maps tile layer is selected it's again displayed above all else.
Is it possible to move google tile layer to front or to back by some method? I've tried bringToFront() but L.Google doesn't have that method.
I'm sorry that I cannot give you a link to my webpage for security reasons to see it for yourself.
I have the same issue with my WMS layer that does not show over Google Satellite layer... My WMS layer is shown correctly over OSM layer but disappear when switching to Google layer... This was working fine with some old version of Leaflet. I'm trying to use the latest Leaflet js/css (0.4.2)
Thanks a lot