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
Besides you can use the click event then branch to two options and work on the one the user selects.
(consider it double-click because there you are also clicking twice, aren't you _)
Sounds like you're compiling with a version of android prior to honeycomb.
In the IDE find the 'configure paths' option and then select a newer version of android.jar.
So I updated the Android version. Now I get this error:
Parsing code. Error
Error parsing program.
Error description: Unknown type: webviewextras
Are you missing a library reference?
Occurred on line: 157
Dim MapViewerExtra As WebViewExtras