Open Street Map
Parameters (Blade)
| Key | Default value | Type | Available values | Description |
|---|---|---|---|---|
|
pins
|
[] | array | - | An array containing one array for each location marked on the map. Must contain latitude (lat) and longitude (lng). Can contain a tooltip and an icon. |
|
startPosition
|
[] | array | - | Sets the start location of the map. Must contain latitude (lat), longitude (lng) and a zoom value between 5-20 |
|
mapStyle
|
default | string | - | Theming of the map (pale, dark, color, default) |
|
height
|
100vh | string | - | A css height value including unit (px, vh, %) |
|
fullWidth
|
false | boolean | - | True or false, sets the width of the element. |
|
expanded
|
false | boolean | - | True or false, sets the default expanded value of the sidebar. |
|
id
|
string | - | The DOM id of the component. | |
|
classList
|
[] | array | - | Array containing wrapping classes array |
|
attributeList
|
[] | array | - | Array containing keys and values rendered as attributes |