Module tools

Source

Modulesยง

choose_something ๐Ÿ”’
colors ๐Ÿ”’
lasso ๐Ÿ”’
load ๐Ÿ”’
Loading large resources requires different strategies on native and web. Both cases are wrapped up as a State that runs a callback when done.
popup ๐Ÿ”’
prompt_input ๐Ÿ”’
screenshot ๐Ÿ”’
url ๐Ÿ”’
warper ๐Ÿ”’

Structsยง

Cached
Store a cached key/value pair, only recalculating when the key changes.
ChooseSomething
Choose something from a menu, then feed the answer to a callback.
ColorLegend
ColorScale
DivergingScale
FileLoader
Loads a JSON, bincoded, or raw file, then deserializes it
FutureLoader
Lasso
Draw freehand polygons
PolyLineLasso
Draw freehand PolyLine
PopupMsg
Display a message dialog.
PromptInput
Prompt for arbitrary text input, then feed the answer to a callback.
RawBytes
Use this with FileLoader to just read raw bytes without any deserialization.
URLManager
Utilities for reflecting the current map and viewport in the URL on the web. No effect on native.

Functionsยง

get_clipboard
grey_out_map ๐Ÿ”’
open_browser
set_clipboard
Only works on native