<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Dear all,<div><br></div><div>I understand this is more a GeoExplorer matter but maybe you can help...</div><div><br></div><div>I would like to add a XYZ layer as a basemap so I've changed my settings accordingly.</div><div>The problem is that I cannot solve the z/x/y url pattern, in particular I should have (my guess, since the tiles goes on the other side of the equator) a negative y. Here is my settings:</div><div><br></div><div><div><font face="monospace, monospace" size="1">{</font></div><div><font face="monospace, monospace" size="1">    "source": {"ptype": "gxp_olsource"},</font></div><div><font face="monospace, monospace" size="1">    "type": "<a href="http://OpenLayers.Layer.XYZ">OpenLayers.Layer.XYZ</a>",</font></div><div><font face="monospace, monospace" size="1">    "title": "CD:NGI Topo",</font></div><div><font face="monospace, monospace" size="1">    "args": ["CD:NGI Topo", "<a href="https://htonl.dev.openstreetmap.org/ngi-tiles/tiles/50k/${z}/${x}/${-y}.png">https://htonl.dev.openstreetmap.org/ngi-tiles/tiles/50k/${z}/${x}/${-y}.png</a>"],</font></div><div><font face="monospace, monospace" size="1">    "name": "background",</font></div><div><font face="monospace, monospace" size="1">    "attribution": "State Copyright &copy; 1996&ndash;2013 <a href=\"<a href="http://www.ngi.gov.za">http://www.ngi.gov.za</a>\">Chief Directorate: National Geo-spatial Information</a>",</font></div><div><font face="monospace, monospace" size="1">    "visibility": False,</font></div><div><font face="monospace, monospace" size="1">    "wrapDateLine": True,</font></div><div><font face="monospace, monospace" size="1">    "fixed": True,</font></div><div><font face="monospace, monospace" size="1">    "group":"background"</font></div><div><font face="monospace, monospace" size="1">},</font></div></div><div><br></div><div>Unfortunately, OpenLayers (or GeoExplorer) cannot solve the -y because I get this for a tile:</div><div><a href="https://htonl.dev.openstreetmap.org/ngi-tiles/tiles/50k/5/17/$%7B-y%7D.png">https://htonl.dev.openstreetmap.org/ngi-tiles/tiles/50k/5/17/$%7B-y%7D.png</a></div><div><br></div><div>Is there a way to handle this? I've also tried with <span style="font-family:monospace,monospace">OpenLayers.Layer.OSM </span>but had the same result.</div><div><br></div><div>Thanks in advance for your help.</div><div><br></div><div>Best,</div><div><br></div><div><br></div><div>Paolo</div><div><br></div><div><br></div><div><span style="font-family:monospace,monospace;font-size:x-small"><br></span></div><div><br></div></div></div></div></div></div></div></div></div></div>