This repository manages Mapbox Stylefile for the applicaiton.
These sprite files were created by Mapbox Studio. However, some layers of style file under unvt
folder were designed by United Nation Vector Tile Toolkit
.
Download the following repositories under the directory of icons
.
mkdir icons
cd icons
git clone https://github.com/mapbox/maki.git
git clone https://github.com/nawasco/water-icons.git
git clone https://github.com/narwassco/mapbox-street-icons.git
git clone https://github.com/narwassco/mapbox-satellite-icons.git
git clone https://github.com/nawasco/mapbox-stylefiles.git
cd mapbox-stylefiles
npm i
npm run sprite
npm i @unvt/charites -g
- Live preview
charites serve charites/style-unvt.yml
charites serve charites/style-unvt-building.yml
charites serve charites/style-unvt-building-water.yml
charites serve charites/style-unvt-building-sewer.yml
charites serve charites/style-bing-aerial.yml
charites serve charites/style-bing-aerial-water.yml
charites serve charites/style-bing-aerial-sewer.yml
- build
npm run build
Please configure your icons and output direcoties settings in config.js.
Once you are ready all the stylefiles and sprite files under docs
directory. You can push it to Github repository.
Then, make docs
folder as Github pages.