vue-google-maps-ui

A Google Map Component For Vue
2,365 41
Install
npm install vue-google-maps-ui
Latest Version:1.0.0
Vue:3
License:MIT
Last Updated:Sep 30, 2023
Links: GitHub  ·  npm
Maintainer: edisdev

🗺 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

Related Packages

vuejs3-google-maps

Google Map integration for VueJs

9,686 14
nuxt-google-maps

A Nuxt module with vue2-google-maps

2,407
vue-google-maps-address-autocomplete

Google Maps Address Autocomplete suggests street addresses to users as they type...

14,812 4
vue-gmaps

Vue.js plugin that allow search address and places using Google Maps API

12,991 115

Version History

Version Released Vue License
1.0.0 ^3.3.4 MIT