anvaka / mars

Map of Mars
https://anvaka.github.io/mars/
MIT License
28 stars 1 forks source link

Map of Mars

This is an interactive map of Mars: https://anvaka.github.io/mars/

map of mars

Details

The map was made from a publicly available digital elevation model. Maximum resolution of the model is 200 meters per pixel.

I converted the model into 8 bit, and uploaded it into MapBox studio. The uncorrected labels come from the Gazetteer of Planetary Nomenclature.

To add colors to the map, I had to patch mapbox-gl-js library. The patch is not supposed to have high reusability quality, but might serve as an inspiration for a long time feature request solution on main mapbox-gl repository.

Patronage

If you like this work please consider sponsoring the project:

Your support will be used to pay for MapBox hosting services and further development of this project ❤️.

Local development

npm install
npm start

Note: You'd have to use your own MapBox token in order to build the project. Simply create a file in src/token.js with the following content:

export const MAPBOX_TOKEN = '... your mapbox token ...';

License

The source code is licensed under MIT license.