Open source project displaying live aircrafts, ships or trackers on 2D/3D map. Browse through the data based on a particular aircraft, airline, airport, tracker or vessel to search through the database or see extensive statistics. Can use ADS-B in SBS1 format (dump1090, Radarcape,...), VRS, VA (VATSIM, IVAO whazzup.txt, phpvms,...), ACARS (acarsdec, acarsdeco2), APRS, AIS as datasource.
I am trying to add a curve line between markers. I have a set of markers that are linked to specific markers using lines. I need to change that line into curves in Mapbox. Tried with the turf package also, which was not connecting the markers properly.
Either way of the following is ok:
If it is possible to create a source layer in Mapbox studio and use it on our map. (That needs to be curved irrespective of the origin and destination points)
If it is possible to curve the lines, using any of the package available like Turf etc..,
var start = turf.point([-122, 48]); var end = turf.point([-77, 39]); var greatCircle = turf.greatCircle(start, end, { npoints: 100 }); arc.push(greatCircle.geometry.coordinates); route.features[0].geometry.coordinates = arc;
Thanks.
I am trying to add a curve line between markers. I have a set of markers that are linked to specific markers using lines. I need to change that line into curves in Mapbox. Tried with the turf package also, which was not connecting the markers properly. Either way of the following is ok:
If it is possible to curve the lines, using any of the package available like Turf etc..,
var start = turf.point([-122, 48]); var end = turf.point([-77, 39]); var greatCircle = turf.greatCircle(start, end, { npoints: 100 }); arc.push(greatCircle.geometry.coordinates); route.features[0].geometry.coordinates = arc;
Thanks.