My intention of this map is to show some photos of the nice improvements of the new trail, document the conditions of the old trail, and show how they relate to the surrounding muskeg spots.
Last active
August 29, 2015 14:21
-
-
Save joshuahouston/7adc35ef3a8780d4fa5e to your computer and use it in GitHub Desktop.
Cross Trail - Old & New
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"properties": { | |
"name": "Sitka Cross Trail", | |
"desc": "<img src=\"https://farm8.staticflickr.com/7535/15697558728_1502df2904_n.jpg\" width=\"300\" height=\"300\" alt=\"IMG_4112\"><br>The sign posted at both ends of the new trail", | |
"link": "<a href=\"https://flic.kr/p/pV96jh\">https://flic.kr/p/pV96jh</a>" | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-135.32404, | |
57.0642 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"name": "Wide path", | |
"desc": "<img src=\"https://farm8.staticflickr.com/7558/15697757870_6b2c88aa29_n.jpg\" width=\"300\" height=\"300\" alt=\"IMG_4142\"><br>The new trail is much wider than the old one", | |
"link": "<a href=\"https://flic.kr/p/pVa7vL\">https://flic.kr/p/pVa7vL</a>" | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-135.31901, | |
57.06112 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"name": "Turns and views", | |
"desc": "<img src=\"https://farm8.staticflickr.com/7579/15697552588_9cd1f67bdb_n.jpg\" width=\"300\" height=\"300\" alt=\"IMG_4144\"><br>Turns are smoother and the views can't be beat", | |
"link": "<a href=\"https://flic.kr/p/pV94uq\">https://flic.kr/p/pV94uq</a>" | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-135.31748, | |
57.06021 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"name": "Water", | |
"desc": "<img src=\"https://farm8.staticflickr.com/7574/15883071171_bbd3b96d72_n.jpg\" width=\"300\" height=\"300\" alt=\"IMG_4157\"><br>For runners, you had to plan on getting your sneakers muddy", | |
"link": "<a href=\"https://flic.kr/p/qcwTGF\">https://flic.kr/p/qcwTGF</a>" | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-135.31434, | |
57.05965 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"name": "Xtratufs", | |
"desc": "<img src=\"https://farm8.staticflickr.com/7512/15699293907_f750f365ba_n.jpg\" width=\"300\" height=\"300\" alt=\"IMG_4159\"><br>Casual hikers were best off wearing Xtratufs", | |
"link": "<a href=\"https://flic.kr/p/pVhZ8a\">https://flic.kr/p/pVhZ8a</a>" | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-135.31498, | |
57.05936 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"name": "Jump", | |
"desc": "<img src=\"https://farm8.staticflickr.com/7476/15859238096_bc9c1b3720_n.jpg\" width=\"300\" height=\"300\" alt=\"IMG_4169\"><br>Leaping over puddles and logs was common", | |
"link": "<a href=\"https://flic.kr/p/qaqJXA\">https://flic.kr/p/qaqJXA</a>" | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-135.31773, | |
57.05904 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"name": "Views", | |
"desc": "<img src=\"https://farm9.staticflickr.com/8669/15699014449_97cdcc1098_n.jpg\" width=\"300\" height=\"300\" alt=\"IMG_4175\"><br>The views are always pretty, no matter what trail you're on", | |
"link": "<a href=\"https://flic.kr/p/pVgy3V\">https://flic.kr/p/pVgy3V</a>" | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-135.31948, | |
57.06045 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"name": "Old & New", | |
"desc": "<img src=\"https://farm9.staticflickr.com/8604/15262795094_56364bf4d4_n.jpg\" width=\"300\" height=\"300\" alt=\"IMG_4185\"><br>The old trail next to the new trail.", | |
"link": "<a href=\"https://flic.kr/p/pfHPey\">https://flic.kr/p/pfHPey</a>" | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-135.32131, | |
57.06198 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"desc": "<img src=\"https://c1.staticflickr.com/9/8771/17725523829_9d124ea7fb_n.jpg\" width=\"300\" height=\"300\" alt=\"IMG_4185\"><br>Fresh new trail smell.", | |
"name": "Fresh" | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-135.33214330673218, | |
57.05908832965334 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"desc": "<img src=\"https://c1.staticflickr.com/9/8897/17289217104_92cfe8d864_n.jpg\" width=\"300\" height=\"300\" alt=\"IMG_4185\"><br>The end. Turn around.", | |
"name": "End" | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-135.33203333616257, | |
57.06005968799262 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"desc": "<img src=\"https://c1.staticflickr.com/9/8820/17724021698_15794da114_n.jpg\" width=\"300\" height=\"300\" alt=\"IMG_4185\"><br>Kaelke Pond on the right.", | |
"name": "Kaelke Pond" | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-135.31179070472717, | |
57.05699967729795 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"name": "Old Cross Trail", | |
"desc": "The old trail in all of its charm" | |
}, | |
"geometry": { | |
"type": "MultiLineString", | |
"coordinates": [ | |
[ | |
[ | |
-135.3127, | |
57.060172 | |
], | |
[ | |
-135.312955, | |
57.060024 | |
], | |
[ | |
-135.313026, | |
57.059995 | |
], | |
[ | |
-135.313114, | |
57.059989 | |
], | |
[ | |
-135.313195, | |
57.059947 | |
], | |
[ | |
-135.313351, | |
57.059933 | |
], | |
[ | |
-135.3135, | |
57.059877 | |
], | |
[ | |
-135.313782, | |
57.059841 | |
], | |
[ | |
-135.313889, | |
57.059795 | |
], | |
[ | |
-135.314063, | |
57.059773 | |
], | |
[ | |
-135.314225, | |
57.059683 | |
], | |
[ | |
-135.314307, | |
57.059621 | |
], | |
[ | |
-135.314381, | |
57.059596 | |
], | |
[ | |
-135.314484, | |
57.059471 | |
], | |
[ | |
-135.31454, | |
57.059437 | |
], | |
[ | |
-135.314632, | |
57.059404 | |
], | |
[ | |
-135.314869, | |
57.059367 | |
], | |
[ | |
-135.315004, | |
57.059362 | |
], | |
[ | |
-135.315153, | |
57.05936 | |
], | |
[ | |
-135.315305, | |
57.05929 | |
], | |
[ | |
-135.315436, | |
57.059234 | |
], | |
[ | |
-135.315637, | |
57.059227 | |
], | |
[ | |
-135.315804, | |
57.059194 | |
], | |
[ | |
-135.315988, | |
57.059134 | |
], | |
[ | |
-135.316225, | |
57.059129 | |
], | |
[ | |
-135.316674, | |
57.059017 | |
], | |
[ | |
-135.316876, | |
57.058994 | |
], | |
[ | |
-135.317451, | |
57.058989 | |
], | |
[ | |
-135.31775, | |
57.059063 | |
], | |
[ | |
-135.318005, | |
57.059169 | |
], | |
[ | |
-135.318225, | |
57.05926 | |
], | |
[ | |
-135.318416, | |
57.059377 | |
], | |
[ | |
-135.318589, | |
57.059538 | |
], | |
[ | |
-135.31878, | |
57.059773 | |
], | |
[ | |
-135.318922, | |
57.059906 | |
], | |
[ | |
-135.319035, | |
57.060025 | |
], | |
[ | |
-135.319152, | |
57.060112 | |
], | |
[ | |
-135.319269, | |
57.060189 | |
], | |
[ | |
-135.319378, | |
57.060339 | |
], | |
[ | |
-135.319511, | |
57.060483 | |
], | |
[ | |
-135.319633, | |
57.060591 | |
], | |
[ | |
-135.319775, | |
57.060682 | |
], | |
[ | |
-135.319948, | |
57.060724 | |
], | |
[ | |
-135.320033, | |
57.06078 | |
], | |
[ | |
-135.32004, | |
57.060865 | |
], | |
[ | |
-135.320058, | |
57.061078 | |
], | |
[ | |
-135.320047, | |
57.061286 | |
], | |
[ | |
-135.320051, | |
57.061515 | |
], | |
[ | |
-135.320168, | |
57.061632 | |
], | |
[ | |
-135.320341, | |
57.061742 | |
], | |
[ | |
-135.320468, | |
57.06179 | |
], | |
[ | |
-135.320603, | |
57.061806 | |
], | |
[ | |
-135.320798, | |
57.061813 | |
], | |
[ | |
-135.320989, | |
57.061836 | |
], | |
[ | |
-135.321183, | |
57.061884 | |
], | |
[ | |
-135.321321, | |
57.061965 | |
], | |
[ | |
-135.321449, | |
57.062112 | |
], | |
[ | |
-135.321562, | |
57.062219 | |
], | |
[ | |
-135.321668, | |
57.06236 | |
], | |
[ | |
-135.321675, | |
57.062473 | |
], | |
[ | |
-135.321619, | |
57.062598 | |
], | |
[ | |
-135.321551, | |
57.062704 | |
], | |
[ | |
-135.321685, | |
57.062762 | |
], | |
[ | |
-135.321754, | |
57.062854 | |
], | |
[ | |
-135.321947, | |
57.063093 | |
], | |
[ | |
-135.322119, | |
57.063227 | |
], | |
[ | |
-135.322344, | |
57.063385 | |
], | |
[ | |
-135.32254, | |
57.063431 | |
], | |
[ | |
-135.322698, | |
57.06349 | |
], | |
[ | |
-135.322966, | |
57.063671 | |
], | |
[ | |
-135.323165, | |
57.063849 | |
], | |
[ | |
-135.323564, | |
57.064026 | |
], | |
[ | |
-135.32379, | |
57.064088 | |
], | |
[ | |
-135.323988, | |
57.064203 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"desc": "The new multi-modal trail" | |
}, | |
"geometry": { | |
"type": "LineString", | |
"coordinates": [ | |
[ | |
-135.312729, | |
57.060504 | |
], | |
[ | |
-135.312817, | |
57.060553 | |
], | |
[ | |
-135.31298, | |
57.060576 | |
], | |
[ | |
-135.313033, | |
57.060576 | |
], | |
[ | |
-135.313192, | |
57.060578 | |
], | |
[ | |
-135.313443, | |
57.06057 | |
], | |
[ | |
-135.313585, | |
57.060534 | |
], | |
[ | |
-135.313748, | |
57.060537 | |
], | |
[ | |
-135.313907, | |
57.060549 | |
], | |
[ | |
-135.314084, | |
57.06057 | |
], | |
[ | |
-135.314197, | |
57.060612 | |
], | |
[ | |
-135.314293, | |
57.060668 | |
], | |
[ | |
-135.314388, | |
57.060711 | |
], | |
[ | |
-135.314523, | |
57.060734 | |
], | |
[ | |
-135.314668, | |
57.060726 | |
], | |
[ | |
-135.314774, | |
57.060709 | |
], | |
[ | |
-135.314919, | |
57.060684 | |
], | |
[ | |
-135.315138, | |
57.060686 | |
], | |
[ | |
-135.31523, | |
57.06067 | |
], | |
[ | |
-135.315376, | |
57.060609 | |
], | |
[ | |
-135.315506, | |
57.060607 | |
], | |
[ | |
-135.315733, | |
57.060614 | |
], | |
[ | |
-135.316037, | |
57.060641 | |
], | |
[ | |
-135.316193, | |
57.06067 | |
], | |
[ | |
-135.316342, | |
57.060666 | |
], | |
[ | |
-135.316437, | |
57.06063 | |
], | |
[ | |
-135.316547, | |
57.060585 | |
], | |
[ | |
-135.316706, | |
57.060507 | |
], | |
[ | |
-135.316873, | |
57.06047 | |
], | |
[ | |
-135.316995, | |
57.060401 | |
], | |
[ | |
-135.317106, | |
57.060283 | |
], | |
[ | |
-135.31728, | |
57.060216 | |
], | |
[ | |
-135.3174, | |
57.060222 | |
], | |
[ | |
-135.317488, | |
57.060237 | |
], | |
[ | |
-135.317682, | |
57.060293 | |
], | |
[ | |
-135.317846, | |
57.060326 | |
], | |
[ | |
-135.317977, | |
57.060339 | |
], | |
[ | |
-135.318256, | |
57.060389 | |
], | |
[ | |
-135.318402, | |
57.060462 | |
], | |
[ | |
-135.318547, | |
57.060541 | |
], | |
[ | |
-135.318712, | |
57.060702 | |
], | |
[ | |
-135.318819, | |
57.060809 | |
], | |
[ | |
-135.318883, | |
57.060932 | |
], | |
[ | |
-135.31894, | |
57.061042 | |
], | |
[ | |
-135.319034, | |
57.061139 | |
], | |
[ | |
-135.31913, | |
57.061332 | |
], | |
[ | |
-135.319205, | |
57.061455 | |
], | |
[ | |
-135.31929, | |
57.061521 | |
], | |
[ | |
-135.319396, | |
57.061563 | |
], | |
[ | |
-135.319613, | |
57.061653 | |
], | |
[ | |
-135.319863, | |
57.061811 | |
], | |
[ | |
-135.319966, | |
57.061886 | |
], | |
[ | |
-135.320047, | |
57.061917 | |
], | |
[ | |
-135.320171, | |
57.061925 | |
], | |
[ | |
-135.320263, | |
57.061917 | |
], | |
[ | |
-135.320394, | |
57.06189 | |
], | |
[ | |
-135.32061, | |
57.061871 | |
], | |
[ | |
-135.320783, | |
57.061875 | |
], | |
[ | |
-135.320953, | |
57.061898 | |
], | |
[ | |
-135.321113, | |
57.061933 | |
], | |
[ | |
-135.321251, | |
57.061992 | |
], | |
[ | |
-135.32141, | |
57.062215 | |
], | |
[ | |
-135.321399, | |
57.062308 | |
], | |
[ | |
-135.321268, | |
57.062404 | |
], | |
[ | |
-135.321176, | |
57.062504 | |
], | |
[ | |
-135.321144, | |
57.06261 | |
], | |
[ | |
-135.321175, | |
57.062711 | |
], | |
[ | |
-135.321378, | |
57.062777 | |
], | |
[ | |
-135.321511, | |
57.062864 | |
], | |
[ | |
-135.321524, | |
57.062996 | |
], | |
[ | |
-135.321471, | |
57.063134 | |
], | |
[ | |
-135.321645, | |
57.063346 | |
], | |
[ | |
-135.321927, | |
57.063507 | |
], | |
[ | |
-135.322343, | |
57.06358 | |
], | |
[ | |
-135.322638, | |
57.063696 | |
], | |
[ | |
-135.322754, | |
57.063802 | |
], | |
[ | |
-135.322864, | |
57.063874 | |
], | |
[ | |
-135.323009, | |
57.063907 | |
], | |
[ | |
-135.323135, | |
57.063932 | |
], | |
[ | |
-135.3232, | |
57.063995 | |
], | |
[ | |
-135.32331, | |
57.064106 | |
], | |
[ | |
-135.323377, | |
57.064148 | |
], | |
[ | |
-135.323594, | |
57.064187 | |
], | |
[ | |
-135.323795, | |
57.064206 | |
], | |
[ | |
-135.323988, | |
57.064203 | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"desc": "The new multi-modal trail currently being constructed. Updated 2015-05-17" | |
}, | |
"geometry": { | |
"type": "LineString", | |
"coordinates": [ | |
[ | |
-135.330537, | |
57.057219 | |
], | |
[ | |
-135.330603, | |
57.05721 | |
], | |
[ | |
-135.330654, | |
57.057207 | |
], | |
[ | |
-135.33071, | |
57.057226 | |
], | |
[ | |
-135.330769, | |
57.057249 | |
], | |
[ | |
-135.330844, | |
57.057312 | |
], | |
[ | |
-135.331011, | |
57.057493 | |
], | |
[ | |
-135.33104, | |
57.057567 | |
], | |
[ | |
-135.331013, | |
57.057656 | |
], | |
[ | |
-135.331005, | |
57.057754 | |
], | |
[ | |
-135.331008, | |
57.057803 | |
], | |
[ | |
-135.331054, | |
57.057859 | |
], | |
[ | |
-135.331118, | |
57.057916 | |
], | |
[ | |
-135.331217, | |
57.057974 | |
], | |
[ | |
-135.331295, | |
57.058006 | |
], | |
[ | |
-135.331389, | |
57.058026 | |
], | |
[ | |
-135.331622, | |
57.058054 | |
], | |
[ | |
-135.331751, | |
57.058075 | |
], | |
[ | |
-135.331818, | |
57.058101 | |
], | |
[ | |
-135.331877, | |
57.058161 | |
], | |
[ | |
-135.331901, | |
57.058204 | |
], | |
[ | |
-135.331898, | |
57.058257 | |
], | |
[ | |
-135.33188, | |
57.058312 | |
], | |
[ | |
-135.331794, | |
57.058409 | |
], | |
[ | |
-135.331775, | |
57.058499 | |
], | |
[ | |
-135.331791, | |
57.058571 | |
], | |
[ | |
-135.331807, | |
57.058639 | |
], | |
[ | |
-135.331837, | |
57.058769 | |
], | |
[ | |
-135.331906, | |
57.058845 | |
], | |
[ | |
-135.332, | |
57.058902 | |
], | |
[ | |
-135.332129, | |
57.059021 | |
], | |
[ | |
-135.332151, | |
57.059084 | |
], | |
[ | |
-135.332156, | |
57.059155 | |
], | |
[ | |
-135.332143, | |
57.059247 | |
], | |
[ | |
-135.332081, | |
57.05931 | |
], | |
[ | |
-135.332022, | |
57.059358 | |
], | |
[ | |
-135.33192, | |
57.059501 | |
], | |
[ | |
-135.331845, | |
57.059629 | |
], | |
[ | |
-135.331826, | |
57.059679 | |
], | |
[ | |
-135.331815, | |
57.059749 | |
], | |
[ | |
-135.331815, | |
57.059803 | |
], | |
[ | |
-135.331823, | |
57.059847 | |
], | |
[ | |
-135.33185, | |
57.059915 | |
], | |
[ | |
-135.331914, | |
57.059965 | |
], | |
[ | |
-135.331979, | |
57.060003 | |
], | |
[ | |
-135.332038, | |
57.060052 | |
], | |
[ | |
-135.332054, | |
57.060108 | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"desc": "The new multi-modal trail" | |
}, | |
"geometry": { | |
"type": "LineString", | |
"coordinates": [ | |
[ | |
-135.33104, | |
57.057567 | |
], | |
[ | |
-135.331086, | |
57.057501 | |
], | |
[ | |
-135.331193, | |
57.057372 | |
], | |
[ | |
-135.331271, | |
57.057258 | |
], | |
[ | |
-135.331327, | |
57.057166 | |
], | |
[ | |
-135.331459, | |
57.057068 | |
], | |
[ | |
-135.331738, | |
57.057007 | |
], | |
[ | |
-135.332132, | |
57.056884 | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"desc": "The new multi-modal trail" | |
}, | |
"geometry": { | |
"type": "LineString", | |
"coordinates": [ | |
[ | |
-135.313192, | |
57.060578 | |
], | |
[ | |
-135.313101, | |
57.060481 | |
], | |
[ | |
-135.313045, | |
57.060385 | |
], | |
[ | |
-135.312948, | |
57.060255 | |
], | |
[ | |
-135.312962, | |
57.060114 | |
], | |
[ | |
-135.312955, | |
57.060024 | |
], | |
[ | |
-135.312906, | |
57.059827 | |
], | |
[ | |
-135.312915, | |
57.059655 | |
], | |
[ | |
-135.312887, | |
57.059508 | |
], | |
[ | |
-135.312826, | |
57.059379 | |
], | |
[ | |
-135.312771, | |
57.05924 | |
], | |
[ | |
-135.312612, | |
57.05908 | |
], | |
[ | |
-135.31244, | |
57.058908 | |
], | |
[ | |
-135.312342, | |
57.058789 | |
], | |
[ | |
-135.312258, | |
57.05866 | |
], | |
[ | |
-135.312147, | |
57.058518 | |
], | |
[ | |
-135.31203, | |
57.058407 | |
], | |
[ | |
-135.31189, | |
57.05825 | |
], | |
[ | |
-135.311867, | |
57.058078 | |
], | |
[ | |
-135.311886, | |
57.057926 | |
], | |
[ | |
-135.311867, | |
57.057802 | |
], | |
[ | |
-135.311881, | |
57.057662 | |
], | |
[ | |
-135.311923, | |
57.057439 | |
], | |
[ | |
-135.311979, | |
57.057206 | |
], | |
[ | |
-135.311779, | |
57.057014 | |
], | |
[ | |
-135.311634, | |
57.056933 | |
], | |
[ | |
-135.311429, | |
57.056832 | |
], | |
[ | |
-135.311252, | |
57.056733 | |
], | |
[ | |
-135.311187, | |
57.056672 | |
], | |
[ | |
-135.311159, | |
57.056599 | |
], | |
[ | |
-135.311155, | |
57.05648 | |
], | |
[ | |
-135.311178, | |
57.056356 | |
], | |
[ | |
-135.311211, | |
57.056234 | |
], | |
[ | |
-135.31136, | |
57.056161 | |
], | |
[ | |
-135.311583, | |
57.056097 | |
], | |
[ | |
-135.311741, | |
57.056021 | |
], | |
[ | |
-135.311825, | |
57.055955 | |
], | |
[ | |
-135.311886, | |
57.055902 | |
], | |
[ | |
-135.311922, | |
57.055829 | |
] | |
] | |
} | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>New Cross Trail</title> | |
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script> | |
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> | |
<style> | |
body { margin:0; padding:0; } | |
#map { position:absolute; top:0; bottom:0; width:100%; } | |
</style> | |
</head> | |
<body> | |
<div id='map'></div> | |
<script> | |
// create a map in the "map" div, set the view to a given place and zoom | |
var map = L.map('map').setView([57.06, -135.316], 16); | |
// add an OpenStreetMap tile layer | |
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { | |
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' | |
}).addTo(map); | |
$.getJSON('crosstrail.json', function(data) { | |
var geojson = L.geoJson(data, { | |
pointToLayer: function(feature, latlng) { | |
return L.marker(latlng) | |
}, | |
onEachFeature: function (feature, layer) { | |
layer.bindPopup(feature.properties.desc); | |
} | |
}); | |
geojson.addTo(map); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment