MapLocation.Constructor(address As String, tag As Variant = Nil)

From Xojo Documentation

Constructor

MapLocation.Constructor(address As String, tag As Variant = Nil)

New in 2020r2

Creates a MapLocation at the address and with the tag passed.

Notes

If address passed is not valid, an InvalidArgumentException will occur.

Sample Code

Create a location for the White House:

Var theWhiteHouse As New MapLocation("1600 Pennsylvania Ave NW")