Vue / Nuxt自定义Google地图标记弹出窗口

时间:2020-01-16 12:36:13

标签: popup maps nuxt.js

我正在尝试为vue / nuxt制作自定义Google Map组件。这个想法是为该库制作一个自定义的弹出式完全记录的类:https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf

我搜索了很多东西,看到了这个混合:https://github.com/xkjyeah/vue-google-maps

这可能有用,但是我无法修复的google对象有问题。 您能解释一下为什么在该项目中未定义google吗?

我有这样的东西:

import { gmapApi } from 'vue2-google-maps'
computed: {
    google: gmapApi
},

谢谢, 我仍在尝试解决此问题-并回答我自己的问题。

0 个答案:

没有答案