WebMapViewer.APIKey
From Xojo Documentation
Property (As String )
aWebMapViewer.APIKey = newStringValue
or
StringValue = aWebMapViewer.APIKey
New in 2017r1
Supported for all project types and targets.
or
StringValue = aWebMapViewer.APIKey
New in 2017r1
Supported for all project types and targets.
Specifies the APIKey to use with Google Maps.
Notes
Although the APIKey property existed before 2017r1, those older versions are not compatible with current versions of the Google Maps API. As an alternative for older versions you can try using the Google Maps JavaScript API in a WebHTMLViewer.
Google Maps runs in a sort of demo mode without an API Key. Visit the Google Maps API Key page to get your own API Key.
Sample Code
Always set your API key, usually in the Open event:
Me.APIKey = "<YourGoogleMapsAPIKey>"
See Also
Google Maps Platform site