Expand description
The s2-tilejson Rust crate… TODO
Structs§
- Center
- Store where the center of the data lives
- Face
Bounds - Track the S2 tile bounds of each face and zoom
- Layer
Meta Data - Each layer has metadata associated with it. Defined as blueprints pre-construction of vector data.
- Mapbox
TileJSON Metadata - TileJSON V3.0.0
- Metadata
- S2 TileJSON Metadata for the tile data
- Metadata
Builder - Builder for the metadata
- Tile
Stats Metadata - Tilestats is simply a tracker to see where most of the tiles live
- Vector
Layer - Old spec tracks basic vector data
Enums§
- Draw
Type - 1: points, 2: lines, 3: polys, 4: points3D, 5: lines3D, 6: polys3D
- Encoding
- Store the encoding of the data
- Primitive
Shape - Primitive types that can be found in a shape
- Scheme
- Default S2 tile scheme is
fzxyDefault Web Mercator tile scheme isxyzAdding a t prefix to the scheme will change the request to be time sensitive TMS is an oudated version that is not supported by s2maps-gpu - Shape
Primitive Type - Arrays may contain either a primitive or an object whose values are primitives
- Shape
Type - Shape types that can be found in a shapes object. Either a primitive, an array containing any type, or a nested shape. If the type is an array, all elements must be the same type
- Source
Type - Check the source type of the layer
Type Aliases§
- Attribution
- Attribution data is stored in an object. The key is the name of the attribution, and the value is the link
- Layers
Meta Data - Each layer has metadata associated with it. Defined as blueprints pre-construction of vector data.
- LonLat
Bounds - Use bounds as floating point numbers for longitude and latitude
- Shape
- The Shape Object
- Tile
Bounds - Use bounds as u64 for the tile index range
- WMBounds
- Track the WM tile bounds of each zoom
[zoom: number]: BBox