LeafletPlayback
LeafletPlayback copied to clipboard
Like to use LineString too
Hey guys, I have got a couple of questions:
- I will like to use LineString instead of MultiPoints with this API, is this even possible? I tried changing the
geometry.type
in my data to LineString but all the lines changed to same color. I will like to retain the distinct colors that come with each track. - I want more data displayed in the popup like time, speed etc - I tried this also but could not manage to get it change as the markers move along the tracks (just like lat lang)
Every help is appreciated.
This is not currently possible. I'll accept a PR with this feature.
At least of the current release, if you set the geoJSON type to LineString, you get a nice polyline output.
"geometry": { "type": "LineString"