jw-location
The schema defines the following properties:
Property | Type | Required | Description |
type | widget.location | true | |
instanceId | InstanceId | Expression | false | |
options | Location Widget Options | true | |
Properties of the options object:
Property | Type | Required | Description |
address | string | string | false | Address of location -geocode string address to location. Valid formats are: (address string - city, street, etc) | (Latitude and Longitude) | (DMS Format) |
pathsData | string | Coordinates[] | false | Paths data - create one path from many points. First point from list is always the start destination. Last point from the list is always the end destination. There is a limit for paths showing on the map (10k). |
markersData | string | Coordinates[] | false | Markers data Instead of showing the address position, it’s possible to show many markers. There is a limit for markers showing on the map (10k). |
isAnimationDisabled | string | boolean | false | Define if map camera animation is disabled. |
zoomLevel | string | number | false | Define initial zoom level of map camera. |
footer | string | Expression | TextWithFormat | TextLocale | false | Footer text of widget |
footerAlign | enum<string> | false | Footer text align |
placeholders | object[] | false | Widget specific placeholders config |
top | false | Top part of widget | |
bottom | false | Bottom part of widget |
Address of location -geocode string address to location. Valid formats are: (address string - city, street, etc) | (Latitude and Longitude) | (DMS Format)
The object must be any of the following types:
Paths data - create one path from many points. First point from list is always the start destination. Last point from the list is always the end destination. There is a limit for paths showing on the map (10k).
The object must be any of the following types:
The object is an array with all elements of the type Coordinates.
Markers data Instead of showing the address position, it’s possible to show many markers. There is a limit for markers showing on the map (10k).
The object must be any of the following types:
The object is an array with all elements of the type Coordinates.
Define if map camera animation is disabled.
The object must be any of the following types:
Default: false
Define initial zoom level of map camera.
The object must be any of the following types:
Default: 10
Footer text of widget
Footer text align
This element must be one of the following enum values:
- left
- right
- center
Widget specific placeholders config
The object is an array with all elements of the type object.
The array object has the following properties:
Top part of widget
Bottom part of widget
The schema defines the following additional types:
Properties of the Coordinates object:
Property | Type | Required | Description |
lat | number | true | |
lng | number | true | |