WebMapLocation.MoveTo

From Xojo Documentation

Method

WebMapLocation.MoveTo(Latitude As Double, Longitude As Double)

New in 2011r2

Supported for all project types and targets.

Moves a location to the passed Latitude and Longitude. If there is a corresponding marker on the WebMapViewer, it is also moved.


Method

WebMapLocation.MoveTo(Address As String)

New in 2011r2

Supported for all project types and targets.

Moves a location to the passed Address. If there is a corresponding marker on the WebMapViewer, it is also moved.

Example

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