Template:Map AreaTrails: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
Created page with "<!---- ! ! This template creates the TEHCC region map with all the trails embedded on the map. ! -->"
 
add fullscreen option
 
(103 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<!----
<noinclude>
!
This template creates the TEHCC region map with all trails and parks marked on the map.  
! This template creates the TEHCC region map with all the trails embedded on the map.  
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
-->
 
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]]
</noinclude>
{{#compound_query: [[Category:Parks]] ;?Main Location ;icon=MarkerS.png ;limit = 5000
|[[Category:Trails]] ;?Trailhead location ;icon=MarkerT.png ;limit = 5000
| format = leaflet
| searchmarkers = all
| limit = 1000
|layers=OpenStreetMap, OpenTopoMap
| zoom=9
| scrollwheelzoom = no
| fullscreen = on
| width=auto
| height=800
| cluster=no
| centre=36.49857, -82.48675
}}

Latest revision as of 09:38, 28 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

Loading map...