@w3geo/vue-place-search

Vue3 place search for Austria, using the BEV Kataster API.
1,493 1
Install
npm install @w3geo/vue-place-search
Latest Version:2.1.0
Vue:3
Last Updated:Mar 23, 2026
Links: GitHub  ·  npm
Maintainer: ahocevar

Vue Place Search

Vue3 place search for Austria, using the BEV Kataster API.

Usage

npm install @w3geo/vue-place-search

result event

<template>
  <PlaceSearch @result="showResult" />
</template>
<script setup>
  import { PlaceSearch } from '@w3geo/vue-place-search';

  function showResult(result) {
    console.log(result); // Output will be a GeoJSON feature
  }
</script>

usePlaceSearch composable for OpenLayers

Instead of the @result event, the usePlaceSearch() composable can be used to pass the search result location directly to the provided OpenLayers map instance, or to watch for new search results.

<script setup>
  import { usePlaceSearch } from '@w3geo/vue-place-search';
  // Your composable that provides an OpenLayers map:
  import { useMap } from './composables/useMap.js';

  const map = useMap();

  const { result } = usePlaceSearch(map);

  watch(result, value => {
    console.log(value);
  });
</script>

With this, the map view will automatically be centered on the result geometry, and the bounding box of the selected search result will be displayed on the map, if available.

Developing

To develop this plugin, an example has been set up in example/. To run the example with dynamically built plugin, run

npm run dev

Related Packages

vue-places

Places component is based on places.js for Vue 2.x.

2,892 106
vue-use-places-autocomplete

📍 Vue composable for Google Maps Places Autocomplete.

77,332 46
@appbaseio/reactivesearch-vue

A Vue UI components library for building search experiences

36,027 4,920
vuex-search

Vuex binding for client-side search with indexers and Web Workers

8,917 160
vue-advanced-search

Features: * Autocomplete search * Single select * Multiple select

8,693 11

Version History

Version Released Vue License
2.1.0 ^3.5.13
2.0.0 ^3.5.13
1.1.6 ^3.0.0
1.1.5 ^3.0.0
1.1.4 ^3.0.0