Block: Map
The
Map
block is used to display an interactive 2D map.MapConfig
Name | Type | Required | Description |
---|---|---|---|
kind |
"Map" |
Yes | |
bounds |
Bounds | No | |
placeMarker |
PlaceMarker | No |
Bounds
Name | Type | Required | Description |
---|---|---|---|
bottomLeft |
LatLong | Yes | |
topRight |
LatLong | Yes |
LatLong
Name | Type | Required | Description |
---|---|---|---|
latitude |
number |
Yes | |
longitude |
number |
Yes |
PlaceMarker
Name | Type | Required | Description |
---|---|---|---|
title |
string |
Yes | |
text |
string |
Yes | |
ok |
string |
Yes | |
cancel |
string |
Yes |