WebMapViewer.DoubleClick

From Xojo Documentation

Event


WebMapViewer.DoubleClick(Latitude As Integer, Longitude As Integer)

New in 2011r2

Supported for all project types and targets.

Called when the user double-clicks on the map at the point Latitude, Longitude.


Example

This example drops a pin where the user double-clicks on the map:

Var newLocation As New WebMapLocation(Latitude, Longitude)
newLocation.Animated = True
MapViewer1.AddLocation(newLocation)