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

From Xojo Documentation

Revision as of 00:10, 12 November 2020 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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")