feat: check for addon updates, add attribution to photo location map

This commit is contained in:
David Ralph
2021-09-07 20:42:56 +01:00
parent b86e73f2fc
commit 2984e162cc
7 changed files with 53 additions and 10 deletions

View File

@@ -37,7 +37,6 @@ export function gradientStyleBuilder({ type, angle, gradient }) {
};
}
// source: https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#ECMAScript_.28JavaScript.2FActionScript.2C_etc..29
export function lon2tile(lon, zoom) {
return (Math.floor((lon + 180) / 360 * Math.pow(2, zoom)));