vue2-location-picker
Location Picker component for Vue.js 2
2,346
| Install | |
|---|---|
npm install vue2-location-picker |
|
| Latest Version: | 1.2.0 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | May 30, 2018 |
| Links: | npm |
Maintainer: buraktekin
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)
<script src="https://maps.googleapis.com/maps/api/js?key=API_KEY&libraries=places" async="" defer=""></script>
import * as LocationPicker from 'vue2-location-picker'
Vue.use(LocationPicker, {
installComponents: false, // If true, create it globally
})
<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
Related Packages
vue-better-google-places-autocomplete
Google Places auto completion for Vue.js with better user experience
2,022
7
vue-greenborn-map-selector
Selector de ubicación en mapa (Leaflet) para Vue 3, integrado con vue-greenborn-...
178
0
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.2.0 | ^2.1.0 | MIT | |
| 1.1.9 | ^2.1.0 | MIT | |
| 1.1.8 | ^2.1.0 | MIT | |
| 1.1.6 | ^2.1.0 | MIT | |
| 1.1.5 | ^2.1.0 | MIT | |
| 1.1.4 | ^2.1.0 | MIT | |
| 1.1.3 | ^2.1.0 | MIT | |
| 1.1.2 | ^2.1.0 | MIT | |
| 1.1.0 | ^2.1.0 | MIT | |
| 1.0.8 | ^2.1.0 | MIT | |
| 1.0.7 | ^2.1.0 | MIT | |
| 1.0.6 | ^2.1.0 | MIT | |
| 1.0.5 | ^2.1.0 | MIT | |
| 1.0.4 | ^2.1.0 | MIT | |
| 1.0.3 | ^2.1.0 | MIT | |
| 1.0.2 | ^2.1.0 | MIT | |
| 1.0.1 | ^2.1.0 | MIT | |
| 1.0.0 | ^2.1.0 | MIT |
