Issue 447 (relief map source). Bug fix
This commit is contained in:
parent
4acf88380d
commit
3b202f03c8
2 changed files with 4 additions and 1 deletions
|
@ -188,7 +188,7 @@ public class TileSourceManager {
|
|||
return def;
|
||||
}
|
||||
try {
|
||||
return Integer.parseInt(value);
|
||||
return Integer.parseInt(val);
|
||||
} catch (NumberFormatException e) {
|
||||
return def;
|
||||
}
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
<tile_source name="NavigationDebug" url_template="http://ec2-184-73-15-218.compute-1.amazonaws.com/6700/256/{0}/{1}/{2}.png" ext=".png" min_zoom="1" max_zoom="18" tile_size="256" img_density="16" avg_img_size="18000"/>
|
||||
<tile_source name="OpenPisteMap" url_template="http://openpistemap.org/tiles/contours/{0}/{1}/{2}.png" ext=".png" min_zoom="5" max_zoom="17" tile_size="256" img_density="32" avg_img_size="18000"/>
|
||||
|
||||
<tile_source name="Relief" url_template="http://www.maps-for-free.com/layer/relief/z{0}/row{2}/{0}_{1}-{2}.jpg" ext=".jpg" min_zoom="1" max_zoom="12" tile_size="256" img_density="32" avg_img_size="24000"/>
|
||||
|
||||
|
||||
<tile_source name="MTB Map CZ" url_template="http://tchor.fi.muni.cz:8080/mtbmap_tiles/{0}/{1}/{2}.png" ext=".png" min_zoom="7" max_zoom="16" tile_size="256" img_density="32" avg_img_size="18000"/>
|
||||
|
||||
<tile_source name="Yandex RU" url_template="http://vec01.maps.yandex.ru/tiles?l=map&v=2.15.0&x={1}&y={2}&z={0}" ext=".jpg" min_zoom="1" max_zoom="18" tile_size="256" img_density="16" avg_img_size="18000" ellipsoid="true"/>
|
||||
|
|
Loading…
Reference in a new issue