MapContent
Content of the app. More work flows will be added here.
Props
Name | Description | Type | Required | Default |
---|---|---|---|---|
shareLink | A link (URL) to share. | string | false | undefined |
state | State containing state of the scaffold. | object | false | undefined |
options | The options include APIs and Keys. | object | true | {} |
startingMap | New option to start the map in AC, FC or WholeBody. | string | false | "AC" |
useHelpModeDialog | To use help-mode-dialog when user clicks "Help". This option is available on Flatmap, MultiFlatmap, and Scaffold. When this is set to true , "Help" tooltips will be shown one by one. | boolean | false | false |
connectivityInfoSidebar | The option to show connectivity info in sidebar. Default is true . Set false to show as popup on map. | boolean | false | true |
annotationSidebar | The option to show annotation in sidebar. Default is true . Set false to show as popup on map. | boolean | false | true |
Events
Event Name | Description | Parameters |
---|---|---|
isReady | This event emit when the component is mounted. | - |
updateShareLinkRequested | This event emits when the share link is requested. | - |
trackEvent | This event triggers data tracking for Google Tag Manager (GTM) related to map interactions. | - |
mapLoaded | This event emit when the map is loaded. | - |
Methods
Method | Description | Parameters |
---|---|---|
isFullscreen | Function to check whether it is in fullscreen mode or not. | - |
onFullscreen | Function to toggle fullscreen. | fullscreenReq |
leaveFullscreen | Function to leave fullscreen mode. | - |
goFullscreen | Function to go to fullscreen mode. | - |
setCurrentEntry | Provide a way to set the current view, this is currently limited to setting view for flatmapm, multiflatmap or scaffold. In the case of the multiflatmap, it will not create a new entry and instead change the current entry by setting the state. | state |
openSearch | Open the sidebar with the specified facets and query. | facets , query |
flowMounted | Function to run when the component is mounted. | - |