Previously, everything was functioning well when the data was sourced from a static factory. However, now the data is being retrieved through an AJAX call ($http
) from a remote server and for unknown reasons, markers are not appearing on the map.
Check out a working example here
If I uncomment the $http
and switch to dynamic data instead of static data, the markers fail to display. Even though the variable markers
is correctly populated with data, it does not reflect on the map.
This situation bears some resemblance to this problem