Leaflet + GeoJson = problem with style

المشرف العام

Administrator
طاقم الإدارة
I got my first leaflet + geojson project partly working! (even the popup with content from the geojson file!)

but I still have a problem with style

the geojson (export from mapbox) file has point, polygon etc in it including fields like fill, fill=opacity etc

I would like to use that styling in my project other that the standard style (blue)

Can someone give me some direction how to use the style fields within the geojson file in my leaflet map

thanksbc



أكثر...
 
أعلى