1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Added HiDPI map example

This commit is contained in:
Martin Tůma 2018-08-19 08:37:36 +02:00
parent 1c5021ed9c
commit e6c2047e3c

View File

@ -131,6 +131,17 @@
uses HiDPI tiles use the <i>tilePixelRatio</i> tag. For the most common 512x512px uses HiDPI tiles use the <i>tilePixelRatio</i> tag. For the most common 512x512px
tiles (that shall be rendered as 256x256px tiles), set the value to 2.</p> tiles (that shall be rendered as 256x256px tiles), set the value to 2.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.1"&gt;
&lt;name&gt;OSM - HiDPI&lt;/name&gt;
&lt;url&gt;https://a.osm.rrze.fau.de/osmhd/$z/$x/$y.png&lt;/url&gt;
&lt;tilePixelRatio&gt;2&lt;/tilePixelRatio&gt;
&lt;/map&gt;
</pre>
<p></p>
<h4 id="WMTS">WMTS</h4> <h4 id="WMTS">WMTS</h4>
<p>WMTS maps are distinguished by setting the <i>type</i> attribute of the <p>WMTS maps are distinguished by setting the <i>type</i> attribute of the
<i>map</i> element to <code>WMTS</code>. Both the KVP and REST access methods <i>map</i> element to <code>WMTS</code>. Both the KVP and REST access methods