Fix microsoft tiles
This commit is contained in:
parent
044a586afa
commit
adffdd594f
1 changed files with 3 additions and 3 deletions
|
@ -8,11 +8,11 @@
|
|||
<tile_source name="GoogleMaps Satellite" url_template="http://khm1.google.com/kh/v=89&x={1}&y={2}&z={0}" ext=".jpg" min_zoom="7" max_zoom="20" tile_size="256" img_density="32" avg_img_size="18000"/> -->
|
||||
<tile_source name="GoogleMaps Terrain" url_template="http://mt3.google.com/vt/v=w2p.111&hl=en&x={1}&y={2}&z={0}" ext=".jpg" min_zoom="5" max_zoom="15" tile_size="256" img_density="32" avg_img_size="18000"/>
|
||||
|
||||
<tile_source rule="beanshell" name="Microsoft Maps" min_zoom="1" max_zoom="19" tile_size="256" img_density="16" avg_img_size="18000" ext="png"
|
||||
<tile_source rule="beanshell" name="Microsoft Maps" min_zoom="1" max_zoom="19" tile_size="256" img_density="16" avg_img_size="18000" ext=".png"
|
||||
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://" + "r" + "0" + ".ortho.tiles.virtualearth.net/tiles/" + "r" + eqt(z,x,y) + ".png" + "?g=45";}"/>
|
||||
<tile_source rule="beanshell" name="Microsoft Hybrid" min_zoom="1" max_zoom="19" tile_size="256" img_density="32" avg_img_size="18000" ext="jpg"
|
||||
<tile_source rule="beanshell" name="Microsoft Hybrid" min_zoom="1" max_zoom="19" tile_size="256" img_density="32" avg_img_size="18000" ext=".jpg"
|
||||
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://" + "h" + "0" + ".ortho.tiles.virtualearth.net/tiles/" + "h" + eqt(z,x,y) + ".jpg" + "?g=45";}"/>
|
||||
<tile_source rule="beanshell" name="Microsoft Earth" min_zoom="1" max_zoom="19" tile_size="256" img_density="32" avg_img_size="18000" ext="jpg"
|
||||
<tile_source rule="beanshell" name="Microsoft Earth" min_zoom="1" max_zoom="19" tile_size="256" img_density="32" avg_img_size="18000" ext=".jpg"
|
||||
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";}"/>
|
||||
|
||||
<tile_source name="ÖPNV Transit" url_template="http://tile.xn--pnvkarte-m4a.de/tilegen/{0}/{1}/{2}.png" ext=".png" min_zoom="1" max_zoom="18" tile_size="256" img_density="16" avg_img_size="18000"/>
|
||||
|
|
Loading…
Reference in a new issue