WebMapViewer - getting the tag of a suggested location

In X2026r1.1, the documentation shows that I can create a tag for each webmaplocation I add to the map.

How can I get the value of this tag when a user clicks on the location pointer on a map?

I can get lastlocationindex back in the LocationSelected event of the map object, but can’t see how I can get the tag for the webmaplocation from this integer.

I’d be grateful if for any pointers for how to do this or where I should look next.

Thanks

Steve

I don’t use the WebMapViewer (instead using my own GraffitiMapViewer), but I’d think it’s just this:

Sub LocationSelected(location As WebMapLocation) Handles LocationSelected
  MessageBox( location.Tag )
End Sub

If I’m incorrect, sorry for the noise.

Many thanks Anthony, Very much signal, not noise.