• Is it possible to make a GEOJSON line dashed? I load two geosjon files on a map and will make one line ‘dashed’.

    I have set a color to the line using color=”#ED230D”, this isn’t described in the options. Do I miss something?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter ccmp

    (@ccmp)

    I found a ‘dasharray’ option in the leaflet-line. That works also on geojson.

    [leaflet-line color=”red” weight=10 dasharray=”2,15″ addresses=”Halifax, Nova Scotia; Tanzania” classname=marching-ants]

    • This reply was modified 5 years, 5 months ago by ccmp.
Viewing 1 replies (of 1 total)

The topic ‘Possible to make geojson dashed line?’ is closed to new replies.