jekyll-leaflet
jekyll-leaflet copied to clipboard
Is it possible to customise the geojson objects (stroke colors, width ...) ?
My geojson file contains some custom properties in the features like "stroke":"#555555","stroke-width":4, to change the aspect of a path. I see in the the code that the full geojson object is added to the map in _addGeoJSONObjToMap, also the html debugger shows the correct values but my objects are still with the defaut style.
@davPo thanks for reporting this! I haven't tried custom CSS in a geoJSON object before, but I will attempt to customize a GeoJSON object and report back if possible. If it is not possible with the current jekyll-leaflet, I will try to add this as a feature.
any news so far?
@riccardoklinger thanks for reminding me — I’ll try to look at this next week and get back to you. Sorry for the delay