You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, charites init command will create a charites project named as <project_dir> as follows.
Options
--tilejson-urls <tilejson_urls> an URL for TileJSON.
--metadatajson-urls <metadatajson_urls> an URL for metadata.json.
--composite-layers a single YAML will be generated with multiple layers.
--header add http header for the tile authenticated by origin. (ex. --header "Origin: http://localhost:8080")
project-directory/
├── style.yml - root style file
├── config.yml - configuration file to manage all folder paths and necessary settings for producing style.json
├── layers/ - style.yml for layers
├── icons/ - original SVG icons folder for sprite
├── fonts/ - original font files folder for glyphs.
└── public/ - folder for the files that ready to deploy.
├── style.json
├── icons.json
├── icons.png
├── [email protected]
├── [email protected]
└── glyphs files(.pbf?) - sorry I need research what type of file used for glyphs.
version: version of charites used
serve:
port: 8080
style:
build:
yaml-path: ./style.yml
json-path: ./public/style.json
compact-output: false
sprite:
build:
icons-folder: ./icons
sprite-folder: ./public/sprite
name: icons
glyphs:
build:
fonts-folder: ./fonts
glyphs-folder: ./public/glyphs
The text was updated successfully, but these errors were encountered:
Initializing a project
First,
charites init
command will create a charites project named as<project_dir>
as follows.Options
--tilejson-urls <tilejson_urls>
an URL for TileJSON.--metadatajson-urls <metadatajson_urls>
an URL for metadata.json.--composite-layers
a single YAML will be generated with multiple layers.--header
add http header for the tile authenticated by origin. (ex.--header "Origin: http://localhost:8080"
)version: version of charites used serve: port: 8080 style: build: yaml-path: ./style.yml json-path: ./public/style.json compact-output: false sprite: build: icons-folder: ./icons sprite-folder: ./public/sprite name: icons glyphs: build: fonts-folder: ./fonts glyphs-folder: ./public/glyphs
The text was updated successfully, but these errors were encountered: