AQX question
Posted: Sun Jun 10, 2012 12:35 pm
Hi,
I would like to define an AQX file for [***] tiles.
In my application I calculate the tile url like in the code-snipped below, how can I define this in aqx syntax ( especially the xBase logic !)
I would like to define an AQX file for [***] tiles.
In my application I calculate the tile url like in the code-snipped below, how can I define this in aqx syntax ( especially the xBase logic !)
Code: Select all
String url = [***]/images/amap/
String xBase=""
if (Z > 13) {
xBase = Integer
.toString(
X)
.substring(0, Z - 12)
+ "/";
}
url.append(Z)
.append("/")
.append(xBase + Z)
.append("_")
.append(X)
.append("_")
.append(Y)
.append(".png");
return url.toString();