Home Examples Charts Dashboard Projects Menu

Vue.js examples
Learn Vue.js

vue static map

Related course:
Fullstack Vue: The Complete Guide to Vue.js

A simple component to generate static google map.

Component name: vue-static-map

This component lets you add a static map (based on Google maps) to your vue app. You need a Google API key to use this component. You can add a route on top of the map like so:

vue static map

Requirements

1. Vue 2.X.X
2. vue-cli https://github.com/vuejs/vue-cli (for development only)

Usage

1. Install from npm

npm install vue-static-map

Or include in your html using the script tag


© vuejsexamples.net - Privacy Policy - Cookie Policy