Template:Map AreaTrails: Difference between revisions
Jump to navigation
Jump to search
change to https |
move to leaflet |
||
| Line 3: | Line 3: | ||
A template was used for easy consistent inclusion to multiple pages. To use simply add <code><nowiki>{{Map AreaTrails}}</nowiki></code> to any page. | A template was used for easy consistent inclusion to multiple pages. To use simply add <code><nowiki>{{Map AreaTrails}}</nowiki></code> to any page. | ||
The map is dynamically created based on pages having Category of Trails or Parks and has a location specified | The map is dynamically created based on pages having Category of Trails or Parks and has a location specified | ||
gmap had following kml's | gkml=https://tehcc.org/clubwiki/kml/Appalachian_Trail_TNEastman_Section.kml,https://tehcc.org/clubwiki/kml/AT-MRATC.kml,https://tehcc.org/clubwiki/kml/TEHCC_Areas.kml | |||
[[Category:Universal Templates]] | [[Category:Universal Templates]] | ||
</noinclude> | </noinclude> | ||
{{#compound_query: [[Category:Parks]] ;?Main Location ;icon=MarkerS.png ;limit = 5000 | {{#compound_query: [[Category:Parks]] ;?Main Location ;icon=MarkerS.png ;limit = 5000 | ||
|[[Category:Trails]] ;?Trailhead location ;icon=MarkerT.png ;limit = 5000 | |[[Category:Trails]] ;?Trailhead location ;icon=MarkerT.png ;limit = 5000 | ||
| format = | | format = leaflet | ||
| searchmarkers = all | | searchmarkers = all | ||
| limit = 1000 | | limit = 1000 | ||
| | |layers=OpenStreetMap, OpenTopoMap | ||
| zoom=9 | | zoom=9 | ||
| width=auto | | width=auto | ||
| height=800 | | height=800 | ||
| | | cluster=no | ||
| | | centre=36.49857, -82.48675 | ||
}} | }} | ||
Revision as of 12:27, 25 July 2026
This template creates the TEHCC region map with all trails and parks marked on the map.
A template was used for easy consistent inclusion to multiple pages. To use simply add {{Map AreaTrails}} to any page.
The map is dynamically created based on pages having Category of Trails or Parks and has a location specified
gmap had following kml's | gkml=https://tehcc.org/clubwiki/kml/Appalachian_Trail_TNEastman_Section.kml,https://tehcc.org/clubwiki/kml/AT-MRATC.kml,https://tehcc.org/clubwiki/kml/TEHCC_Areas.kml