WebMapViewer.CenterChanged

From Xojo Documentation

Event


WebMapViewer.CenterChanged(Latitude as Double, Longitude as Double)

New in 2011r2

Supported for all project types and targets.

Called when the center of the map is changed, either by the user or the code.

Example

Update a WebLabel with map coordinates when it is moved:

MapStatus.Text = "Latitude: " + Format(MapViewer1.Latitude, "-0.000000000000") + _
" Longitude: " + Format(MapViewer1.Longitude, "-0.000000000000")