From 92b02236e71d66da18c8b14fa821b5a359cb63d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 16 Sep 2017 00:25:55 +0200 Subject: [PATCH] Updated map file format description --- index.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 0076a72b..b5c800f2 100644 --- a/index.html +++ b/index.html @@ -123,13 +123,14 @@ -

The file format is one map entry per line, consisting of the map name and - tiles URL delimited by a TAB character. The tile X and Y coordinates are - replaced with $x and $y in the URL and the zoom - level is replaced with $z. An example map file could look like:

+

The file format is one map entry per line, consisting of the map name, + tiles URL and an optional maximal zoom level delimited by a TAB character. + The tile X and Y coordinates are replaced with $x and + $y in the URL and the zoom level is replaced with + $z. An example map file could look like:

-Map1	http://tile.server.com/map/$z/$x/$y.png
+Map1	http://tile.server.com/map/$z/$x/$y.png	15
 Map2	http://mapserver.org/map/$z-$x-$y