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 feature type into styleOptions, allow returned style array to contain functions #127

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: https://github.com/Leaflet/Leaflet.VectorGrid/issues/125

IvanSanchez commented 6 years ago

@tomchadwin This lacks documentation :-P

tomchadwin commented 6 years ago

Do I directly edit README and docs/vectorgrid-api-docs.html? Or is there some overly complex documentation process designed to intimidate outsiders?

IvanSanchez commented 6 years ago

For this I think the process is just editing the files.

There is an overly complex documentation process in place (based on leafdoc), which also involves manually copy-pasting stuff into vectorgrid-api-docs.html. Don't worry about that for now.

tomchadwin commented 6 years ago

I'll try to split this into two separate PRs, and tidy up in the process.