diff --git a/config/site/tile_sources.xml b/config/site/tile_sources.xml index 1a16d19ec2..63f59fc38a 100644 --- a/config/site/tile_sources.xml +++ b/config/site/tile_sources.xml @@ -15,6 +15,8 @@ url_template="public static String eqt(int z, int x, int y) {static final char[] NUM_CHAR = { '0', '1', '2', '3' };char[] tn = new char[z];for (int i = z - 1; i >= 0; i--) {int num = (x % 2) | ((y % 2) << 1);tn[i] = NUM_CHAR[num];x >>= 1;y >>= 1;}return new String(tn);} String getTileUrl(int z, int x, int y) { return "http://" + "a" + "0" + ".ortho.tiles.virtualearth.net/tiles/" + "a" + eqt(z,x,y) + ".jpg" + "?g=45";}"/> + + @@ -22,6 +24,8 @@ + +