MapTaste
v0.0.3Named MapLibre tastes: lint styles with 15 rules, get tokens/examples, and preview places.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_tastes
List named maptaste schools: tokens, composition caps, and the plate (roads, type, extrusion, camera). Pick one before checking.
taste_tokens
Tokens, composition caps, plate stage, and the rules sentence for one named taste. Same payload as `maptaste tokens --taste <name> --format json`.
| Parameter | Type | Description |
|---|---|---|
taste * | string |
taste_example
A minimal MapLibre style that scores 100 under one taste. Same payload as `maptaste example --taste <name>`. Copy it instead of inventing a palette.
| Parameter | Type | Description |
|---|---|---|
taste * | string |
check_taste
Check a MapLibre style document against one named taste. Reads the style only: not features, not a legend, and not a rendered image. Defaults to ink-paper. The score is a taste score. coverage.statement says whether any taste errors block, how many values are unresolved, and that this is not a MapLibre validation. Unresolved values are MT014, not a pass. --pack global aliases ink-paper; --pack cn aliases cn-metro.
| Parameter | Type | Description |
|---|---|---|
pack | string | |
style | object | |
styleJson | string | |
taste | string |
apply_taste
Return the <taste>.tokens.json and <taste>.style.json bodies for one taste. Pass `out` to also write those files, same as `maptaste apply --taste <name>`.
| Parameter | Type | Description |
|---|---|---|
taste * | string | |
out | string |
validate_style
Basic style structure validation (not the full MapLibre schema)
| Parameter | Type | Description |
|---|---|---|
style * |
preview_place
Open a hosted place preview; place may be English, Chinese, or other local names (proper nouns). Optional lang (e.g. zh, en, ja) shapes caption language. Optional taste selects a named school.
| Parameter | Type | Description |
|---|---|---|
lang | string | BCP 47 language tag for caption language |
ll | string | lng,lat |
mode | ||
place | string | |
taste | string | |
theme | ||
zoom | number |
preview_info
Locate the local MapLibre showcase