Using only inline map fragment and nothing else throws exception due to element rendering variable add_image being undefined. This PR fixes it. Also addresses situation where at low zoom levels tiles past 180 deg meridian are not rendered due to missing tiles. Map alignment is still an issue. Reordered imports was caused by styling checker
This is small PR and I hope it's safe to merge.
Potential future todo: set up testing and deployment infrastructure including automatic deployment (bot as a unix service?) and automatic testing using data stored on locally hosted API server. Since you have two bots, one account could be simulating end user and other acts as normal bot.
Using only inline map fragment and nothing else throws exception due to element rendering variable
add_image
being undefined. This PR fixes it. Also addresses situation where at low zoom levels tiles past 180 deg meridian are not rendered due to missing tiles. Map alignment is still an issue. Reordered imports was caused by styling checkerThis is small PR and I hope it's safe to merge. Potential future todo: set up testing and deployment infrastructure including automatic deployment (bot as a unix service?) and automatic testing using data stored on locally hosted API server. Since you have two bots, one account could be simulating end user and other acts as normal bot.