Closed Radhakrishanan closed 8 years ago
This is simply not a feature in the library. However, you can easily do this yourself. Add a polyline GeoJSON layer yourself. Then, don't turn on the points in LeafletPlayback.
Hi hallahan, I got what was am expecting i use "type": "LineString" instead of "type": "MultiPoint",
Now i would like to ask one i.e, in our marker popup show geojson latlan but i want to show speed on it, how i can do ?
Thank you so much ,
I need to draw line on leaflet playback map instead of circle, i try following code but didn't work well.
L.Playback = L.Playback || {};
L.Playback.TracksLayer = L.Class.extend({ initialize: function (map, options) { var layer_options = options.layer || {};
}); My Json coords are below,
var tillicum=[{'type': 'Feature','geometry': {'type': 'MultiPolygon','coordinates': [ [ 79.825108,11.958093 ],[ 79.826233,11.957887 ],[ 79.826267,11.957808 ], ] }, 'properties': { 'title': 'tillicum', 'path_options': { 'color': 'red' }, 'time':[ 1468905535000,1468905595000,1468905597000,],'speed':[13.5023626],'altitude':[158.33] },}]