Expand description
§martin-core
The library providing the basic building blocks for Martin.
§Features
- tiles
- mbtiles
- pmtiles
- cog
- postgres tables
- postgres functions
- resources
- sprites
- fonts
- styles
§License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
§Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Modules§
- cache
- Cache utilities.
- config
- Configuration utilities.
- fonts
- Font processing and serving for map tile rendering.
- sprites
- Sprite processing and serving for map tile rendering.
- styles
- Style processing and serving for map tile rendering.
- tiles
- Tile sources Tile management and representation for Martin tile server.
Macros§
- from_
cache_ value - Extracts typed data from cache values with panic on type mismatch.
- get_
cached_ value - Retrieves a value from cache if present, returning None on cache miss.
- get_
or_ insert_ cached_ value - Gets a value from cache or computes and inserts it on cache miss.