WebMapLocation.Constructor(Latitude as Double, Longitude as Double, Tag as Variant = Nil)

From Xojo Documentation

Constructor
WebMapLocation.Constructor(Latitude as Double, Longitude as Double, [Tag as Variant = Nil])

New in 2011r2

Creates a WebMapLocation from the passed latitude and longitude. Tag is an optional parameter for identifying locations.

Example

Show the specified location:

Var location As New WebMapLocation(38.8977, -77.0366, "TheWhiteHouse")
MapViewer1.GoToLocation(location)
MapViewer1.Zoom = 19