Module widgetry::tools[][src]

Modules

Loading large resources requires different strategies on native and web. Both cases are wrapped up as a State that runs a callback when done.

Structs

Store a cached key/value pair, only recalculating when the key changes.

Loads a JSON, bincoded, or raw file, then deserializes it

Draw freehand polygons

Draw freehand PolyLine

Display a message dialog.

Use this with FileLoader to just read raw bytes without any deserialization.

Utilities for reflecting the current map and viewport in the URL on the web. No effect on native.

Functions