jc-location
The schema defines the following properties:
Property | Type | Required | Description |
type | component.location | true | ο»Ώ |
instanceId | InstanceId | Expression | false | ο»Ώ |
when | Expression | boolean | false | ο»Ώ |
options | JCLocationOptions | true | ο»Ώ |
The schema defines the following additional types:
Properties of the JCLocationOptions 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. |
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
Properties of the Coordinates object:
Property | Type | Required | Description |
lat | number | true | ο»Ώ |
lng | number | true | ο»Ώ |
ο»Ώ