Open luisfio1 opened 10 months ago
Hi @luisfio1,
this is issue somehow related to: https://github.com/Raruto/leaflet-elevation/issues/273#issuecomment-1777340192
In your example loading a local GPX.file the way points are apparently not supported.
This is the message that appears in the console:
"control.js:328 Unsopperted GeoJSON feature geometry type:Point"
Is there any option to include them?
that example make use of the addData()
function which is a bit lower level in the execution flow than the load()
function:
I have tried to add the points with the options:
waypoints: true, wptLabels: true,
but it doesn't seem to accept them.
That's where they are currently in use:
For your convenience, I recommend that you take some functions such as _loadLayer() as a reference and alter them to your liking (it is nothing more than utility function for build a standard L.GeoJSON object).
Then (within the example) you can insert your customization from here 👇
Or at least I'd start experimenting from there..
👋 Raruto
In your example loading a local GPX.file the way points are apparently not supported.
I have tried to add the points with the options:
but it doesn't seem to accept them.
This is the message that appears in the console:
Is there any option to include them?
Thanks