Followup from the recent PMTiles / Vector Tiles work: #1016
Our custom data layer supports various formats but they all end up converted into GeoJSON.
Sometimes - we end up with an extra data element called coordinateProperties. This is an extension of GeoJSON that's not really standard but is still widely recognized.
https://github.com/mapbox/geojson-coordinate-properties
The gist of it is: for each coordinate in the Array, you can look up a corresponding bunch of properties that go with that coordinate in another Array. It's pretty common for any kind of workout data:
Anyway we shouldn't just do the [object Object] thing here - we should actually make nodes that have those properties.
Followup from the recent PMTiles / Vector Tiles work: #1016
Our custom data layer supports various formats but they all end up converted into GeoJSON.
Sometimes - we end up with an extra data element called
coordinateProperties. This is an extension of GeoJSON that's not really standard but is still widely recognized.https://github.com/mapbox/geojson-coordinate-properties
The gist of it is: for each coordinate in the Array, you can look up a corresponding bunch of properties that go with that coordinate in another Array. It's pretty common for any kind of workout data:
Anyway we shouldn't just do the
[object Object]thing here - we should actually make nodes that have those properties.