I using this code to load data from geojson file to this mapbox map:
var mapTooltips = L.mapbox.map('map-tooltips', 'mapbox.streets')
.setView([54.00366,-2.547855], 6);
var featureLayer = L.mapbox.featureLayer()
.loadURL('https://www.mapbox.com/mapbox.js/assets/data/stations.geojson')
.addTo(mapTooltips);
The problem:
Using this URL from mapbox as a test, the markers appears on the map perfectly
https://www.mapbox.com/mapbox.js/assets/data/stations.geojson
But When I use the same file but from another server, example:
https://s3.amazonaws.com/web-app-cdata/MapaFel/stations.geojson
The markers doesnt appears, doesnt work.
Using the mapbox link:
Using the S3 link:
I want to mention, the S3 link have full access. In theory can be accessb anyone
Any ideas?