2 ms·
Yeah, it's 17,179,869,184 tiles for the entire earth 4^(N-1), where N is number of zoom levels, which is 18. Granted, a great deal of these redirect to their so
by rbranson 16y ago
Yeah, it's 17,179,869,184 tiles for the entire earth 4^(N-1), where N is number of zoom levels, which is 18. Granted, a great deal of these redirect to their solid blue ocean tile.
- codesink 16y agoEDIT: "Each tile is 256 pixels square and the number of tiles across at each zoom level is given by this formula: Math.pow(2, zoom)"; ops I missed the word "across" :) How did you come up with that number? The sum loop that follows reports 524287 tiles total. #include <stdio.h> #include <math.h> int main(void) { int i; double tot = 0; for(i = 0; i <= 18; ++i) tot += exp2(i); printf("tot %f\n", tot); return 0; }