Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 2.35 KB

README.md

File metadata and controls

43 lines (34 loc) · 2.35 KB

Mapping_Earthquakes

Project Overview

The objective of this project is to gather earthquake GeoJSON data from the USGS API, create and explore interactive maps of earthquakes around the world.
The earthquake data is represented on the maps in relation to the tectonic plates’ location on the earth, and according to each event's magnitude.

Resources

Results

Create a Mapbox account, setup config.js and open index.html

To interact with the maps API the user have to visit mapbox.com, create a Mapbox account and retrieve the access token.

As shown below, the index.html calls for the Mapbox API key in the config.js file.

The user would have to save the token key in config.example.js and rename the file config.js:


To open the index.html file, open the command line, navigate to the main folder and on the command line, enter python -m http.server.

Link to Interactive Maps webpage

The deployed webpage is accessible at https://cedoula.github.io/Mapping_Earthquakes.

Interactive Maps Views

Streets view


Satellite view


Dark view