Customize

Show Map at Spacer

Summary

Display a map at Blank space field.

How to use

Place a Blank space field where you want the map to be displayed. Set an Element ID in the Blank space field.

Also, obtain the API key in advance from the Google Maps site. To obtain an API key, please refer to the instructions

https://developers.google.com/maps/documentation/javascript/get-api-key?hl=ja

provided.

Parameters

Set Spacer, API Key, Address or Latitude/Longitude, Zoom, and Marker Name.

Spacer

Specify the Blank space field to display the map.

API Key

Enter the API key of Google Maps.

You can obtain the API key from the Google Maps site.

https://cloud.google.com/maps-platform/?hl=ja https://developers.google.com/maps/documentation/javascript/get-api-key?hl=ja

Address or Latitude/Longitude

Specify the position to be displayed on the map.

When specifying an address, you can provide detailed information down to the block number, or you can use a general address such as the name of the city or town. For well-known buildings, such as the “Tokyo Skytree,” it is possible to display only the name of the building. This is one of the features of Google Maps.

If you specify a postal code here, the location of the address for that postal code will be displayed. This is also a feature of Google Maps, so whether it can be displayed depends on whether Google Maps supports it. For example, postal codes ending in 00 that do not include a town area cannot be displayed. (As of February 2019)

When specifying a location using latitude and longitude, separate the latitude and longitude values with a comma like follows:

34.687315, 135.526201

If the field includes address information, you can use an expression to pass its value. If the fields are divided into “Prefecture”, “Address 1”, and “Address 2”, specify as follows:

${Prefecture} ${Address 1} ${Address 2}

Zoom

Enter the zoom level.

Please refer to the following according to the Google Maps documentation.

  • 1: World
  • 5: continent
  • 10: City
  • 15: Street
  • 20: Building

https://developers.google.com/maps/documentation/javascript/tutorial?hl=ja#MapOptions

Marker Name

Set the name of the marker. If omitted, if “Address or Latitude/Longitude” is specified as an address, the address will become the marker name.

Restrictions

Cannot be used in the record list view.

Displaying of Two or More Maps

If you execute “Show Map at Spacer” twice with the same action number, it is considered the same map, and only one map will be displayed. In the second action, the currently displayed map position will not be changed.

If you execute the “Show Map at Spacer” action with different action numbers, each map will be displayed separately.

If you want to increase the markers, instead of repeatedly executing “Show Map at Spacer,” use the “Add Marker to Map” action.