Skip to content
/ snapr Public

Library enabling a flexible and frictionless way to render snapshots of maps with overlayed geometries.

License

Notifications You must be signed in to change notification settings

c1m50c/snapr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snapr

Snapr (/ˈsnæp ər/) is a library that enables a flexible and frictionless way to render snapshots of maps with overlayed geometries.

Examples

snapr

  • 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.
  • SVGs - 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 usual TileFetcher::Individual variant.
  • Stateful - Example showing how to implement the IndividualTileFetcher trait to enable a TileFetcher that keeps track of state.
  • Tokio - Example showing how to use the tokio feature flag to build an asynchronous TileFetcher.

License

Licensed under the MIT License found at the root of the repository.

About

Library enabling a flexible and frictionless way to render snapshots of maps with overlayed geometries.

Topics

Resources

License

Stars

Watchers

Forks