Identify Show First Control
On map click, identifies features and runs the first menu action. No visible UI. Needs identify nodes on the dataset (see Identify).
Props
| Prop | Description | Type | Required | Default Value |
|---|---|---|---|---|
mapId | string | false | -- | |
dragId | string | false | -- | |
btnWidth | number | false | 40 | |
position | 'top-left', 'top-right', 'bottom-left', 'bottom-right' | false | 'bottom-right' | |
controlVisible | boolean | false | true |
No extra props.
Events: none.
Vue
vue
<script setup lang="ts">
import { Map } from '@hungpvq/vue-map-core';
import { IdentifyShowFirstControl, ComponentManagementControl } from '@hungpvq/vue-map-dataset';
</script>
<template>
<Map>
<IdentifyShowFirstControl />
<ComponentManagementControl />
</Map>
</template>React
tsx
<IdentifyShowFirstControl />
<ComponentManagementControl />