Blog post update required

Blog Post on Custom Base Maps

makes use of tilemap.url tilemap.options.attribution etc. but the these variables names have changed since this blog was posted, but i'm sure many are still looking to it as a guide. The new variable names have 'map' prepended as documented here

The below code works while the example code in the above blog does not and will result in head bashing.

map.tilemap.url: "{z}/{x}/{y}.png?key=<APIKEY>"
map.tilemap.options.attribution: "&#xA9; [OpenMapTiles](|&#xA9; [OpenStreetMap contributors]("
map.tilemap.options.maxZoom: 18

Oops. Thanks for letting us know @Rob_wylde. I have updated the blog post accordingly.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.