open-map

Configuration options
Core structure
Other options
Examples and code snippets
Open map action button

title: New York
type: jig.default
header:
type: component.jig-header
options:
height: small
children:
type: component.image
options:
source:
uri: >
https://images.unsplash.com/photo-1485871981521-5b1fd3805eee
?w=800&auto=format&fit=crop&q=60
&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8bmV3JTIweW9ya3xlbnwwfHwwfHx8MA%3D%3D
children:
- type: component.entity
options:
children:
- type: component.entity-field
options:
isMultiline: true
label: ' '
value: >
New York City comprises 5 boroughs sitting where the Hudson River meets the Atlantic Ocean.
At its core is Manhattan, a densely populated borough that’s among the world’s major commercial,
financial, and cultural centers.
Its iconic sites include skyscrapers such as the Empire State Building and sprawling Central Park.
Broadway theater is staged in neon-lit Times Square.
actions:
- children:
# Add the action to open the modal to select the map app on the device,
# with an address to navigate to.
- type: action.open-map
options:
title: Go to New York
address: New York, USOpen map from a list (onPress)

Open the map from a secondary action button

Jig header with open-map action icon

Last updated
Was this helpful?