jekyll-leaflet icon indicating copy to clipboard operation
jekyll-leaflet copied to clipboard

Is it possible to customise the geojson objects (stroke colors, width ...) ?

Open davPo opened this issue 4 years ago • 3 comments

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 avatar Jun 27 '20 14:06 davPo

@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.

DavidJVitale avatar Jul 07 '20 16:07 DavidJVitale

any news so far?

riccardoklinger avatar Sep 24 '20 09:09 riccardoklinger

@riccardoklinger thanks for reminding me — I’ll try to look at this next week and get back to you. Sorry for the delay

DavidJVitale avatar Sep 24 '20 23:09 DavidJVitale