IMPORTANT: If you plan to use this library, then please remember to follow OpenStreetMap's Licence/Attribution Guidelines.
A small C++ library for WebAssembly which generates a map using OpenStreetMap's raster tiles.
I have been working on React bindings for Dear Imgui and I need a C++ map component. This library will enable me to build one. That said, I figured someone else might find it useful.
Based on my research, it is battle-tested and is the only library I got to work in WebAssembly without getting too many headaches.
I came across: https://github.com/StephanGeorg/staticmaps , a brilliant library for Node.js. After porting it to the browser, replacing Sharp with Jimp, I decided to port it to WASM.
- proper error handling/recovery, preferably with a retry mechanism
- tests
- throttling
- multithreading support (once I figure out how to tame pthreads in emscripten)
- coroutines (once I figure out how to make them work)