0.0.92 • Published 4 months ago

vue3-openstreet-map v0.0.92

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

vue3-openstreet-map

A Simple Vue 3 Openlayers Map Picker & Geocoder (Openstreet Map based)

Features

  • Free to use (OpenLayers Map based)
  • Easy to use
  • Drag and drop marker
  • Search location
  • Reverse geocode
  • Adaptive

Prequisite

Installation

vue3-openstreet-map requires Node.js v10+ to run.

Install the dependencies and devDependencies and start the server.

npm i vue3-openstreet-map@latest --save

How to use

  1. Import the component
import { VueOpenMap } from "vue3-openstreet-map" 
  1. Import the style
import "/node_modules/vue3-openstreet-map/dist/style.css"
  1. Put to the 'components' object (for options API)
export default defineComponent({
    components: {
        VueOpenMap
    }
})
  1. Insert inside the <template>
<VueOpenMap :options="options" />

Options - coming soon

KeyTypeDescription
positionobject{ lat, lon, zoom }
position > latintegerLatitude number
position > lonintegerLongitude number
position > zoomintegerMap zoom size

and many more....

License

MIT

Free Software, Hell Yeah!

0.0.92

4 months ago

0.0.91

4 months ago

0.0.9

4 months ago

0.0.8

4 months ago

0.0.7

4 months ago

0.0.6

4 months ago

0.0.5

4 months ago

0.0.4

4 months ago

0.0.3

4 months ago

0.0.2

4 months ago

0.0.1

4 months ago