inocan-group / vue3-google-map

A set of composable components for easy use of Google Maps in your Vue 3 projects.
https://vue3-google-map.com
MIT License
280 stars 57 forks source link

How do I use google.maps.Point? #37

Closed MachariaK closed 3 years ago

MachariaK commented 3 years ago

In case someone gets stuck in the future, I have done the following;

Added

// eslint-disable-next-line no-unused-vars
/* global google */

on the main.js file. My problems were being compounded by eslint.

Then in the component where I use the map, const google = window.google;

I don't know whether this is the best way to handle it but it works for me. Also, I have switched to @fawmi/vue-google-maps and I don't know whether it would work with this.

yankeeinlondon commented 3 years ago

Please read the docs and if that doesn't answer your question you'll then need to look at the code. This is an open source problem @MachariaK not a commercial support team. I'm very open to you submitting a PR if you want to improve the documentation or the code after you've gone through this exercise.

I know it would be nice if someone was there to answer questions like this but you should not expect that in open source. This is a learning opportunity for you should you decide to take it.