Giter Site home page Giter Site logo

Comments (9)

yangyanggu avatar yangyanggu commented on June 18, 2024

搜索组件都能出来说明自动导入没问题,你这是不是没有配置安全密钥,并且使用了自定义地图样式

from vue-amap.

bluemoon-i avatar bluemoon-i commented on June 18, 2024

1.搜索组件是需要配置安全密钥才能正常使用的,所以安全密钥肯定没问题。
2.我没有使用mapStyle属性

from vue-amap.

yangyanggu avatar yangyanggu commented on June 18, 2024

你换一个浏览器试一下看是不是浏览器兼容性出错

from vue-amap.

bluemoon-i avatar bluemoon-i commented on June 18, 2024

试了edge、chrome、Firefox,都是一样的结果

from vue-amap.

bluemoon-i avatar bluemoon-i commented on June 18, 2024

我在其他项目中地图是正常使用的,但是在现在这个项目就出现这样的问题。
图中打印信息“Frame buffer object is incomplete: 36054“,也许跟这个有关。

from vue-amap.

yangyanggu avatar yangyanggu commented on June 18, 2024

你可以看下具体报错的代码是哪一块,不然不知道是哪里报错了

from vue-amap.

bluemoon-i avatar bluemoon-i commented on June 18, 2024

1.我尝试了组件文档里的基础示例,这个Frame buffer object is incomplete: 36054的报错消失了,却仍然无法展示地图。另外,可以通过init正常拿到实例对象,这就很奇怪了
2.我尝试原生的高德地图,结果是正常展示的。

from vue-amap.

yangyanggu avatar yangyanggu commented on June 18, 2024

1.我尝试了组件文档里的基础示例,这个Frame buffer object is incomplete: 36054的报错消失了,却仍然无法展示地图。另外,可以通过init正常拿到实例对象,这就很奇怪了 2.我尝试原生的高德地图,结果是正常展示的。

你可以贴一段你的代码,我看看怎么回事,不应该这样

from vue-amap.

bluemoon-i avatar bluemoon-i commented on June 18, 2024

莫名其妙好了哈哈哈,不过还是谢谢你

from vue-amap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.