Google map intergration

Hey there,

I tried installing this on my VSF instance but didn’t seem to work out. Has anyone else integrated his VSF store with Google Map API or used any modules for this? Any help would be appreciated.

Thanks :slight_smile:

Hi ktopouzi,
It seems that you are trying to integrate with an outdated fork of https://github.com/xkjyeah/vue-google-maps.
We integrated with xkjyeah/vue-google-maps and it works well for us.

Hi @adityasharma7. Thanks for your reply. I have tried to install the npm package on the root of the project and then include it in my index.js but that didn’t work out. Can you please guide me in some way, since you have done in before, to install this properly. I would really appreciate that!

I think you should stick to yarn

Just add dependency
“vue2-google-maps”: “^0.10.7”

run yarn command to install dependency

import the VueGoogleMaps in your Vue component
import * as VueGoogleMaps from 'vue2-google-maps'

start using <gmap-map/> and <GmapMarker/> tags to generate map.

Thank you so much for your help. Really appreciate it. That really worked :slight_smile:

1 Like