WebMapViewer.GoToLocation

From Xojo Documentation

Method

WebMapViewer.GoToLocationLocation(Location As WebMapLocation)

New in 2011r2

Supported for all project types and targets.

Centers the map on the passed WebMapLocation.

Example

Centers the map on the specific location:

Var location As New WebMapLocation("Fenway Park, Boston, MA")
MapViewer1.GoToLocation(location)