haoliangyu/ngx-leaflet-starter

Airport layer for other layers

mrinalusp opened this issue · 4 comments

Hello,

The airport geojson doesnt work for other maps. Any reason why?

Thank YOU!

I am pretty sure the geojson is valid as both GitHub (MapboxGL) and QGIS can read it. Can you provide more details on what other maps are and how you work with them?

When i select the ESRI map and then click on Airport Toggle , the icons dont show up. It looks like the icons are there but they are getting hidden and not able to overlay on ESRI maps.

image

This is an interesting finding. I did not anticipate the vector-tile layer could be covered by the base map. Since I only use the basic way to create layer and change base maps, I suspect there is an issue with the vectorgrid library. But I am not sure at this moment.

I find the reason. It is a z-index issue. See Leaflet/Leaflet.VectorGrid#154