Tag: maps
-
Map rendering with OSM and HTML5 canvas
This week I’m trying to get as much code done on the borrowed scenery game as possible – today, fixing the map rendering. I decided to load map tiles from OpenStreetMaps directly rather than using OpenLayers. This is done quite simply, accessing the millions of pre-rendered png files with URLs in this form: a.tile.openstreetmaps.org/z/x/y.png Where…