Leaflet / Leaflet.VectorGrid

Display gridded vector data (sliced GeoJSON or protobuf vector tiles) in Leaflet 1.0.0
598 stars 194 forks source link

Pass feat.type in styleOptions #130

Closed tomchadwin closed 6 years ago

tomchadwin commented 6 years ago

This then allows differentiation of styles with the same VT layer name.

Discussed here: #125

SureSRM commented 4 years ago

Hi, I'm a bit confused. I wanted to use this functionality that I saw in the documentation but it's not available. I've researched the commit history and looks like the commit made right after this one (this commit #151), overwrited the argument passing that you made.

It is still missing in the master branch:

https://github.com/Leaflet/Leaflet.VectorGrid/blob/a6f19adb8c89bac8061e09e0a547cebe90fa0c4f/src/Leaflet.VectorGrid.js#L113-L117

Sorry if I'm missing something or this is not the place to post this. I just wanted to know what happened with this feature.