Add in urlTemplate support of variables {z}, {x} and {0} interpreted like {0}, {1} and {2}.

Before now these variables were supported in some cases. Now they are supported always in both .metainso and sqlitedb.
No support in beanshell!
This commit is contained in:
ilasica 2015-02-20 15:55:30 +03:00
parent cd8736ee5b
commit 24e1bc3d3f

View file

@ -487,6 +487,7 @@ public class TileSourceManager {
if (name == null || (urlTemplate == null && !ignoreTemplate)) {
return null;
}
//As I see, here is no changes to urlTemplate
//if(urlTemplate != null){
//urlTemplate.replace("${x}", "{1}").replace("${y}", "{2}").replace("${z}", "{0}");
//}