<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi</p>
<p>For the moment you need to add a tileprovider configuration in
qwc2/utils/ConfigProvider.js, see [1].<br>
</p>
<p>Best<br>
Sandro<br>
</p>
<p>[1] <a href="https://github.com/qgis/qwc2-demo-app/issues/155">https://github.com/qgis/qwc2-demo-app/issues/155</a></p>
<div class="moz-cite-prefix">On 30.08.19 16:16, Immo Blecher wrote:<br>
</div>
<blockquote type="cite"
cite="mid:2e0a4c59-f830-dac8-b4f0-4cc70535defc@blecher.co.za">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Good Afternoon,</p>
<p>I was wondering if anybody has managed to include XYZ tiles as
Background layers. We are building a site for groundwater
information for the City of Cape Town and Environs and have been
successful with most of the layers, most of which take data from
PostGIS and Spatialite databases.</p>
<p>The particular layers I want to include can be accessed from
QGIS with <br>
</p>
<p><a class="moz-txt-link-freetext"
href="https://htonl.dev.openstreetmap.org/ngi-tiles/tiles/50k/"
moz-do-not-send="true">https://htonl.dev.openstreetmap.org/ngi-tiles/tiles/50k/</a>{z}/{x}/{-y}.png</p>
<p>and <br>
</p>
<p><a class="moz-txt-link-freetext"
href="http://aerial.openstreetmap.org.za/ngi-aerial/"
moz-do-not-send="true">http://aerial.openstreetmap.org.za/ngi-aerial/</a>{z}/{x}/{y}.jpg</p>
<p>and they work perfectly in QGIS. But all I get on the QWC2
client are blank pages with most of the options I tried. I also
added them in QGIS and set the server settings to advertise them
as background, again just white background pages.</p>
<p>If you want to have a look at our QWC2 implementation on a
temporary server in the meantime you can go to <a
class="moz-txt-link-freetext"
href="https://blecher.privatedns.org" moz-do-not-send="true">https://blecher.privatedns.org</a><br>
</p>
<p>Any idea how to do it, if possible at all?</p>
<p>Regards</p>
<p>Immo<br>
</p>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<title></title>
<div class="moz-signature">
<div class="moz-signature">
<p style="background: transparent; border: none; padding:
0in"><strong><font color="#000000">Immo F. Blecher</font></strong><strong><font
color="#808080"><br>
Street: </font></strong><em><font color="#808080"> 36
Saffraan Ave., Die Boord, Stellenbosch, 7613, South
Africa<br>
</font></em><em><font color="#808080"><span
style="font-style: normal"><b>Postal:</b></span></font></em><em><font
color="#808080"> PO Box 74, Lynedoch, 7603, South
Africa<br>
</font></em><em><font color="#808080"><span
style="font-style: normal"><b>Cell:</b></span></font></em><em><font
color="#000000"> </font></em><font color="#808080">+27
83 272 6791 </font><font color="#ff6600">|</font><font
color="#666666"> </font><font color="#666666"><b>Fax: </b></font><font
color="#808080">+27 86 736 3302 </font><font
color="#808080"><b>Email:</b></font><font
color="#808080"> </font><a
href="mailto:immo@blecher.co.za" moz-do-not-send="true"><font
color="#0000ff"><u>immo@blecher.co.za</u></font></a> <font
color="#ff6600">| </font><a
href="mailto:immob19@gmail.com" moz-do-not-send="true"><font
color="#0000ff"><u>immob19@gmail.com</u></font></a><font
color="#0000ff"><span style="text-decoration: none"> </span></font><font
color="#ff6600"><span style="text-decoration: none">| </span></font><font
color="#0000ff"><u><a
href="mailto:immob@mymtnmail.co.za"
moz-do-not-send="true">immob@mymtnmail.co.za</a><br>
</u></font><font color="#666666"><span
style="text-decoration: none"><b>Internet:</b></span></font><font
color="#666666"><span style="text-decoration: none"> </span></font><a
href="http://www.blecher.co.za/" moz-do-not-send="true"><font
color="#0000ff"><span style="text-decoration: none"><u>http://www.blecher.co.za/</u></span></font></a></p>
<font face="Verdana, Arial, Helvetica, sans-serif"><font
size="1"><font color="#808080">Contact me: </font> <img
src="http://images.wisestamp.com/gtalk.png"
name="graphics2" moz-do-not-send="true" width="16"
height="16" border="0" align="BOTTOM"> <a
class="moz-txt-link-abbreviated"
href="mailto:immob19@gmail.com" moz-do-not-send="true">immob19@gmail.com</a>
<img src="http://images.wisestamp.com/skype.png"
name="graphics3" moz-do-not-send="true" width="16"
height="16" border="0" align="BOTTOM"> immoblecher</font></font>
<div id="WISESTAMP_SIG_9425" dir="LTR">
<p style="margin-bottom: 0in; border-top: 1px solid
#e5e5e5; border-bottom: none; border-left: none;
border-right: none; padding-top: 0.02in; padding-bottom:
0in; padding-left: 0in; padding-right: 0in"> <a
href="http://www.linkedin.com/pub/immo-blecher/30/414/b8"
moz-do-not-send="true"><img
src="http://images.wisestamp.com/apps/buttons/linkedinbutton_option_1.png"
name="graphics4" moz-do-not-send="true" width="160"
height="33" border="0" align="BOTTOM"></a></p>
<table width="100%" cellspacing="2" cellpadding="2">
<tbody>
<tr valign="TOP">
<td style="border: none; padding: 0in" width="1%">
<p style="border-top: none; border-bottom: none;
border-left: none; border-right: 1px solid
#e5e5e5; padding-top: 0in; padding-bottom: 0in;
padding-left: 0in; padding-right: 0.05in"> <img
src="http://images.wisestamp.com/widgets/green_32.png" name="graphics5"
moz-do-not-send="true" width="32" height="32"
border="0" align="BOTTOM"></p>
</td>
<td style="border: none; padding: 0in">
<p style="border: none; padding: 0in">Please
consider your environmental responsibility.
Before printing this e-mail message, ask
yourself whether you really need a hard copy.</p>
</td>
</tr>
</tbody>
</table>
<p style="margin-bottom: 0in; border-top: 1px solid
#808080; border-bottom: none; border-left: none;
border-right: none; padding-top: 0.02in; padding-bottom:
0in; padding-left: 0in; padding-right: 0in"> <font
color="#808080"><font face="Verdana, Arial, Helvetica,
sans-serif"><font size="1">IMPORTANT: The contents
of this email and any attachments are
confidential. They are intended for the named
recipient(s) only. If you have received this email
by mistake, please notify the sender immediately
and do not disclose the contents to anyone or make
copies thereof.</font></font></font></p>
<p style="margin-bottom: 0in"><img
src="http://p1.wisestamp.com/pixel.png?p=mozilla&v=2.9.5&t=1320849250746&u=82e4b3250c4ca423"
name="graphics6" moz-do-not-send="true" width="2"
height="2" border="0" align="BOTTOM"></p>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
qgis-qwc2 mailing list
<a class="moz-txt-link-abbreviated" href="mailto:qgis-qwc2@lists.osgeo.org">qgis-qwc2@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-qwc2">https://lists.osgeo.org/mailman/listinfo/qgis-qwc2</a>
</pre>
</blockquote>
</body>
</html>