Enum maptiler_cloud::TileSet [−][src]
pub enum TileSet {
}Expand description
The different types of tilesets that Maptiler Cloud supports
Variants
A contour map of the world Bytes returned will be a .pbf file
A (beta) map of the countries of the world Bytes returned will be a .pbf file
Shows hills as a transparent shaded relief Bytes returned will be a .png file
A map of land vs. not land Bytes returned will be a .pbf file
Land cover which stores what kinds of plants grow in specific areas Bytes returned will be a .pbf file
General purpose map format Bytes returned will be a .pbf file
Like MaptilerPlanet, but with extra data in only upper-level zooms Bytes returned will be a .pbf file
OpenMapTiles format Bytes returned will be a .pbf file
Same as OpenMapTiles, but in the WGS84 format Bytes returned will be a .pbf file
Maps for outdoor life like hiking, cycling, etc. Bytes returned will be a .pbf file
Satellite images Bytes returned will be a .jpg file
Satellite images but medium resolution from 2016 Bytes returned will be a .jpg file
Satellite images but medium resolution from 2018 Bytes returned will be a .jpg file
Contains terrain elevation data encoded into vector TIN polygons Bytes returned will be a quantized mesh file
Contains terrain elevation data encoded into RGB color model height = -10000 + ((R * 256 * 256 + G * 256 + B) * 0.1) Bytes returned will be a .png file
Specify your own custom TileSet
Fields of Custom
Implementations
Returns the endpoint that this tileset requires on the API request
For the satellite data tileset, the endpoint would be “satellite”
Returns the maximum zoom level that this tileset supports
The custom tileset variant has a maximum of 20 here, but it may be lower than that. Take care when using a custom tileset variant.
Returns the minimum zoom level that this tileset supports
The custom tileset variant has a minimum of 0 here, but it may be higher than that. Take care when using a custom tileset variant.
Returns the file extension that this tileset returns as a static &str
Example outputs are: “png”, “jpg”, “pbf”
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TileSet
impl UnwindSafe for TileSet
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more