staticmap 0.4.0

Tile based static map image renderer.
Documentation

docs crate

StaticMap

StaticMap is a library for rendering images of tile based maps.

Features

  • Render a map to a PNG image.
  • Draw features on a map, such as:
    • Lines
    • Circles
    • PNG icons

Documentation

API Documentation.

Examples

See the /examples folder for different examples on how to use the library.

Examples can be run with cargo run --example <example name>.

Results:

Line

line

Circle

circle

Icon

icon