website logo
πŸ‘₯ Community🎯 Samples on GitHub🚦 System Status
πŸ’‘ Guides
πŸš€ Examples
πŸ• Developer Reference
⚑️ Changelog
πŸŽ₯ Video Library
Navigate through spaces
⌘K
Overview
Reference
Actions
Data
UI
Widgets
Docs powered by
Archbee
Reference
UI

jc-location

16min

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

ο»Ώ

instanceId (InstanceId | Expression)

when (Expression | boolean)

options (JCLocationOptions, required)

ο»Ώ

Sub Schemas

The schema defines the following additional types:

JCLocationOptions (Location Options)

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 (string | string)

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:

address (string)

pathsData (string | Coordinates[])

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:

pathsData (string)

pathsData (Coordinates[])

The object is an array with all elements of the type Coordinates.

markersData (string | 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:

markersData (string)

markersData (Coordinates[])

The object is an array with all elements of the type Coordinates.

isAnimationDisabled (string | boolean)

Define if map camera animation is disabled.

The object must be any of the following types:

isAnimationDisabled (string)

Default: false

zoomLevel (string | number)

Define initial zoom level of map camera.

The object must be any of the following types:

zoomLevel (string)

Default: 10

Coordinates (object)

Properties of the Coordinates object:

Property

Type

Required

Description

lat

number

true

ο»Ώ

lng

number

true

ο»Ώ

ο»Ώ

Updated 25 Sep 2023
Did this page help you?
PREVIOUS
jc-list
NEXT
jc-media-field
Docs powered by
Archbee
TABLE OF CONTENTS
instanceId (InstanceId | Expression)
when (Expression | boolean)
options (JCLocationOptions, required)
Sub Schemas
JCLocationOptions (Location Options)
address (string | string)
address (string)
pathsData (string | Coordinates[])
pathsData (string)
pathsData (Coordinates[])
markersData (string | Coordinates[])
markersData (string)
markersData (Coordinates[])
isAnimationDisabled (string | boolean)
isAnimationDisabled (string)
zoomLevel (string | number)
zoomLevel (string)
Coordinates (object)
Docs powered by
Archbee
Copyright Β© 2023 Jigx, Inc. All rights reserved. Terms of Service