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/' + | return '/maptiles/' + | ||
zoom + '/' + normalizedCoord.y + '_' + | zoom + '/' + normalizedCoord.y + '_' + | ||
normalizedCoord.x + '.jpg'; | normalizedCoord.x + '.jpg'; | ||
}, | }, | ||
- | tileSize: new google.maps.Size( | + | tileSize: new google.maps.Size(128, 256), |
maxZoom: 4, | maxZoom: 4, | ||
minZoom: 1, | minZoom: 1, |
Revision as of 09:26, 3 April 2015