WebMapViewer.AddLocation

From Xojo Documentation

Method

WebMapViewer.AddLocation(Location As WebMapLocation)

New in 2011r2

Supported for all project types and targets.

Adds a WebMapLocation object to the map, indicated by a pin.

Example

Add a location to the map:

Var location As New WebMapLocation("Fenway Park, Boston, MA")
WebMapViewer1.AddLocation(location)