# Utilities

*MAP | Display Google Map

## Invocation

CALL "*map", street$, city$, state$, country$

Where:

street$ | Required | Input | Street address
city$ | Optional | Input | City
state$ | Optional | Input | State/Province
country$ | Optional | Input | Country

## Description

This routine will use the Google Maps interface to display a popup window on the screen with the address specified.

While generally you pass four arguments to this routine, technically you can pass up to five parameters to define the address as long as the logical order is from the smallest to the largest aspect of the address. Omitted portions, such as Country or State/Province, will be estimated by Google Maps; therefore, if you provide a state of "California", you do not need the country as the system will assume "USA".

Typical Calling Sequence:

> CALL "*map", "25 Centurian Blvd.", "Markham", "Ontario", "Canada"

#### Note:
As with all other Google Maps interfaces, the system global variable %GoogleAPIKey$ will need to be set to your API key as supplied by Google.

(The Map utility was added in PxPlus 2022.)