This is the style repository for Antarctica vector tiles.
https://optgeo.github.io/antarctica-style/
git clone https://github.com/optgeo/antarctica-style
cd antarctica-style
npm install
Set up the development environment
npm start
The development environment will be launched at http://localhost:8080/.
-
After modifying the style, push it to the
main
branch. -
After a while, the
style.json
will be committed to thegh-pages
branch. -
If you access the GitHubPages URL, you will see the modified map. (You need to configure GitHubPages).
Example: https://optgeo.github.io/antarctica-style/
To change the color of the map, use layers, change the color code in the file.
For example, in background.yml looks like the following. The color of the ocean is rgb(161, 229, 252)
, so changing it to rgb(255, 0, 0)
will change ocean's color to red.
You can change it to red by changing it to rgb(255, 0, 0)
.
id: background
type: background
paint:
background-color: rgb(161, 229, 252)
- Uses tiles from https://github.com/optgeo/a-1.