# vue2-location-picker

> Location Picker component for Vue.js 2

Latest version **1.2.0** (published 2018-05-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue2-location-picker
pnpm add vue2-location-picker
yarn add vue2-location-picker
bun add vue2-location-picker
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2018-05-30 |
| First published | 2018-05-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 4.0.0 |
| Dependencies | 0 |
| Unpacked size | 9.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Burak Tekin |
| Maintainers | buraktekin |
| Keywords | map, google map, autocomplete, location, location picker |

## Links

- npm: https://www.npmjs.com/package/vue2-location-picker
- Repository: https://github.com/TekinBurak/vue2-location-picker
- Homepage: https://github.com/TekinBurak/vue2-location-picker#readme
- Issues: https://github.com/TekinBurak/vue2-location-picker/issues
- npm.io page: https://npm.io/package/vue2-location-picker

## Recent versions

- 1.2.0 (latest) — 2018-05-30
- 1.1.9 — 2018-05-29
- 1.1.8 — 2018-05-25
- 1.1.6 — 2018-05-25
- 1.1.5 — 2018-05-25
- 1.1.4 — 2018-05-25
- 1.1.3 — 2018-05-25
- 1.1.2 — 2018-05-25
- 1.1.0 — 2018-05-24
- 1.0.8 — 2018-05-24
- 1.0.7 — 2018-05-24
- 1.0.6 — 2018-05-24
- 1.0.5 — 2018-05-24
- 1.0.4 — 2018-05-24
- 1.0.3 — 2018-05-24
- … 3 more at https://npm.io/package/vue2-location-picker/versions

## README

# vue2-location-picker
[![NPM](https://nodei.co/npm/vue2-location-picker.png)](https://nodei.co/npm/vue2-location-picker/)


[![npm](https://img.shields.io/npm/v/vue2-location-picker.svg)](https://www.npmjs.com/package/vue2-location-picker)
[![npm](https://img.shields.io/npm/dt/vue2-location-picker.svg)](https://www.npmjs.com/package/vue2-location-picker)
[![npm](https://img.shields.io/npm/dm/vue2-location-picker.svg)](https://www.npmjs.com/package/vue2-location-picker)
[![npm](https://img.shields.io/npm/l/vue2-location-picker.svg)](http://opensource.org/licenses/MIT)

Location Picker component for Vue.js 2


**Works with Vue 2.***

#### Install & basic usage
```bash
$ npm install vue2-location-picker --save
```
#### Import Vue2LocationPicker **(Recommended)**

```html
  <script src="https://maps.googleapis.com/maps/api/js?key=API_KEY&libraries=places" async="" defer=""></script>
```

```js
import * as LocationPicker from 'vue2-location-picker'
Vue.use(LocationPicker, {
    installComponents: false, // If true, create it globally
})
```

```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](http://opensource.org/licenses/MIT)

---
_Source: https://npm.io/package/vue2-location-picker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
