The post discusses the process of translating OpenStreetMap data to an HTML5 canvas using Rust and WebAssembly. The author revamps an old project called Line Buddy and explains how they use OpenStreetMap data to create maps. They emphasize using Rust and WebAssembly for their improved data processing capabilities. The post

13m read timeFrom mary.codes
Post cover image
Table of contents
Table of ContentsSetting up the projectCreating a new project with wasm-packBuilding and testing WASM codeGetting map coordinatesCalling the Overpass APIWriting the Rust codeDrawing on the canvasProcessing ways and relationsDrawing all of the other map areasThe finished map

Sort: