Hi all!
With the following code I show all my POIs on Gmaps. When I click on a POI the name of the POI is shown. That works fine. Now I would like to add a Doubleclick or Longclick to perform an action for each POI.
I tried it with a "MarkerLongClick" statement (because "MarkerClick" exists) but apparently this doesn´t exist. I don´t find the correct code (but the click event should work nevertheless).
Thanks for help!
With the following code I show all my POIs on Gmaps. When I click on a POI the name of the POI is shown. That works fine. Now I would like to add a Doubleclick or Longclick to perform an action for each POI.
I tried it with a "MarkerLongClick" statement (because "MarkerClick" exists) but apparently this doesn´t exist. I don´t find the correct code (but the click event should work nevertheless).
Thanks for help!
Sub ShowMap
....
gmap.AddMarker(Lat1, Lon1, Name)
....
End Sub
Sub map_MarkerLongClick (SelectedMarker As Marker) As Boolean
Msgbox("YES","")
Return True
End Sub