-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Few days ago, I noticed that markers weren't displaying anymore (I may have changed something)
I don't know why and now, I want to fix this problem.
So in my case, I have an angular controller in which I init mapbox with my access token.
My map is displaying well, and I can a display a marker or more than one (without an ng-repeat of course).
So when a user load my page, I directly make an ajax request to get my object containing my markers.
and when I fill the $scope.markers with the data I retrieve from my server, nothing happen.
What did I miss ? it was working so it can't be too hard to solve.
Thank you.
PS: if I use the native method to add a marker it's working.
(ex: L.marker([38.913184,-77.031952]).addTo(mapLeaflet))
EDIT: In fact, every angular content I try to append inside the is not working.
For example:
// Not working.
// Working.
This is totally confusing..