angularjs – Angular google maps – ng-repeat

前端之家收集整理的这篇文章主要介绍了angularjs – Angular google maps – ng-repeat前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试使用Angular Google Maps( http://angular-ui.github.io/angular-google-maps/)在循环(ng-repeat)中加载多个地图,但收到以下错误

angular-google-maps: could not find a valid center property

下面是代码,storeOwners是从rest API检索的,store.center是一个返回的对象,如下所示:

center: "{"latitude":-33.87787,"longitude":18.49352}"

抱歉这个fomatting

猜你在找的Angularjs相关文章