On click LineString data

Hi,
I imported a GPX track into a map component and I drew the track LineString.

I need to click on a point of the LineString to get some informations : LAT, LON and ID of the point clicked.
Through the ID I could retrive other data like altitude ( I imported altitude data from GPX in a list).

There is no standard method to do this with LineString component.
Is there a way/extension/workaround to do this ?

Thanks

A LineString is just a list of coordinates. What you can do with it is described here> Maps

You might find

useful and

and

I am aware of one GPX extension that might help you get the information you need

Thank you
I already checked theese links.
So there is no way to click a Linestring point and to get info about that point..........

Use can enable the infobox, and set/get information for the infobox.

As in the Django example, you can add a marker for each coordinate with the information for that specific point.

ok, but I can't get info clicking a point on the lineString

This could work.
I need to check how many times needed to draw almost 500 markers.......

Thanks to all gave me an answer

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.