Giter Club home page Giter Club logo

antarctica-style's Introduction

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

日本語訳はこちら

antarctica-style's People

Contributors

naogify avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.