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
Debugging your directive the coords array is empty. Instead If I remove the $timeout the path works. The problem is that I am fetching the path dynamically from an API and the building it.
Tried with $digest and $apply and also added $watch in the directive with no result..
Any help is appreciated, thanks
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to build a path using
<ol-path coords={{map.path}}></ol-path>
and my controller looks like this:Debugging your directive the coords array is empty. Instead If I remove the
$timeout
the path works. The problem is that I am fetching the path dynamically from an API and the building it.Tried with
$digest
and$apply
and also added$watch
in the directive with no result..Any help is appreciated, thanks
The text was updated successfully, but these errors were encountered: