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
- Use this macro to create a
TileJSON
struct with optional values. Thetilejson!
macro can be used in several ways:
Structs
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.- Each object describes one layer of vector tile data.