使用ng-map(googlemaps)和usergrid后端问题

时间:2018-05-22 11:39:12

标签: angularjs google-maps ng-map usergrid

我正在开发一个网站(matchbus.tours),该网站使用:

  • Usergrid
  • ng-map和googlemaps显示带标记的地图
  • angularJS
  • 角路线

自2018年4月上次更新google地图以来,我发现该网站不再加载ng-map。

控制台出现以下错误:

map.js:86 Uncaught TypeError: g is not a function
    at Object.ju.f (map.js:86)
    at Array.<anonymous> (js?key=APIKEY…libraries=places:86)
    at js?key= APIKEY…ibraries=places:131
    at Object.<anonymous> (js?key= APIKEY…libraries=places:60)
    at js?key= APIKEY…ibraries=places:131
    at js?key= APIKEY…libraries=places:60
    at js?key= APIKEY…ibraries=places:131
    at Od (js?key= APIKEY…libraries=places:62)
    at Nd.xa (js?key= APIKEY…ibraries=places:131)
    at common.js:1
ju.f    @   map.js:86
(anonymous) @   js?key= APIKEY…libraries=places:86
(anonymous) @   js?key= APIKEY…ibraries=places:131
(anonymous) @   js?key= APIKEY…libraries=places:60
(anonymous) @   js?key= APIKEY…ibraries=places:131
(anonymous) @   js?key= APIKEY…libraries=places:60
(anonymous) @   js?key= APIKEY…ibraries=places:131
Od  @   js?key= APIKEY…libraries=places:62
Nd.xa   @   js?key= APIKEY…ibraries=places:131
(anonymous) @   common.js:1

我不明白这个问题。我知道,删除usergrid.js(https://github.com/apache/usergrid-javascript)包含,解决了问题,但我需要usergrid。

感谢您的帮助。

0 个答案:

没有答案