v3-gmaps

Lightweight, typed, Google Maps components for Vue 3
7,824 11
Install
npm install v3-gmaps
Latest Version:1.0.1
Vue:3
License:MIT
Last Updated:Jul 11, 2025
Links: GitHub  ·  npm
Maintainer: xon52

v3-gmaps

This is a lightweight, fully typed library to simplify the use of Google Maps in Vue3 🤏🗺️🧩

For the (original) Vue 2 version check out x5-gmaps 💪

Guide / Demo / Tutorials

Installation

# npm
npm install v3-gmaps
# yarn
yarn add v3-gmaps
# pnpm
pnpm add v3-gmaps

Setup

This plugin can be installed like any Vue plugin:

import { createApp } from 'vue';
import App from './App.vue';
import gmaps from 'v3-gmaps';

// Optional stylesheet needed for showing errors and the Popup component
import 'v3-gmaps/dist/style.css';

const app = createApp(App);
app.use(gmaps, { key: 'YOUR_GOOGLE_MAPS_API_KEY' });
app.mount('#app');

Usage

<template>
  <!-- The map component requires a container with a defined height -->
  <div style="height: 500px; width: 100%">
    <gm-map>
      <gm-marker :position="{ lat: -27, lng: 153 }" />
    </gm-map>
  </div>
</template>

<script setup>
import { gmMap, gmMarker } from 'v3-gmaps';
</script>

License

This project is licensed under the MIT License - see the LICENSE file for details

Authors

Support

Related Packages

x5-gmaps

A lightweight Google Maps plugin for Vue 2

17,315 101
googlemaps-vue3

Google Maps Javascript Library Api For Vue.js 3

2,235 17
vue-better-google-places-autocomplete

Google Places auto completion for Vue.js with better user experience

2,022 7
vue2-gmap-custom-marker

vue 2 google map custom marker component allowing display custom html content on...

97,753 133
vue3-gmap-custom-marker

vue 3 google map custom marker component allowing display custom html content on...

17,577 4

Version History

Version Released License
1.0.1 MIT
1.0.0 MIT
0.1.9 MIT
0.1.8 MIT
0.1.7 MIT