mirror of
https://github.com/tumic0/GPXSee-maps.git
synced 2024-11-24 03:35:53 +01:00
Added gpxsee.org link and template info to maps
This commit is contained in:
parent
5621687cab
commit
669e9d44ff
31
index.html
31
index.html
@ -9,34 +9,35 @@
|
|||||||
<body>
|
<body>
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<h1>GPXSee Online Maps</h1>
|
<h1>GPXSee Online Maps</h1>
|
||||||
<p>GPXSee online map definition files ready to use. Simply download the XML file
|
<p><a href="https://www.gpxsee.org">GPXSee</a> online map definition files
|
||||||
and open it in GPXSee as a map file. To use the map permanently, copy the file
|
ready to use. Simply download the XML file and open it in GPXSee as a map
|
||||||
to the "maps" directory as found under Help->Paths.</p>
|
file. To use the map permanently, copy the file to the "maps"
|
||||||
|
directory as found under Help->Paths.</p>
|
||||||
<p><small>Some maps require API keys or user credentials. Such map definition
|
<p><small>Some maps require API keys or user credentials. Such map definition
|
||||||
files have a ".tpl" extension instead of the usual ".xml"
|
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
|
extension. You must fill in the required info and rename the file before you
|
||||||
use it in GPXSee.</small></p>
|
can use it in GPXSee.</small></p>
|
||||||
<h2>Worldwide</h2>
|
<h2>Worldwide</h2>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="maps/4UMaps.xml" download><img src="tiles/4UMaps.png" alt="Map Preview" width="256" height="256"/></a><br/>4UMaps</td>
|
<td><a href="maps/4UMaps.xml" download><img src="tiles/4UMaps.png" alt="Map Preview" width="256" height="256"/></a><br/>4UMaps</td>
|
||||||
<td><a href="maps/CyclOSM.xml" download><img src="tiles/CyclOSM.png" alt="Map Preview" width="256" height="256"/></a><br/>CyclOSM</td>
|
<td><a href="maps/CyclOSM.xml" download><img src="tiles/CyclOSM.png" alt="Map Preview" width="256" height="256"/></a><br/>CyclOSM</td>
|
||||||
<td><a href="maps/heidelberg.tpl" download><img src="tiles/heidelberg.png" alt="Map Preview" width="256" height="256"/></a><br/>GIScience Heidelberg</td>
|
<td><a href="maps/heidelberg.tpl" download><img src="tiles/heidelberg.png" alt="Map Preview" width="256" height="256"/></a><br/>GIScience Heidelberg <small>[TPL]</small></td>
|
||||||
<td><a href="maps/here-aerial.tpl" download><img src="tiles/here-aerial.jpg" alt="Map Preview" width="256" height="256"/></a><br/>HERE Aerial Map</td>
|
<td><a href="maps/here-aerial.tpl" download><img src="tiles/here-aerial.jpg" alt="Map Preview" width="256" height="256"/></a><br/>HERE Aerial Map <small>[TPL]</small></td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
<td><a href="maps/here-base.tpl" download><img src="tiles/here-base.png" alt="Map Preview" width="256" height="256"/></a><br/>HERE Base Map</td>
|
<td><a href="maps/here-base.tpl" download><img src="tiles/here-base.png" alt="Map Preview" width="256" height="256"/></a><br/>HERE Base Map <small>[TPL]</small></td>
|
||||||
<td><a href="maps/HikeBikeMap.xml" download><img src="tiles/HikeBikeMap.png" alt="Map Preview" width="256" height="256"/></a><br/>HikeBikeMap</td>
|
<td><a href="maps/HikeBikeMap.xml" download><img src="tiles/HikeBikeMap.png" alt="Map Preview" width="256" height="256"/></a><br/>HikeBikeMap</td>
|
||||||
<td><a href="maps/MapTiler.tpl" download><img src="tiles/MapTiler.png" alt="Map Preview" width="256" height="256"/></a><br/>MapTiler</td>
|
<td><a href="maps/MapTiler.tpl" download><img src="tiles/MapTiler.png" alt="Map Preview" width="256" height="256"/></a><br/>MapTiler <small>[TPL]</small></td>
|
||||||
<td><a href="maps/OpenStreetMap.xml" download><img src="tiles/OpenStreetMap.png" alt="Map Preview" width="256" height="256"/></a><br/>Open Street Map</td>
|
<td><a href="maps/OpenStreetMap.xml" download><img src="tiles/OpenStreetMap.png" alt="Map Preview" width="256" height="256"/></a><br/>Open Street Map</td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
<td><a href="maps/OpenStreetMap-BW.xml" download><img src="tiles/OpenStreetMap-BW.png" alt="Map Preview" width="256" height="256"/></a><br/>Open Street Map - Black and White</td>
|
<td><a href="maps/OpenStreetMap-BW.xml" download><img src="tiles/OpenStreetMap-BW.png" alt="Map Preview" width="256" height="256"/></a><br/>Open Street Map - Black and White</td>
|
||||||
<td><a href="maps/OpenStreetMap-HiDPI.xml" download><img src="tiles/OpenStreetMap-HiDPI.png" alt="Map Preview" width="256" height="256"/></a><br/>Open Street Map - HiDPI</td>
|
<td><a href="maps/OpenStreetMap-HiDPI.xml" download><img src="tiles/OpenStreetMap-HiDPI.png" alt="Map Preview" width="256" height="256"/></a><br/>Open Street Map - HiDPI</td>
|
||||||
<td><a href="maps/OpenTopoMap.xml" download><img src="tiles/OpenTopoMap.png" alt="Map Preview" width="256" height="256"/></a><br/>Open Topo Map</td>
|
<td><a href="maps/OpenTopoMap.xml" download><img src="tiles/OpenTopoMap.png" alt="Map Preview" width="256" height="256"/></a><br/>Open Topo Map</td>
|
||||||
<td><a href="maps/Thunderforest-Landscape.tpl" download><img src="tiles/Thunderforest-Landscape.png" alt="Map Preview" width="256" height="256"/></a><br/>Thunderforest - Landscape</td>
|
<td><a href="maps/Thunderforest-Landscape.tpl" download><img src="tiles/Thunderforest-Landscape.png" alt="Map Preview" width="256" height="256"/></a><br/>Thunderforest - Landscape <small>[TPL]</small></td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
<td><a href="maps/Thunderforest-OpenCycleMap.tpl" download><img src="tiles/Thunderforest-OpenCycleMap.png" alt="Map Preview" width="256" height="256"/></a><br/>Thunderforest - OpenCycleMap</td>
|
<td><a href="maps/Thunderforest-OpenCycleMap.tpl" download><img src="tiles/Thunderforest-OpenCycleMap.png" alt="Map Preview" width="256" height="256"/></a><br/>Thunderforest - OpenCycleMap <small>[TPL]</small></td>
|
||||||
<td><a href="maps/Thunderforest-Outdoors.tpl" download><img src="tiles/Thunderforest-Outdoors.png" alt="Map Preview" width="256" height="256"/></a><br/>Thunderforest - Outdoors</td>
|
<td><a href="maps/Thunderforest-Outdoors.tpl" download><img src="tiles/Thunderforest-Outdoors.png" alt="Map Preview" width="256" height="256"/></a><br/>Thunderforest - Outdoors <small>[TPL]</small></td>
|
||||||
<td><a href="maps/Thunderforest-Transport.tpl" download><img src="tiles/Thunderforest-Transport.png" alt="Map Preview" width="256" height="256"/></a><br/>Thunderforest - Transport</td>
|
<td><a href="maps/Thunderforest-Transport.tpl" download><img src="tiles/Thunderforest-Transport.png" alt="Map Preview" width="256" height="256"/></a><br/>Thunderforest - Transport <small>[TPL]</small></td>
|
||||||
<td><a href="maps/unesco.xml" download><img src="tiles/unesco.png" alt="Map Preview" width="256" height="256"/></a><br/>UNESCO</td>
|
<td><a href="maps/unesco.xml" download><img src="tiles/unesco.png" alt="Map Preview" width="256" height="256"/></a><br/>UNESCO</td>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
<td><a href="maps/marshruty.ru.xml" download><img src="tiles/marshruty.ru.jpg" alt="Map Preview" width="256" height="256"/></a><br/>marshruty.ru</td>
|
<td><a href="maps/marshruty.ru.xml" download><img src="tiles/marshruty.ru.jpg" alt="Map Preview" width="256" height="256"/></a><br/>marshruty.ru</td>
|
||||||
@ -236,8 +237,8 @@ use it in GPXSee.</small></p>
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href="maps/OpenStreetMap-Switzerland.xml" download><img src="tiles/OpenStreetMap-Switzerland.png" alt="Map Preview" width="256" height="256"/></a><br/>OSM Switzerland</td>
|
<td><a href="maps/OpenStreetMap-Switzerland.xml" download><img src="tiles/OpenStreetMap-Switzerland.png" alt="Map Preview" width="256" height="256"/></a><br/>OSM Switzerland</td>
|
||||||
<td><a href="maps/OpenStreetMap-Swiss-Style.xml" download><img src="tiles/OpenStreetMap-Swiss-Style.png" alt="Map Preview" width="256" height="256"/></a><br/>OSM Switzerland Swiss Style</td>
|
<td><a href="maps/OpenStreetMap-Swiss-Style.xml" download><img src="tiles/OpenStreetMap-Swiss-Style.png" alt="Map Preview" width="256" height="256"/></a><br/>OSM Switzerland Swiss Style</td>
|
||||||
<td><a href="maps/Swisstopo.tpl" download><img src="tiles/Swisstopo.png" alt="Map Preview" width="256" height="256"/></a><br/>Swisstopo</td>
|
<td><a href="maps/Swisstopo.tpl" download><img src="tiles/Swisstopo.png" alt="Map Preview" width="256" height="256"/></a><br/>Swisstopo <small>[TPL]</small></td>
|
||||||
<td><a href="maps/Swisstopo-Aerial.tpl" download><img src="tiles/Swisstopo-Aerial.png" alt="Map Preview" width="256" height="256"/></a><br/>Swisstopo Aerial</td>
|
<td><a href="maps/Swisstopo-Aerial.tpl" download><img src="tiles/Swisstopo-Aerial.png" alt="Map Preview" width="256" height="256"/></a><br/>Swisstopo Aerial <small>[TPL]</small></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<h2>North America</h2>
|
<h2>North America</h2>
|
||||||
|
@ -308,10 +308,11 @@ def processmaps(maps, htmlfile):
|
|||||||
for info in items:
|
for info in items:
|
||||||
if i and i % 4 == 0:
|
if i and i % 4 == 0:
|
||||||
htmlfile.write("</tr><tr>\n")
|
htmlfile.write("</tr><tr>\n")
|
||||||
|
template = " <small>[TPL]</small>" if info["url"].endswith(".tpl") else ""
|
||||||
htmlfile.write("<td>" + "<a href=\"" + info["url"] + "\" download><img src=\""
|
htmlfile.write("<td>" + "<a href=\"" + info["url"] + "\" download><img src=\""
|
||||||
+ info["tile"]
|
+ info["tile"]
|
||||||
+ "\" alt=\"Map Preview\" width=\"256\" height=\"256\"/></a><br/>"
|
+ "\" alt=\"Map Preview\" width=\"256\" height=\"256\"/></a><br/>"
|
||||||
+ info["name"] + "</td>\n")
|
+ info["name"] + template + "</td>\n")
|
||||||
i = i + 1
|
i = i + 1
|
||||||
|
|
||||||
htmlfile.write("</tr>\n</table>\n")
|
htmlfile.write("</tr>\n</table>\n")
|
||||||
@ -353,13 +354,14 @@ htmlfile.write("""<!DOCTYPE html>
|
|||||||
<body>
|
<body>
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<h1>GPXSee Online Maps</h1>
|
<h1>GPXSee Online Maps</h1>
|
||||||
<p>GPXSee online map definition files ready to use. Simply download the XML file
|
<p><a href="https://www.gpxsee.org">GPXSee</a> online map definition files
|
||||||
and open it in GPXSee as a map file. To use the map permanently, copy the file
|
ready to use. Simply download the XML file and open it in GPXSee as a map
|
||||||
to the "maps" directory as found under Help->Paths.</p>
|
file. To use the map permanently, copy the file to the "maps"
|
||||||
|
directory as found under Help->Paths.</p>
|
||||||
<p><small>Some maps require API keys or user credentials. Such map definition
|
<p><small>Some maps require API keys or user credentials. Such map definition
|
||||||
files have a ".tpl" extension instead of the usual ".xml"
|
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
|
extension. You must fill in the required info and rename the file before you
|
||||||
use it in GPXSee.</small></p>
|
can use it in GPXSee.</small></p>
|
||||||
""")
|
""")
|
||||||
|
|
||||||
htmlfile.write(header("Worldwide", 2))
|
htmlfile.write(header("Worldwide", 2))
|
||||||
|
12
style.css
12
style.css
@ -28,6 +28,16 @@ h3 {
|
|||||||
margin-bottom:0;
|
margin-bottom:0;
|
||||||
padding-bottom:0;
|
padding-bottom:0;
|
||||||
}
|
}
|
||||||
|
a {
|
||||||
|
color:white;
|
||||||
|
text-decoration:underline;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
text-decoration:none;
|
||||||
|
}
|
||||||
|
small {
|
||||||
|
color:grey;
|
||||||
|
}
|
||||||
.center {
|
.center {
|
||||||
margin:20px auto;
|
margin:20px auto;
|
||||||
width:1124px;
|
width:1124px;
|
||||||
@ -38,4 +48,4 @@ h3 {
|
|||||||
margin-left:10px;
|
margin-left:10px;
|
||||||
width:60%;
|
width:60%;
|
||||||
color:#ffffff;
|
color:#ffffff;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user