From: Rob Norris Date: Sat, 25 Feb 2017 19:21:47 +0000 (+0000) Subject: [DOC] Notes about using the URL field in map configs X-Git-Url: https://git.street.me.uk/andy/viking.git/commitdiff_plain/dbd638643a093803880b280c0fbb9598946fc0f6 [DOC] Notes about using the URL field in map configs --- diff --git a/help/C/viking.xml b/help/C/viking.xml index d4dcc649..1136bd31 100644 --- a/help/C/viking.xml +++ b/help/C/viking.xml @@ -3087,7 +3087,13 @@ Accept: */* url - the parametrized address of the tile, in the spirit of C printf format, with 3 "%d" fields for Z, X and Y (in that order) (eg. "/%d/%d/%d.png") + + the parametrized address of the tile, in the spirit of C printf format, with 3 "%d" fields for Z, X and Y (in that order) (eg. "/%d/%d/%d.png") + + The full parametrized address can just be put in the URL field and the hostname field doesn't need specifying. + e.g. "https://tile.openstreetmap.org/%d/%d/%d.png" + + zoom-min (optional) diff --git a/help/viking.xml.in b/help/viking.xml.in index 3c9cb276..405b0cab 100644 --- a/help/viking.xml.in +++ b/help/viking.xml.in @@ -257,7 +257,13 @@ and docbook-xsl in your Build-Depends control field. url - the parametrized address of the tile, in the spirit of C printf format, with 3 "%d" fields for Z, X and Y (in that order) (eg. "/%d/%d/%d.png") + + the parametrized address of the tile, in the spirit of C printf format, with 3 "%d" fields for Z, X and Y (in that order) (eg. "/%d/%d/%d.png") + + The full parametrized address can just be put in the URL field and the hostname field doesn't need specifying. + e.g. "https://tile.openstreetmap.org/%d/%d/%d.png" + + zoom-min (optional)