MatthewClarkMay / geoip-attack-map

Cyber security geoip attack map that follows syslog and parses IPs/port numbers to visualize attackers in real time.
Apache License 2.0
353 stars 203 forks source link

mapbox background map is not being displayed #4

Closed ToxicRoot closed 7 years ago

ToxicRoot commented 7 years ago

All data is processed normally, but the mapbox background map is not rendered to web page as shown on the screen in attach. I've tried to generate a new access token - that did solve the 401 error code issue, but now I get the 404 when JS is trying to access the mapbox url. img2 img1

MatthewClarkMay commented 7 years ago

As of January 31, Mapbox Editor has been taken offline, so I need to migrate the project to Mapbox Studio. I am busy with work right now, but I will resolve the issue this weekend.

ToxicRoot commented 7 years ago

Yes, this crossed my mind :) good luck with the new API! Thx for the effort!

amassi-network commented 7 years ago

I add I replace by

I add in but not sure it s necessary

and just change it var map = L.mapbox.map('map', 'mapbox.streets', { center: [lat, long], // lat, long zoom: 2 }); very simple but it s break my head 5 days

ToxicRoot commented 7 years ago

mapbox.streets to mapbox.dark ... to save the original 'dark' theme :) and you need your own API token, but that's not a problem

MatthewClarkMay commented 7 years ago

I had to select a MapBox plan before it would work again. Should be good now!