vue-google-maps-ui

1.0.0 • Public • Published

🗺 Vue Google Maps UI

Install via npm

npm install vue-google-maps-ui --save

Install via yarn

yarn add vue-google-maps-ui

Import Component

Global Register

// main.js file
import GoogleMap from 'vue-google-maps-ui'
...
...

app.component('Googlemap', GoogleMap)

Locale Register For Options API

  <script>
    import GoogleMap from 'vue-google-maps-ui'

    export default {
      components: {
        GoogleMap
      }
    }
  </script>

Usage

<template>
  <Googlemap
    ...props
    ...events
  />
</template>

Props

<template>
  <Googlemap
    apiKey=""
    disabledSearch=""
    id=""
    inputClass=""
    width=""
    height=""
    drawingMode=""
    autocomplete=""
    currentAddress=""
    location=""
    language=""
    circles=""
    polygons=""
    polylines=""
    rectangles=""
    markers=""
    mapStyleOption=""
    loaderOptions=""
    drawingManagerOptions=""
    drawingControlOptions=""
  />
</template>

Events

<template>
  <Googlemap
    @change-address=""
    @update-circle=""
    @update-polygon=""
    @update-polyline=""
    @update-rectangle=""
    @update-marker=""
  />
</template>


Documentions

Package Sidebar

Install

npm i vue-google-maps-ui

Weekly Downloads

31

Version

1.0.0

License

MIT

Unpacked Size

765 kB

Total Files

11

Last publish

Collaborators

  • edisdev