14 releases (5 breaking)
new 0.6.1 | Oct 28, 2024 |
---|---|
0.6.0 | Oct 24, 2024 |
0.5.0 | Oct 21, 2024 |
0.4.6 | Oct 21, 2024 |
0.1.0 | Oct 3, 2024 |
#70 in Geospatial
2,064 downloads per month
51KB
1K
SLoC
Snapr
Snapr (/ˈsnæp ər/) is a library that enables a flexible and frictionless way to render snapshots of maps with overlayed geometries.
Examples
- Open Street Maps - Collection of binaries using an OSM tile fetcher.
- Point - Example showing how to draw a point geometry.
- Line - Example showing how to draw a line geometry.
- Line String - Example showing how to draw a line string geometry.
- Polygon - Example showing how to draw a polygon geometry.
- Labels - Example showing how to label a point geometry.
- SVG - Example showing how to draw an SVG on top of a point geometry.
- Batch - Example showing how to use a
TileFetcher::Batch
, as opposed to the usualTileFetcher::Individual
variant. - Stateful - Example showing how to implement the
IndividualTileFetcher
trait to enable aTileFetcher
that keeps track of state.
License
Licensed under the MIT License found at the root of the repository.
Dependencies
~13MB
~231K SLoC