vue2-location-picker
Location Picker component for Vue.js 2
Works with Vue 2.*
Install & basic usage
$ npm install vue2-location-picker --save
Import Vue2LocationPicker (Recommended)
Vue
<template> <location-picker v-model="location" :options="options"> </location-picker></template> <script>import {LocationPicker} from 'vue2-location-picker' // if installComponents is false export default { name: 'App', components: {LocationPicker}, // if installComponents is false data: function() { return { location: { lat: 41.0082376, lng: 28.97835889999999 }, options: { // is not required map: {/** other map options **/}, marker: { /** marker options **/ }, autocomplete: { /** autocomplete options **/ } }, } }}</script>
License
vue2-location-picker is open-sourced software licensed under the MIT license