The location widget allows the user to display a map/ location on the front view of your jig.
The core structure includes: address or pathsData(the path from the start to the end point)
markersData - This property uses the coordinates (latitude and longitude) to set one or more marker(s) on the map
top and bottom - The titles component will be added to the top/ bottom of your widget
footer - Here the additional text with the format can be added
zoomLevel - Numeric value to set the zoom level of the map
The location widget can only be used on jigs of size 2x2, 2x4, 4x2, 4x4.
Location widget using address
Location widget with multiple markers
See the full example using static data in GitHub.
Our widget (4x2 view) displays a map with multiple markers by coordinates
Location widget displaying path
Our widget (4x4 view) displays a map with path by coordinates.
Examples: See the full example using static data in GitHub.