From 03fe6e68a77a9f63c6453a78dabbe36f4e469b41 Mon Sep 17 00:00:00 2001 From: marqqs Date: Mon, 3 Sep 2012 21:38:14 +0300 Subject: [PATCH] Update config/site/tile_sources.xml Added two overlay maps: public transport map openptmap.org and fire hydrants map openfiremap.org --- config/site/tile_sources.xml | 4 ++++ 1 file changed, 4 insertions(+) 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 @@ + +