A Web Map from Scratch
This static map was made from OpenStreetMap tiles with 8 lines of code: You can use this in your own notebooks by importing the function: How does this code work? Let's find out, step by step. Most web maps, including OpenStreetMap, use the Web Mercator system, exposing map data as fixed-size square images (e.g. 256×256). Here's the only tile available at the lowest zoom level \`0\`, covering the whole world: On the next zoom level, we have 4 tiles covering the same area as the parent one but more deta