From 6bf10dd99b3307131c562a1eb102a451e0548e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 8 Dec 2018 18:32:27 +0100 Subject: [PATCH] Documented vector tile attribute --- doc.html | 14 ++++++++++++++ index.html | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/doc.html b/doc.html index 14025777..bd220eba 100644 --- a/doc.html +++ b/doc.html @@ -143,6 +143,20 @@ <url>https://a.osm.rrze.fau.de/osmhd/$z/$x/$y.png</url> <tile pixelRatio="2"> </map> + + +

In case of vector tile images (PBF), set the type attribute of + the tile tag to "vector". This will adjust the pixel ratio + of the tile to the pixel ratio of the display device.

+ +
+<?xml version="1.0" encoding="UTF-8"?>
+<map xmlns="http://www.gpxsee.org/map/1.3">
+  <name>MapTiler</name>
+  <url>https://maps.tilehosting.com/data/v3/$z/$x/$y.pbf?key=apikey</url>
+  <tile type="vector"/>
+  <zoom max="14"/>
+</map>
 

The map URL can be also a local file URL (file: scheme).

diff --git a/index.html b/index.html index 03905fc4..64891d69 100644 --- a/index.html +++ b/index.html @@ -153,7 +153,7 @@

Dec 8 2018

Version 7.0