You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 11, 2020. It is now read-only.
My map is defined as: <ng-map id="{{box.id}}_map" center="{{box.center}}"></ng-map>
Ng.getMap( "4342342_map" ) can however not return this map, because in addMap the mapCtrl.map.id is undefined. I could debug so far, but I don't know how to fix this to be honest. I guess the expression is not being evaluated.
var addMap = function(mapCtrl) {
if (mapCtrl.map) {
var len = Object.keys(mapControllers).length;
mapControllers[mapCtrl.map.id || len] = mapCtrl;
}
};
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My map is defined as:
<ng-map id="{{box.id}}_map" center="{{box.center}}"></ng-map>
Ng.getMap( "4342342_map" ) can however not return this map, because in addMap the mapCtrl.map.id is undefined. I could debug so far, but I don't know how to fix this to be honest. I guess the expression is not being evaluated.
The text was updated successfully, but these errors were encountered: