@w3geo/vue-place-search
Version:
Vue3 place search for Austria, using the [BEV Kataster](https://kataster.bev.gv.at/) API.
9 lines (8 loc) • 416 B
TypeScript
/**
* @param {import('ol/Map.js').default} [map] OpenLayers map instance.
* If provided, the map's view will be centered on the search result geometry.
* @returns {{result: import('vue').ShallowRef<import('../index.js').PlaceItem | null>}}
*/
export function usePlaceSearch(map?: import('../../node_modules/ol/Map.js').default): {
result: import('vue').ShallowRef<import('../index.js').PlaceItem | null>;
};