Giter VIP home page Giter VIP logo

ui-map-baidu's People

Contributors

anypossiblew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ui-map-baidu's Issues

demo启动后进行访问,出现问题

grunt server启动demo后,出现以下错误,请问是什么原因?是最新的百度地图不兼容了吗?

TypeError: Cannot set property 'Po' of undefined
at Ja.x.extend.enableScrollWheelZoom (getscript?v=2.0&ak=kp3ODQt4pkpHMW2Yskl2Lwee&services=&t=20160121161406:1)
at initMap (ui-map.js:139)
at ui-map.js:105
at Scope.$broadcast (angular.js:12181)
at mapbaiduLoadedCallback (ui-map.js:263)
at Object.window.BMap.apiLoad as KU
at getscript?v=2.0&ak=kp3ODQt4pkpHMW2Yskl2Lwee&services=&t=20160121161406:1
at getscript?v=2.0&ak=kp3ODQt4pkpHMW2Yskl2Lwee&services=&t=20160121161406:1(anonymous function) @ angular.js:9383(anonymous function) @ angular.js:6825Scope.$broadcast @ angular.js:12183mapbaiduLoadedCallback @ ui-map.js:263window.BMap.apiLoad @ api?v=2.0&ak=kp3ODQt4pkpHMW2Yskl2Lwee&callback=mapbaiduLoadedCallback:1(anonymous function) @ getscript?v=2.0&ak=kp3ODQt4pkpHMW2Yskl2Lwee&services=&t=20160121161406:1(anonymous function) @ getscript?v=2.0&ak=kp3ODQt4pkpHMW2Yskl2Lwee&services=&t=20160121161406:1
VM373:1 Uncaught TypeError: Cannot read property 'fc' of undefined

地图缓存设置无效,切换路由之后依然实例化了一个 Map 对象

你好,非常感谢你写的地图组件,我在使用中遇到了一个问题:将 uiMapCache 设置为 true, 但切换路由之后发现还是重新实例化了一个 Map 对象,并且往这个新的 Map 对象中添加 Marker 也没有任何作用了,不知这是因为什么?

研究了一下源代码,好像没有发现 cache map 对象的语句,但找到了检测 cache 和读取 cache 的部分,请问这算是一个 bug 吗?

不引入jquery的情况下地图初始化失败

下载 http://anypossiblew.github.io/ui-map-baidu 安装运行后可重现:

TypeError: Cannot read property 'Ub' of undefined
    at La.w.extend.wn (getscript?v=2.0&ak=kp3ODQt4pkpHMW2Yskl2Lwee&services=&t=20150827150751:1)
    at La.w.extend.ae (getscript?v=2.0&ak=kp3ODQt4pkpHMW2Yskl2Lwee&services=&t=20150827150751:1)
    at initMap (ui-map.js:127)
    at ui-map.js:105
    at m.$get.m.$broadcast (angular.js:16038)
    at mapbaiduLoadedCallback (ui-map.js:263)
    at Object.window.BMap.apiLoad [as HT] (api?v=2.0&ak=kp3ODQt4pkpHMW2Yskl2Lwee&callback=mapbaiduLoadedCallback:1)
    at getscript?v=2.0&ak=kp3ODQt4pkpHMW2Yskl2Lwee&services=&t=20150827150751:1
    at getscript?v=2.0&ak=kp3ODQt4pkpHMW2Yskl2Lwee&services=&t=20150827150751:1

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.