Used for questions about making polyline features
Questions tagged [polyline-creation]
325 questions
1
vote
1 answer
Leaflet converting MultiLineString to a Polygon
I have created a polyline encoding for the Ganges River. When I display this in Leaflet, it gives me a connecting line (meaning it is converting the Line into a polygon). How do I get rid of this red line.
PS - It shows correctly in "geojson.io…
KnightFix2020
- 63
- 4
1
vote
1 answer
Polylines setLatLngs
I am trying to give a polyline a new set of co ordinates from a server. When trying to use the .setLatLngs method to redraw the new line with updated co ordinates i get the error "Uncaught TypeError: a.setLatLngs is not a function". Am I using this…
Owen
- 63
- 8