mapurl(
mapurl(
ADDRESS
,
CITY
,
STATE
,
ZIP
,
COUNTRY
)

The mapurl( function returns a URL to display a map location.

Parameters

This function has five parameters:

address – street address to be displayed.

city – city to be displayed.

state – state to be displayed.

zip – zip code to be displayed.

country – country to be displayed. This parameter is optional, and is currently ignored (only US addresses will work at this time).

Description

This function returns a URL for displaying a map location. The most common usage for this function is in a Web Browser Object.

For example, suppose you have a mailing list database that contains US addresses. This example shows how to use the mapurl( function to display an address.

When you click on a different address, or edit the address, the map will update.

See Also

- city( -- looks up the name of a city associated with a US zip code.
- cityzip( -- returns the lowest zip code associated with a city.
- cityzips( -- returns a list of zip codes associated with a city.
- county( -- returns the name of the county associated with a US zip code.
- openmapwindow -- opens a window displaying a map of a location.
- openwebmap -- opens a web browser window displaying a map of a location.
- selectzipdistancetool -- selects records near the current record, based on zip codes.
- state( -- returns the name of the state associated with a US zip code.
- stateabbreviations( -- returns a list of US state abbreviations.
- statelookup( -- converts a two letter abbreviation for a US state into the full state name.
- statename( -- converts a two letter abbreviation for a US state into the full state name.
- uspssecondaryunits( -- returns a list of USPS (United States Postal Service) secondary suffix designation abbreviations.
- uspsstreetsuffixes( -- returns a list of USPS street suffix abbreviations.
- zipdistance( -- calculates the distance between two zip codes.
- ziplatitude( -- returns the latitude of a US zip code.
- ziplongitude( -- returns the longitude of a US zip code.

History

Version | Status | Notes
10.0 | New | New in this version.