Skip to content

optgeo/antarctica-style

Repository files navigation

antarctica-style

This is the style repository for Antarctica vector tiles.

Demo

https://optgeo.github.io/antarctica-style/

Instructions for style customization.

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/.

Deploy map for preview

  1. After modifying the style, push it to the main branch.

  2. After a while, the style.json will be committed to the gh-pages branch.

  3. If you access the GitHubPages URL, you will see the modified map. (You need to configure GitHubPages).

Example: https://optgeo.github.io/antarctica-style/

Color customization

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)

Reference

日本語訳はこちら

About

This is the style repository for Antarctica vector tiles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages