A Location Block allows a user to insert a Google Map with settings for map type and zoom level. Optional text fields are available above and below the map when published. A location block can be used all by itself in a SAM or used with other Blocks to create a richer SAM experience.
Settings
The settings view of the block allows for all parameters to be entered.
Block Preview
Block Preview displays the block as it will appear in the SAM
Code
Code displays how the JSON is written as an additional view for programmers.
Address
Enter the exact address, city, zip code, or landmark. When entered, it will display the Latitude and Longitude of that location. Optionally, you can enter the Latitude and longitude directly into their respective fields if known. Click Block Preview will display the map as it will look when published.
Top Text
Enter the text that will display above the map when displayed. Use the Markdown controls to adjust text; size, color, bold, italics, strikethrough, underline, lists, or tables. See the Markdown Block for additional information.
Bottom Text
Enter the text that will display below the map when displayed. Use the Markdown controls to adjust text; size, color, bold, italics, strikethrough, underline, lists, or tables. See the Markdown Block for additional information.
Background Color
Background color changes the background of this block to any color chosen by the picker or inserting a HEX, RGB, or color name: in this field:
Zoom Level
The Zoom Level slider allows the user to set the level of view that will be viewed in the SAM when published. Click Block Preview will display the map as it will look when published.
Map Type
Allows the user to select the type of map they want to be displayed when published:
- Roadmap: Displays the default road map view. This is the default map type.
- Satellite: Displays Google Earth satellite images.
- Hybrid: Displays a mixture of normal and satellite views.
- Terrain: Displays a physical map based on terrain information.
Height
Allows the user to define the height of the block within the SAM.
Padding
Padding allows for the content to be manipulated within its block on all sides by entering a percentage or pixel value.
Comments
0 comments
Please sign in to leave a comment.