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
While integrating a map on a page we discovered that markers don't work without a ng-repeat attribute.
For instance, this will not display any marker:
<mapboxmap-id="{{mapTemplate}}" scale-to-fitheight="400" width="100%"><markerng-repeat="page in pages" lat="{{place.latitude}}" lng="{{place.longitude}}"></marker></mapbox>
The only work-around I found is doing it like so:
<mapboxmap-id="{{mapTemplate}}" scale-to-fitheight="400" width="100%"><markerng-repeat="onePlace in [place]" lat="{{onePlace.latitude}}" lng="{{onePlace.longitude}}"></marker></mapbox>
Although it does work, it's only a work-around, and not a clean way of doing it. Maybe someone who knows the codebase better than I do can understand what's causing the bug.
The text was updated successfully, but these errors were encountered:
While integrating a map on a page we discovered that markers don't work without a ng-repeat attribute.
For instance, this will not display any marker:
The only work-around I found is doing it like so:
Although it does work, it's only a work-around, and not a clean way of doing it. Maybe someone who knows the codebase better than I do can understand what's causing the bug.
The text was updated successfully, but these errors were encountered: