The line gets drawn, with an arrow pointing the wrong way. It points out from the start point, where I want it to point out from the end point. Exactly like the example.js code from the repo.
I'm using polygon, because I couldn't get Polyline or Linestring to draw on the map.
Hi
I've got a line showing up with an arrow, but ny arrow points the wrong way. What have I done wrong?
Here is the geojson for the line:
And my onEachFeature:
The line gets drawn, with an arrow pointing the wrong way. It points out from the start point, where I want it to point out from the end point. Exactly like the example.js code from the repo.
I'm using polygon, because I couldn't get Polyline or Linestring to draw on the map.
What have I done wrong?