Expand description
§TileJSON
tilejson
is a crate for serializing/deserializing
TileJSON format —
an open standard for representing map metadata.
Use tilejson!
macro to instantiate a valid TileJSON
.
Use TileJSON::set_missing_defaults
to populate default values per spec.
Macros§
- tilejson
- Use this macro to create a
TileJSON
struct with optional values. Thetilejson!
macro can be used in several ways:
Structs§
- Bounds
- Center
- TileJSON
TileJSON
struct represents tilejson-spec metadata as specified by https://github.com/mapbox/tilejson-spec (version 3.0.0) Some descriptions were copied verbatim from the spec per CC-BY 3.0 license.- Vector
Layer - Each object describes one layer of vector tile data.