我正在看这两个repos:
https://github.com/angular-ui/ui-leaflet
https://github.com/tombatossals/angular-leaflet-directive
我安装了ui-leaflet:bower install --save ui-leaflet
我添加了依赖项:['ui-leaflet', ...]
但是在浏览器的控制台中,我得到了这个:Controller 'leaflet', required by directive 'center', can't be found!
如何安装此指令?为什么它是必要的?
我认为这是第二个代码库,但我不知道如何安装它。
发布于 2016-04-27 17:53:51
问题是我还包含了googlemaps的指令...
我想要两张地图,一张传单和谷歌的。我意识到这样做太匆忙了…
https://stackoverflow.com/questions/36884149
复制相似问题