Template:Fragoria Map
From FragoriaWiki
(Difference between revisions)
Line 12: | Line 12: | ||
return null; | return null; | ||
} | } | ||
- | var bound = Math.pow( | + | var bound = Math.pow(2, zoom); |
return '/maptiles/' + zoom + '/' + normalizedCoord.y + '_' + normalizedCoord.x + '.jpg'; | return '/maptiles/' + zoom + '/' + normalizedCoord.y + '_' + normalizedCoord.x + '.jpg'; | ||
}, | }, |
Revision as of 03:27, 5 April 2015