From 669e9d44ff3c49a3675a4fe89aea52c38c185527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 7 Mar 2020 09:27:30 +0100 Subject: [PATCH] Added gpxsee.org link and template info to maps --- index.html | 31 ++++++++++++++++--------------- scripts/mapgen.py | 14 ++++++++------ style.css | 12 +++++++++++- 3 files changed, 35 insertions(+), 22 deletions(-) diff --git a/index.html b/index.html index f8d315c..cebbbe1 100644 --- a/index.html +++ b/index.html @@ -9,34 +9,35 @@

GPXSee Online Maps

-

GPXSee online map definition files ready to use. Simply download the XML file -and open it in GPXSee as a map file. To use the map permanently, copy the file -to the "maps" directory as found under Help->Paths.

+

GPXSee online map definition files +ready to use. Simply download the XML file and open it in GPXSee as a map +file. To use the map permanently, copy the file to the "maps" +directory as found under Help->Paths.

Some maps require API keys or user credentials. Such map definition files have a ".tpl" extension instead of the usual ".xml" -extension. You must fill in the required info and rename the file before you can -use it in GPXSee.

+extension. You must fill in the required info and rename the file before you +can use it in GPXSee.

Worldwide

- - + + - + - + - + - - - + + + @@ -236,8 +237,8 @@ use it in GPXSee.

- - + +
Map Preview
4UMaps
Map Preview
CyclOSM
Map Preview
GIScience Heidelberg
Map Preview
HERE Aerial Map
Map Preview
GIScience Heidelberg [TPL]
Map Preview
HERE Aerial Map [TPL]
Map Preview
HERE Base Map
Map Preview
HERE Base Map [TPL]
Map Preview
HikeBikeMap
Map Preview
MapTiler
Map Preview
MapTiler [TPL]
Map Preview
Open Street Map
Map Preview
Open Street Map - Black and White
Map Preview
Open Street Map - HiDPI
Map Preview
Open Topo Map
Map Preview
Thunderforest - Landscape
Map Preview
Thunderforest - Landscape [TPL]
Map Preview
Thunderforest - OpenCycleMap
Map Preview
Thunderforest - Outdoors
Map Preview
Thunderforest - Transport
Map Preview
Thunderforest - OpenCycleMap [TPL]
Map Preview
Thunderforest - Outdoors [TPL]
Map Preview
Thunderforest - Transport [TPL]
Map Preview
UNESCO
Map Preview
marshruty.ru
Map Preview
OSM Switzerland
Map Preview
OSM Switzerland Swiss Style
Map Preview
Swisstopo
Map Preview
Swisstopo Aerial
Map Preview
Swisstopo [TPL]
Map Preview
Swisstopo Aerial [TPL]

North America

diff --git a/scripts/mapgen.py b/scripts/mapgen.py index e5e1dc4..782cc2d 100755 --- a/scripts/mapgen.py +++ b/scripts/mapgen.py @@ -308,10 +308,11 @@ def processmaps(maps, htmlfile): for info in items: if i and i % 4 == 0: htmlfile.write("\n") + template = " [TPL]" if info["url"].endswith(".tpl") else "" htmlfile.write("" + "\"Map
" - + info["name"] + "\n") + + info["name"] + template + "\n") i = i + 1 htmlfile.write("\n\n") @@ -353,13 +354,14 @@ htmlfile.write("""

GPXSee Online Maps

-

GPXSee online map definition files ready to use. Simply download the XML file -and open it in GPXSee as a map file. To use the map permanently, copy the file -to the "maps" directory as found under Help->Paths.

+

GPXSee online map definition files +ready to use. Simply download the XML file and open it in GPXSee as a map +file. To use the map permanently, copy the file to the "maps" +directory as found under Help->Paths.

Some maps require API keys or user credentials. Such map definition files have a ".tpl" extension instead of the usual ".xml" -extension. You must fill in the required info and rename the file before you can -use it in GPXSee.

+extension. You must fill in the required info and rename the file before you +can use it in GPXSee.

""") htmlfile.write(header("Worldwide", 2)) diff --git a/style.css b/style.css index 52f4752..a09fe81 100644 --- a/style.css +++ b/style.css @@ -28,6 +28,16 @@ h3 { margin-bottom:0; padding-bottom:0; } +a { + color:white; + text-decoration:underline; +} +a:hover { + text-decoration:none; +} +small { + color:grey; +} .center { margin:20px auto; width:1124px; @@ -38,4 +48,4 @@ h3 { margin-left:10px; width:60%; color:#ffffff; -} \ No newline at end of file +}