favorite comment 0
thumb_up0thumb_down

directions_bikeAfternoon Ride

Bicykel lock_open

place Graf prevýšenia

comment Komentáre ku aktivite

Momentálne sa tu nenachádzajú žiadne komentáre

Formulár sa odosiela
Pridaj komentár
Formulár sa odosiela
trending_up Vzdialenosť
42,2 km
schedule Čas
02:24:51
landscape Nastúpané
734 m

bar_chartŠtatistiky

Priemer Max
Rýchlosť 17,5 km/h 59,8 km/h
Tepová frekvencia 141 bpm 176 bpm
Energetický výdaj 1 578 kcal

cloudPodmienky

Priemerná teplota 20 °C
Počasie Sucho
Vietor Slabý vietor
directions_bike Bicykel: SPECIALIZED PITCH COMP

directions_bike Posledné aktivity bikera

thumb_up0thumb_down

hiking Mesa Verde hike

trending_up 5,2 km
schedule 01:44:58
landscape 174 m
thumb_up0thumb_down

directions_run Run

trending_up 6,6 km
schedule 00:37:57
landscape 82 m
thumb_up0thumb_down

hiking Canyonlands Grandwiev hike

trending_up 2,0 km
schedule 00:35:24
landscape 74 m

place Segmenty

Názov segmentuSegment ČasMôj čas Priemerná rýchlosť Priemerný výkon Priemerný tep Najlepší čas na segmenteNajlepší čas
Formulár sa odosiela
keyboard_arrow_up Heiligenstadt","segmentDistance":"D\u013a\u017eka: 3.87 km<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -0.1 %<\/b>","segmentNameHref":"ring-%3E-heiligenstadt"},"geometry":{"type":"LineString","coordinates":[["16.368688","48.219406",198.6],["16.368688","48.219406",198.6],["16.368223","48.219983",198],["16.367839","48.221361",197.8],["16.367626","48.224237",198.2],["16.366994","48.225629",198.8],["16.365942","48.226591",199.8],["16.36482","48.227422",199.6],["16.363096","48.228959",201.4],["16.362099","48.230786",200.8],["16.361667","48.231917",200],["16.361089","48.232708",201.8],["16.360855","48.233989",201],["16.361182","48.235226",201.4],["16.360993","48.235727",201.8],["16.361557","48.236255",199],["16.361851","48.236912",199],["16.362569","48.238351",199.4],["16.363433","48.239832",199.4],["16.364699","48.241689",199.8],["16.36719","48.244729",200.8],["16.36921","48.246684",199.4],["16.370645","48.248456",200.2],["16.371602","48.250275",202]]}},{"type":"Feature","properties":{"type":99,"segment":"5315","segmentName":"FB uphill sprint","segmentDistance":"D\u013a\u017eka: 96.30 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 3.1 %<\/b>","segmentNameHref":"fb-uphill-sprint"},"geometry":{"type":"LineString","coordinates":[["16.365942","48.226591",199.8],["16.365942","48.226591",199.8]]}},{"type":"Feature","properties":{"type":99,"segment":"15207","segmentName":"Friedensbrucke - Schwedenplatz","segmentDistance":"D\u013a\u017eka: 1.91 km<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -0.1 %<\/b>","segmentNameHref":"friedensbrucke-schwedenplatz"},"geometry":{"type":"LineString","coordinates":[["16.365942","48.226591",199.8],["16.365942","48.226591",199.8],["16.36482","48.227422",199.6],["16.363096","48.228959",201.4],["16.362099","48.230786",200.8],["16.361667","48.231917",200],["16.361089","48.232708",201.8],["16.360855","48.233989",201],["16.361182","48.235226",201.4],["16.360993","48.235727",201.8],["16.361557","48.236255",199],["16.361851","48.236912",199],["16.362569","48.238351",199.4],["16.363433","48.239832",199.4],["16.364699","48.241689",199.8]]}},{"type":"Feature","properties":{"type":99,"segment":"5316","segmentName":"Alserbach nach Gunhold","segmentDistance":"D\u013a\u017eka: 2.10 km<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -0.5 %<\/b>","segmentNameHref":"alserbach-nach-gunhold"},"geometry":{"type":"LineString","coordinates":[["16.36482","48.227422",199.6],["16.36482","48.227422",199.6],["16.363096","48.228959",201.4],["16.362099","48.230786",200.8],["16.361667","48.231917",200],["16.361089","48.232708",201.8],["16.360855","48.233989",201],["16.361182","48.235226",201.4],["16.360993","48.235727",201.8],["16.361557","48.236255",199],["16.361851","48.236912",199],["16.362569","48.238351",199.4],["16.363433","48.239832",199.4],["16.364699","48.241689",199.8],["16.36719","48.244729",200.8]]}},{"type":"Feature","properties":{"type":99,"segment":"74426","segmentName":"Friedensbr\u00fccke - Schottenring","segmentDistance":"D\u013a\u017eka: 1.05 km<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 0.2 %<\/b>","segmentNameHref":"friedensbrucke-schottenring"},"geometry":{"type":"LineString","coordinates":[["16.36482","48.227422",199.6],["16.36482","48.227422",199.6],["16.363096","48.228959",201.4],["16.362099","48.230786",200.8],["16.361667","48.231917",200],["16.361089","48.232708",201.8],["16.360855","48.233989",201],["16.361182","48.235226",201.4],["16.360993","48.235727",201.8],["16.361557","48.236255",199]]}},{"type":"Feature","properties":{"type":99,"segment":"36490","segmentName":"Ro\u00dfauer L\u00e4nde 2","segmentDistance":"D\u013a\u017eka: 1.77 km<\/b>","segmentGrade":"Priemern\u00e9 klesanie: 0 %<\/b>","segmentNameHref":"rosauer-lande-2"},"geometry":{"type":"LineString","coordinates":[["16.360993","48.235727",201.8],["16.360993","48.235727",201.8],["16.361557","48.236255",199],["16.361557","48.236255",199],["16.361851","48.236912",199],["16.362569","48.238351",199.4],["16.363433","48.239832",199.4],["16.364699","48.241689",199.8],["16.36719","48.244729",200.8],["16.36921","48.246684",199.4],["16.370645","48.248456",200.2]]}},{"type":"Feature","properties":{"type":99,"segment":"82298","segmentName":"TT - Nussdorf bis Urania","segmentDistance":"D\u013a\u017eka: 6.04 km<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 0.2 %<\/b>","segmentNameHref":"tt-nussdorf-bis-urania"},"geometry":{"type":"LineString","coordinates":[["16.368967","48.257234",204],["16.368967","48.257234",204],["16.368662","48.257902",203.8],["16.367965","48.257914",204.4],["16.366526","48.258098",205.4],["16.365442","48.258469",207],["16.364775","48.258537",208.8],["16.364566","48.258872",210.4],["16.364331","48.258952",211],["16.363786","48.258716",212.4],["16.361665","48.258021",217.2],["16.360615","48.257872",219.4],["16.359156","48.257736",222.8],["16.357919","48.257552",226.2],["16.356231","48.25771",233.8],["16.355017","48.257834",238],["16.352615","48.257688",248],["16.352106","48.257635",250.8],["16.351166","48.257348",256.4],["16.350331","48.257285",259.6],["16.349683","48.257538",261.6],["16.349663","48.258329",263.8],["16.34872","48.258547",267.2],["16.347375","48.258749",272.2],["16.345499","48.259099",279.2],["16.343544","48.259526",286],["16.341741","48.260857",294.6],["16.34109","48.261371",301.2],["16.340124","48.262068",311.8],["16.339384","48.262682",320.2],["16.33866","48.26324",328],["16.337932","48.26379",335.8],["16.336986","48.26458",344.6],["16.335601","48.265645",356.8],["16.33502","48.266077",360],["16.33368","48.266569",363.2],["16.331243","48.267341",369.4],["16.331038","48.267542",370.4],["16.331856","48.268611",372],["16.333074","48.269795",372.4],["16.333396","48.270309",366.2],["16.333874","48.270936",355.2],["16.333788","48.271052",356.4],["16.333117","48.271385",360.6],["16.332722","48.271629",364.4],["16.332415","48.271778",366],["16.331818","48.272158",370],["16.331245","48.272364",372.6],["16.330837","48.272534",374.4],["16.33032","48.272918",378.8],["16.329608","48.273327",383],["16.329181","48.273474",385.8],["16.328697","48.273665",390],["16.328083","48.273756",392],["16.326927","48.273926",401.2],["16.326324","48.274127",404.8],["16.325649","48.274354",409.2],["16.325259","48.274627",413.4],["16.324821","48.274939",416.8],["16.324389","48.275169",420.2],["16.323806","48.275507",424.8],["16.32337","48.275801",430.2],["16.323153","48.275949",434.2],["16.32282","48.276058",437.2],["16.322387","48.276126",441],["16.321648","48.276276",445],["16.321124","48.276338",449.4],["16.320759","48.276381",451.6],["16.320448","48.276456",455.4],["16.320094","48.276519",458.8],["16.319596","48.276571",463.6],["16.319029","48.276781",468.4],["16.318671","48.276933",472],["16.318168","48.277054",476.6],["16.317843","48.276828",478.4],["16.317615","48.276517",482.2],["16.317368","48.276248",488.6],["16.317133","48.276038",494.4],["16.317005","48.27593",497.4],["16.316858","48.27577",501.6],["16.316638","48.275702",503.4],["16.316199","48.275407",507],["16.315932","48.275135",510],["16.315805","48.274955",512],["16.315542","48.274605",512.8],["16.314963","48.274131",513.6],["16.314366","48.273928",514.8],["16.313037","48.273905",513.4],["16.311551","48.273851",519.4],["16.310832","48.273606",523.8],["16.309406","48.272881",522.2],["16.308719","48.272531",522.6],["16.307632","48.272385",525.4],["16.306385","48.272194",527.8],["16.306141","48.272325",528],["16.305931","48.272757",530.4],["16.30515","48.273153",528.4],["16.304854","48.273435",524.4],["16.30481","48.273735",521.2],["16.304431","48.273998",515.6],["16.30443","48.274233",510.6],["16.304637","48.274367",506.8],["16.304718","48.274639",497],["16.304526","48.27492",491],["16.304463","48.275237",487.6],["16.304391","48.275388",485.8],["16.304123","48.275669",479.6],["16.303304","48.276133",473],["16.302917","48.27645",468.2],["16.30253","48.276804",460.6],["16.302389","48.277235",452],["16.302439","48.277443",446.6],["16.302466","48.277681",440.6],["16.302253","48.27799",435.8],["16.3027","48.278294",431.8],["16.302841","48.278517",426.4],["16.303142","48.278621",422],["16.303086","48.278789",418.6],["16.303136","48.279047",412.2],["16.303137","48.279206",410],["16.302517","48.279546",408.4],["16.302574","48.279837",405],["16.302464","48.280212",402.4],["16.302347","48.280485",396.8],["16.302172","48.280622",395],["16.302237","48.280885",390.8],["16.302687","48.281186",387.2],["16.303021","48.281531",381.2],["16.302778","48.281826",375.8],["16.302754","48.282076",370.6],["16.302784","48.282318",362.8],["16.302678","48.282555",357],["16.302708","48.282725",353.2],["16.302731","48.282905",346.4],["16.302185","48.283105",342.6],["16.301769","48.283076",334.4],["16.301515","48.282957",327.6],["16.301371","48.282849",323.4],["16.300983","48.282804",318.6],["16.300805","48.282741",315],["16.300569","48.283251",302.4],["16.300337","48.283743",292.8],["16.299926","48.284221",283.4],["16.299685","48.284631",277.6],["16.299451","48.285061",271.8],["16.299672","48.285248",266.8],["16.299499","48.285323",258.4]]}},{"type":"Feature","properties":{"type":99,"segment":"82285","segmentName":"Nussdorf - Krapfenwald","segmentDistance":"D\u013a\u017eka: 3.31 km<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 5.3 %<\/b>","segmentNameHref":"nussdorf-krapfenwald"},"geometry":{"type":"LineString","coordinates":[["16.368662","48.257902",203.8],["16.368662","48.257902",203.8],["16.367965","48.257914",204.4],["16.366526","48.258098",205.4],["16.365442","48.258469",207],["16.364775","48.258537",208.8],["16.364566","48.258872",210.4],["16.364331","48.258952",211],["16.363786","48.258716",212.4],["16.361665","48.258021",217.2],["16.360615","48.257872",219.4],["16.359156","48.257736",222.8],["16.357919","48.257552",226.2],["16.356231","48.25771",233.8],["16.355017","48.257834",238],["16.352615","48.257688",248],["16.352106","48.257635",250.8],["16.351166","48.257348",256.4],["16.350331","48.257285",259.6],["16.349683","48.257538",261.6],["16.349663","48.258329",263.8],["16.34872","48.258547",267.2],["16.347375","48.258749",272.2],["16.345499","48.259099",279.2],["16.343544","48.259526",286],["16.341741","48.260857",294.6],["16.34109","48.261371",301.2],["16.340124","48.262068",311.8],["16.339384","48.262682",320.2],["16.33866","48.26324",328],["16.337932","48.26379",335.8],["16.336986","48.26458",344.6],["16.335601","48.265645",356.8],["16.33502","48.266077",360],["16.33368","48.266569",363.2]]}},{"type":"Feature","properties":{"type":99,"segment":"39311","segmentName":"Wachr\u00fctteln bis Schreiberweg","segmentDistance":"D\u013a\u017eka: 1.11 km<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 3.8 %<\/b>","segmentNameHref":"wachrutteln-bis-schreiberweg"},"geometry":{"type":"LineString","coordinates":[["16.364566","48.258872",210.4],["16.364566","48.258872",210.4],["16.364331","48.258952",211],["16.364331","48.258952",211],["16.363786","48.258716",212.4],["16.361665","48.258021",217.2],["16.360615","48.257872",219.4],["16.359156","48.257736",222.8],["16.357919","48.257552",226.2],["16.356231","48.25771",233.8],["16.355017","48.257834",238],["16.352615","48.257688",248],["16.352106","48.257635",250.8],["16.351166","48.257348",256.4]]}},{"type":"Feature","properties":{"type":99,"segment":"39310","segmentName":"Heurigen Pave","segmentDistance":"D\u013a\u017eka: 348.80 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 2.8 %<\/b>","segmentNameHref":"heurigen-pave"},"geometry":{"type":"LineString","coordinates":[["16.364566","48.258872",210.4],["16.364566","48.258872",210.4],["16.364331","48.258952",211],["16.364331","48.258952",211],["16.363786","48.258716",212.4],["16.361665","48.258021",217.2]]}},{"type":"Feature","properties":{"type":99,"segment":"85482","segmentName":"TdW Neutral Zone 7.3","segmentDistance":"D\u013a\u017eka: 425.90 metrov<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -2.4 %<\/b>","segmentNameHref":"tdw-neutral-zone-73"},"geometry":{"type":"LineString","coordinates":[["16.363786","48.258716",212.4],["16.363786","48.258716",212.4],["16.361665","48.258021",217.2],["16.360615","48.257872",219.4],["16.359156","48.257736",222.8]]}},{"type":"Feature","properties":{"type":99,"segment":"39314","segmentName":"Co_Langacker-Climb","segmentDistance":"D\u013a\u017eka: 128.60 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 3.4 %<\/b>","segmentNameHref":"co_langacker-climb"},"geometry":{"type":"LineString","coordinates":[["16.352615","48.257688",248],["16.352615","48.257688",248],["16.352106","48.257635",250.8]]}},{"type":"Feature","properties":{"type":99,"segment":"82286","segmentName":"Krapfenwald Intervalls","segmentDistance":"D\u013a\u017eka: 1.25 km<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 7.2 %<\/b>","segmentNameHref":"krapfenwald-intervalls"},"geometry":{"type":"LineString","coordinates":[["16.343544","48.259526",286],["16.343544","48.259526",286],["16.341741","48.260857",294.6],["16.34109","48.261371",301.2],["16.340124","48.262068",311.8],["16.339384","48.262682",320.2],["16.33866","48.26324",328],["16.337932","48.26379",335.8],["16.336986","48.26458",344.6],["16.335601","48.265645",356.8],["16.33502","48.266077",360],["16.33368","48.266569",363.2]]}},{"type":"Feature","properties":{"type":99,"segment":"82287","segmentName":"Wildgrube orig.","segmentDistance":"D\u013a\u017eka: 1.34 km<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 8.2 %<\/b>","segmentNameHref":"wildgrube-orig"},"geometry":{"type":"LineString","coordinates":[["16.333874","48.270936",355.2],["16.333874","48.270936",355.2],["16.333788","48.271052",356.4],["16.333788","48.271052",356.4],["16.333117","48.271385",360.6],["16.332722","48.271629",364.4],["16.332415","48.271778",366],["16.331818","48.272158",370],["16.331245","48.272364",372.6],["16.330837","48.272534",374.4],["16.33032","48.272918",378.8],["16.329608","48.273327",383],["16.329181","48.273474",385.8],["16.328697","48.273665",390],["16.328083","48.273756",392],["16.326927","48.273926",401.2],["16.326324","48.274127",404.8],["16.325649","48.274354",409.2],["16.325259","48.274627",413.4],["16.324821","48.274939",416.8],["16.324389","48.275169",420.2],["16.323806","48.275507",424.8],["16.32337","48.275801",430.2],["16.323153","48.275949",434.2],["16.32282","48.276058",437.2],["16.322387","48.276126",441],["16.321648","48.276276",445],["16.321124","48.276338",449.4],["16.320759","48.276381",451.6],["16.320448","48.276456",455.4],["16.320094","48.276519",458.8]]}},{"type":"Feature","properties":{"type":99,"segment":"85481","segmentName":"Zickzack to Sch\u00f6nstadt Uphill","segmentDistance":"D\u013a\u017eka: 958.90 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 9.2 %<\/b>","segmentNameHref":"zickzack-to-schonstadt-uphill"},"geometry":{"type":"LineString","coordinates":[["16.329181","48.273474",385.8],["16.329181","48.273474",385.8],["16.328697","48.273665",390],["16.328083","48.273756",392],["16.326927","48.273926",401.2],["16.326324","48.274127",404.8],["16.325649","48.274354",409.2],["16.325259","48.274627",413.4],["16.324821","48.274939",416.8],["16.324389","48.275169",420.2],["16.323806","48.275507",424.8],["16.32337","48.275801",430.2],["16.323153","48.275949",434.2],["16.32282","48.276058",437.2],["16.322387","48.276126",441],["16.321648","48.276276",445],["16.321124","48.276338",449.4],["16.320759","48.276381",451.6],["16.320448","48.276456",455.4],["16.320094","48.276519",458.8],["16.319596","48.276571",463.6]]}},{"type":"Feature","properties":{"type":99,"segment":"82288","segmentName":"Sch\u00f6nstatt climb","segmentDistance":"D\u013a\u017eka: 1.08 km<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 4.3 %<\/b>","segmentNameHref":"schonstatt-climb"},"geometry":{"type":"LineString","coordinates":[["16.318168","48.277054",476.6],["16.318168","48.277054",476.6],["16.317843","48.276828",478.4],["16.317615","48.276517",482.2],["16.317368","48.276248",488.6],["16.317133","48.276038",494.4],["16.317005","48.27593",497.4],["16.316858","48.27577",501.6],["16.316638","48.275702",503.4],["16.316199","48.275407",507],["16.315932","48.275135",510],["16.315805","48.274955",512],["16.315542","48.274605",512.8],["16.314963","48.274131",513.6],["16.314366","48.273928",514.8],["16.313037","48.273905",513.4],["16.311551","48.273851",519.4],["16.310832","48.273606",523.8],["16.309406","48.272881",522.2],["16.308719","48.272531",522.6],["16.307632","48.272385",525.4],["16.306385","48.272194",527.8],["16.306141","48.272325",528],["16.305931","48.272757",530.4],["16.30515","48.273153",528.4],["16.304854","48.273435",524.4],["16.30481","48.273735",521.2],["16.304431","48.273998",515.6],["16.30443","48.274233",510.6],["16.304637","48.274367",506.8],["16.304718","48.274639",497],["16.304526","48.27492",491],["16.304463","48.275237",487.6],["16.304391","48.275388",485.8],["16.304123","48.275669",479.6]]}},{"type":"Feature","properties":{"type":99,"segment":"62200","segmentName":"Sch\u00f6nstatt Hillclimb","segmentDistance":"D\u013a\u017eka: 331.00 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 9.4 %<\/b>","segmentNameHref":"schonstatt-hillclimb"},"geometry":{"type":"LineString","coordinates":[["16.317615","48.276517",482.2],["16.317615","48.276517",482.2],["16.317368","48.276248",488.6],["16.317133","48.276038",494.4],["16.317005","48.27593",497.4],["16.316858","48.27577",501.6],["16.316638","48.275702",503.4],["16.316199","48.275407",507],["16.315932","48.275135",510],["16.315805","48.274955",512],["16.315542","48.274605",512.8]]}},{"type":"Feature","properties":{"type":99,"segment":"62216","segmentName":"s\u00fcdtirolerkomplett-alternative","segmentDistance":"D\u013a\u017eka: 1.97 km<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -13.2 %<\/b>","segmentNameHref":"sudtirolerkomplett-alternative"},"geometry":{"type":"LineString","coordinates":[["16.306385","48.272194",527.8],["16.306385","48.272194",527.8],["16.306141","48.272325",528],["16.306141","48.272325",528],["16.305931","48.272757",530.4],["16.30515","48.273153",528.4],["16.304854","48.273435",524.4],["16.30481","48.273735",521.2],["16.304431","48.273998",515.6],["16.30443","48.274233",510.6],["16.304637","48.274367",506.8],["16.304718","48.274639",497],["16.304526","48.27492",491],["16.304463","48.275237",487.6],["16.304391","48.275388",485.8],["16.304123","48.275669",479.6],["16.303304","48.276133",473],["16.302917","48.27645",468.2],["16.30253","48.276804",460.6],["16.302389","48.277235",452],["16.302439","48.277443",446.6],["16.302466","48.277681",440.6],["16.302253","48.27799",435.8],["16.3027","48.278294",431.8],["16.302841","48.278517",426.4],["16.303142","48.278621",422],["16.303086","48.278789",418.6],["16.303136","48.279047",412.2],["16.303137","48.279206",410],["16.302517","48.279546",408.4],["16.302574","48.279837",405],["16.302464","48.280212",402.4],["16.302347","48.280485",396.8],["16.302172","48.280622",395],["16.302237","48.280885",390.8],["16.302687","48.281186",387.2],["16.303021","48.281531",381.2],["16.302778","48.281826",375.8],["16.302754","48.282076",370.6],["16.302784","48.282318",362.8],["16.302678","48.282555",357],["16.302708","48.282725",353.2],["16.302731","48.282905",346.4],["16.302185","48.283105",342.6],["16.301769","48.283076",334.4],["16.301515","48.282957",327.6],["16.301371","48.282849",323.4],["16.300983","48.282804",318.6],["16.300805","48.282741",315],["16.300569","48.283251",302.4],["16.300337","48.283743",292.8],["16.299926","48.284221",283.4],["16.299685","48.284631",277.6],["16.299451","48.285061",271.8]]}},{"type":"Feature","properties":{"type":99,"segment":"62217","segmentName":"s\u00fcdtiroler part1&alternative","segmentDistance":"D\u013a\u017eka: 954.20 metrov<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -11.6 %<\/b>","segmentNameHref":"sudtiroler-part1alternative"},"geometry":{"type":"LineString","coordinates":[["16.306385","48.272194",527.8],["16.306385","48.272194",527.8],["16.306141","48.272325",528],["16.306141","48.272325",528],["16.305931","48.272757",530.4],["16.305931","48.272757",530.4],["16.30515","48.273153",528.4],["16.304854","48.273435",524.4],["16.30481","48.273735",521.2],["16.304431","48.273998",515.6],["16.30443","48.274233",510.6],["16.304637","48.274367",506.8],["16.304718","48.274639",497],["16.304526","48.27492",491],["16.304463","48.275237",487.6],["16.304391","48.275388",485.8],["16.304123","48.275669",479.6],["16.303304","48.276133",473],["16.302917","48.27645",468.2],["16.30253","48.276804",460.6],["16.302389","48.277235",452],["16.302439","48.277443",446.6],["16.302466","48.277681",440.6],["16.302253","48.27799",435.8],["16.3027","48.278294",431.8],["16.302841","48.278517",426.4],["16.303142","48.278621",422],["16.303086","48.278789",418.6]]}},{"type":"Feature","properties":{"type":99,"segment":"62218","segmentName":"s\u00fcdtiroler part2","segmentDistance":"D\u013a\u017eka: 421.10 metrov<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -15.5 %<\/b>","segmentNameHref":"sudtiroler-part2"},"geometry":{"type":"LineString","coordinates":[["16.302517","48.279546",408.4],["16.302517","48.279546",408.4],["16.302574","48.279837",405],["16.302464","48.280212",402.4],["16.302347","48.280485",396.8],["16.302172","48.280622",395],["16.302237","48.280885",390.8],["16.302687","48.281186",387.2],["16.303021","48.281531",381.2],["16.302778","48.281826",375.8],["16.302754","48.282076",370.6],["16.302784","48.282318",362.8],["16.302678","48.282555",357]]}},{"type":"Feature","properties":{"type":99,"segment":"83443","segmentName":"S\u00fcdtiroler Part Two","segmentDistance":"D\u013a\u017eka: 799.00 metrov<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -18.3 %<\/b>","segmentNameHref":"sudtiroler-part-two"},"geometry":{"type":"LineString","coordinates":[["16.302517","48.279546",408.4],["16.302517","48.279546",408.4],["16.302574","48.279837",405],["16.302574","48.279837",405],["16.302464","48.280212",402.4],["16.302347","48.280485",396.8],["16.302172","48.280622",395],["16.302237","48.280885",390.8],["16.302687","48.281186",387.2],["16.303021","48.281531",381.2],["16.302778","48.281826",375.8],["16.302754","48.282076",370.6],["16.302784","48.282318",362.8],["16.302678","48.282555",357],["16.302708","48.282725",353.2],["16.302731","48.282905",346.4],["16.302185","48.283105",342.6],["16.301769","48.283076",334.4],["16.301515","48.282957",327.6],["16.301371","48.282849",323.4],["16.300983","48.282804",318.6],["16.300805","48.282741",315],["16.300569","48.283251",302.4],["16.300337","48.283743",292.8],["16.299926","48.284221",283.4],["16.299685","48.284631",277.6],["16.299451","48.285061",271.8]]}},{"type":"Feature","properties":{"type":99,"segment":"82291","segmentName":"Sachsengasse","segmentDistance":"D\u013a\u017eka: 459.80 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 6.8 %<\/b>","segmentNameHref":"sachsengasse"},"geometry":{"type":"LineString","coordinates":[["16.329069","48.295058",218.2],["16.329069","48.295058",218.2],["16.329715","48.294446",220.4],["16.329856","48.29378",224.6],["16.330318","48.29326",230.4],["16.330644","48.292822",235.2],["16.330785","48.292384",239.6],["16.331034","48.29177",244.4],["16.331173","48.291421",247.8]]}},{"type":"Feature","properties":{"type":99,"segment":"82292","segmentName":"Kahlenberg Assphalt","segmentDistance":"D\u013a\u017eka: 1.04 km<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 7 %<\/b>","segmentNameHref":"kahlenberg-assphalt"},"geometry":{"type":"LineString","coordinates":[["16.329069","48.295058",218.2],["16.329069","48.295058",218.2],["16.329715","48.294446",220.4],["16.329856","48.29378",224.6],["16.330318","48.29326",230.4],["16.330644","48.292822",235.2],["16.330785","48.292384",239.6],["16.331034","48.29177",244.4],["16.331173","48.291421",247.8],["16.331339","48.29076",253],["16.330424","48.290263",256.8],["16.329416","48.289978",261.6],["16.328862","48.289812",265.6],["16.328564","48.289564",269],["16.327822","48.289319",275.6],["16.326827","48.289285",280.8],["16.325806","48.289135",284.6],["16.325744","48.288686",287.4]]}},{"type":"Feature","properties":{"type":99,"segment":"82293","segmentName":"H\u00f6henstra\u00dfe, Josefsdorf Climb","segmentDistance":"D\u013a\u017eka: 2.33 km<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 7.8 %<\/b>","segmentNameHref":"hohenstrase-josefsdorf-climb"},"geometry":{"type":"LineString","coordinates":[["16.331339","48.29076",253],["16.331339","48.29076",253],["16.330424","48.290263",256.8],["16.330424","48.290263",256.8],["16.329416","48.289978",261.6],["16.328862","48.289812",265.6],["16.328564","48.289564",269],["16.327822","48.289319",275.6],["16.326827","48.289285",280.8],["16.325806","48.289135",284.6],["16.325744","48.288686",287.4],["16.325867","48.287968",293.4],["16.325542","48.287582",297.8],["16.324908","48.287333",302.2],["16.323904","48.287146",308.6],["16.322682","48.287252",315.6],["16.323595","48.286525",323.2],["16.324889","48.285966",333.4],["16.325612","48.28595",338.2],["16.326082","48.285896",341.2],["16.325709","48.285661",344.2],["16.325322","48.285578",346.8],["16.32462","48.285476",351],["16.323864","48.285486",355],["16.323301","48.285392",358],["16.32333","48.285133",359.4],["16.323753","48.285131",361],["16.324362","48.285233",363.8],["16.324782","48.285168",366.4],["16.325338","48.285023",369.6],["16.32609","48.284915",373.2],["16.325924","48.284679",375],["16.325482","48.284673",377.8],["16.32485","48.284653",381.4],["16.32462","48.284535",383.8],["16.324216","48.284382",387],["16.324122","48.283764",393.8],["16.324556","48.283543",398.2],["16.325122","48.283448",402.4],["16.325496","48.283164",405.6],["16.325571","48.282929",407],["16.325653","48.282411",412.6],["16.325674","48.281965",416]]}},{"type":"Feature","properties":{"type":99,"segment":"82294","segmentName":"BZF Test Segment","segmentDistance":"D\u013a\u017eka: 1.15 km<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 8 %<\/b>","segmentNameHref":"bzf-test-segment"},"geometry":{"type":"LineString","coordinates":[["16.329416","48.289978",261.6],["16.329416","48.289978",261.6],["16.328862","48.289812",265.6],["16.328564","48.289564",269],["16.327822","48.289319",275.6],["16.326827","48.289285",280.8],["16.325806","48.289135",284.6],["16.325744","48.288686",287.4],["16.325867","48.287968",293.4],["16.325542","48.287582",297.8],["16.324908","48.287333",302.2],["16.323904","48.287146",308.6],["16.322682","48.287252",315.6],["16.323595","48.286525",323.2],["16.324889","48.285966",333.4],["16.325612","48.28595",338.2],["16.326082","48.285896",341.2],["16.325709","48.285661",344.2]]}},{"type":"Feature","properties":{"type":99,"segment":"82295","segmentName":"Kahlenberg VV ","segmentDistance":"D\u013a\u017eka: 3.21 km<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 6.6 %<\/b>","segmentNameHref":"kahlenberg-vv"},"geometry":{"type":"LineString","coordinates":[["16.325867","48.287968",293.4],["16.325867","48.287968",293.4],["16.325542","48.287582",297.8],["16.324908","48.287333",302.2],["16.323904","48.287146",308.6],["16.322682","48.287252",315.6],["16.323595","48.286525",323.2],["16.324889","48.285966",333.4],["16.325612","48.28595",338.2],["16.326082","48.285896",341.2],["16.325709","48.285661",344.2],["16.325322","48.285578",346.8],["16.32462","48.285476",351],["16.323864","48.285486",355],["16.323301","48.285392",358],["16.32333","48.285133",359.4],["16.323753","48.285131",361],["16.324362","48.285233",363.8],["16.324782","48.285168",366.4],["16.325338","48.285023",369.6],["16.32609","48.284915",373.2],["16.325924","48.284679",375],["16.325482","48.284673",377.8],["16.32485","48.284653",381.4],["16.32462","48.284535",383.8],["16.324216","48.284382",387],["16.324122","48.283764",393.8],["16.324556","48.283543",398.2],["16.325122","48.283448",402.4],["16.325496","48.283164",405.6],["16.325571","48.282929",407],["16.325653","48.282411",412.6],["16.325674","48.281965",416],["16.325392","48.280914",418],["16.32578","48.280511",418.2],["16.327131","48.280115",417.4],["16.328354","48.279953",421.6],["16.328931","48.279985",424.8],["16.329656","48.280241",429],["16.330102","48.28053",431.6],["16.330578","48.28065",434.2],["16.331131","48.280946",439.4],["16.331682","48.281174",441.4],["16.332087","48.281315",443.2],["16.332803","48.281382",444.8],["16.333956","48.281044",446],["16.333743","48.280688",449],["16.333671","48.280436",450],["16.333732","48.280132",452.2],["16.333989","48.279645",455.6],["16.333849","48.279279",458.4],["16.333074","48.279622",461.6],["16.332389","48.280136",466.4],["16.331587","48.280022",469],["16.331463","48.279695",471],["16.331908","48.279379",474],["16.332427","48.279073",477],["16.332886","48.278817",479.4],["16.33346","48.278418",482.4],["16.333802","48.278143",485.4],["16.334418","48.277856",488.8]]}},{"type":"Feature","properties":{"type":99,"segment":"82296","segmentName":"Kahlenberg - 3 Kurven ab Eichweg","segmentDistance":"D\u013a\u017eka: 875.50 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 9.8 %<\/b>","segmentNameHref":"kahlenberg-3-kurven-ab-eichweg"},"geometry":{"type":"LineString","coordinates":[["16.325867","48.287968",293.4],["16.325867","48.287968",293.4],["16.325542","48.287582",297.8],["16.324908","48.287333",302.2],["16.323904","48.287146",308.6],["16.322682","48.287252",315.6],["16.323595","48.286525",323.2],["16.324889","48.285966",333.4],["16.325612","48.28595",338.2],["16.326082","48.285896",341.2],["16.325709","48.285661",344.2],["16.325322","48.285578",346.8],["16.32462","48.285476",351],["16.323864","48.285486",355]]}},{"type":"Feature","properties":{"type":99,"segment":"62207","segmentName":"lange steile Linkskehre","segmentDistance":"D\u013a\u017eka: 502.90 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 9 %<\/b>","segmentNameHref":"lange-steile-linkskehre"},"geometry":{"type":"LineString","coordinates":[["16.325924","48.284679",375],["16.325924","48.284679",375],["16.325482","48.284673",377.8],["16.32485","48.284653",381.4],["16.32462","48.284535",383.8],["16.324216","48.284382",387],["16.324122","48.283764",393.8],["16.324556","48.283543",398.2],["16.325122","48.283448",402.4],["16.325496","48.283164",405.6],["16.325571","48.282929",407],["16.325653","48.282411",412.6],["16.325674","48.281965",416],["16.325392","48.280914",418],["16.32578","48.280511",418.2]]}},{"type":"Feature","properties":{"type":99,"segment":"62208","segmentName":"Kahlenbg Intermezzo","segmentDistance":"D\u013a\u017eka: 833.30 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 3.7 %<\/b>","segmentNameHref":"kahlenbg-intermezzo"},"geometry":{"type":"LineString","coordinates":[["16.325653","48.282411",412.6],["16.325653","48.282411",412.6],["16.325674","48.281965",416],["16.325674","48.281965",416],["16.325392","48.280914",418],["16.32578","48.280511",418.2],["16.327131","48.280115",417.4],["16.328354","48.279953",421.6],["16.328931","48.279985",424.8],["16.329656","48.280241",429],["16.330102","48.28053",431.6],["16.330578","48.28065",434.2],["16.331131","48.280946",439.4],["16.331682","48.281174",441.4],["16.332087","48.281315",443.2],["16.332803","48.281382",444.8]]}},{"type":"Feature","properties":{"type":99,"segment":"36096","segmentName":"H\u00f6henstra\u00dfe Waldseilpark-Parkplatz Kahlenberg","segmentDistance":"D\u013a\u017eka: 685.50 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 5.3 %<\/b>","segmentNameHref":"hohenstrase-waldseilpark-parkplatz-kahlenberg"},"geometry":{"type":"LineString","coordinates":[["16.333732","48.280132",452.2],["16.333732","48.280132",452.2],["16.333989","48.279645",455.6],["16.333849","48.279279",458.4],["16.333074","48.279622",461.6],["16.332389","48.280136",466.4],["16.331587","48.280022",469],["16.331463","48.279695",471],["16.331908","48.279379",474],["16.332427","48.279073",477],["16.332886","48.278817",479.4],["16.33346","48.278418",482.4],["16.333802","48.278143",485.4],["16.334418","48.277856",488.8]]}},{"type":"Feature","properties":{"type":99,"segment":"62209","segmentName":"Kahlenberg Hill Sprint 2","segmentDistance":"D\u013a\u017eka: 487.50 metrov<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -1.2 %<\/b>","segmentNameHref":"kahlenberg-hill-sprint-2"},"geometry":{"type":"LineString","coordinates":[["16.334556","48.277241",493.2],["16.334556","48.277241",493.2],["16.333646","48.277662",496.4],["16.332562","48.278104",501],["16.33169","48.27821",503.2],["16.33077","48.277863",505.6],["16.330273","48.277588",506.6]]}},{"type":"Feature","properties":{"type":99,"segment":"82297","segmentName":"High Speed to Wiener Weinweg","segmentDistance":"D\u013a\u017eka: 604.00 metrov<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -8.3 %<\/b>","segmentNameHref":"high-speed-to-wiener-weinweg"},"geometry":{"type":"LineString","coordinates":[["16.327962","48.272029",437.4],["16.327962","48.272029",437.4],["16.328742","48.2717",430.2],["16.329399","48.271123",424],["16.329385","48.270763",418.4],["16.329105","48.269943",414.8],["16.329001","48.269622",414.8],["16.329103","48.269317",413],["16.329339","48.268866",405.4],["16.330331","48.268178",391.8]]}},{"type":"Feature","properties":{"type":99,"segment":"65018","segmentName":"Donaukanal Nord-S\u00fcd","segmentDistance":"D\u013a\u017eka: 3.30 km<\/b>","segmentGrade":"Priemern\u00e9 klesanie: 0 %<\/b>","segmentNameHref":"donaukanal-nord-sud"},"geometry":{"type":"LineString","coordinates":[["16.370359","48.247638",208.2],["16.370359","48.247638",208.2],["16.368945","48.246334",208.6],["16.368317","48.245671",208.4],["16.367123","48.244475",209.2],["16.366483","48.243823",208.6],["16.365862","48.243172",207.6],["16.364625","48.241599",208.6],["16.364075","48.240891",208.8],["16.36321","48.239584",209],["16.362335","48.238103",208.6],["16.361916","48.237321",209],["16.36126","48.235638",210.6],["16.361147","48.235221",211.8],["16.361009","48.234626",212.4],["16.360903","48.234105",212.2],["16.360958","48.233074",212],["16.361642","48.231793",211.6],["16.361829","48.231208",210.8],["16.36268","48.22972",210.8],["16.363559","48.228437",211.4],["16.365542","48.22676",211],["16.366533","48.226058",211],["16.367421","48.224786",209.2],["16.36764","48.224164",209.8],["16.367622","48.222882",208.8],["16.36778","48.221789",209.6]]}},{"type":"Feature","properties":{"type":99,"segment":"5317","segmentName":"SpittelauDownAndUpSprint","segmentDistance":"D\u013a\u017eka: 344.60 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 0.2 %<\/b>","segmentNameHref":"spittelaudownandupsprint"},"geometry":{"type":"LineString","coordinates":[["16.361829","48.231208",210.8],["16.361829","48.231208",210.8],["16.36268","48.22972",210.8],["16.363559","48.228437",211.4]]}},{"type":"Feature","properties":{"type":99,"segment":"15209","segmentName":"Franz-Josefs-Kai Strada","segmentDistance":"D\u013a\u017eka: 338.50 metrov<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -0.1 %<\/b>","segmentNameHref":"franz-josefs-kai-strada"},"geometry":{"type":"LineString","coordinates":[["16.371504","48.217445",209.6],["16.371504","48.217445",209.6],["16.373613","48.215465",209.4]]}},{"type":"Feature","properties":{"type":99,"segment":"36493","segmentName":"1km Danube-canal Sprint","segmentDistance":"D\u013a\u017eka: 958.92 metrov<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -0.2 %<\/b>","segmentNameHref":"1km-danube-canal-sprint"},"geometry":{"type":"LineString","coordinates":[["16.373613","48.215465",209.4],["16.373613","48.215465",209.4],["16.374161","48.214412",213.6],["16.37427","48.214197",215.4],["16.37447","48.213956",216],["16.375446","48.213028",214.8],["16.376837","48.212226",214],["16.37846","48.211835",215.6],["16.378867","48.211762",215.6],["16.380868","48.211558",216],["16.382645","48.211571",215.2],["16.382661","48.211238",215],["16.382365","48.209996",218.2],["16.382078","48.209231",219.8]]}},{"type":"Feature","properties":{"type":99,"segment":"47154","segmentName":"Salztor2Schwarzenberg","segmentDistance":"D\u013a\u017eka: 2.11 km<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 0.6 %<\/b>","segmentNameHref":"salztor2schwarzenberg"},"geometry":{"type":"LineString","coordinates":[["16.37427","48.214197",215.4],["16.37427","48.214197",215.4],["16.37447","48.213956",216],["16.375446","48.213028",214.8],["16.376837","48.212226",214],["16.37846","48.211835",215.6],["16.378867","48.211762",215.6],["16.380868","48.211558",216],["16.382645","48.211571",215.2],["16.382661","48.211238",215],["16.382365","48.209996",218.2],["16.382078","48.209231",219.8],["16.381766","48.208598",218.6],["16.380757","48.207471",221.6],["16.380757","48.207371",217],["16.380733","48.207189",216.2],["16.379556","48.206076",217.2],["16.378456","48.204877",217.6],["16.37811","48.204588",218.2],["16.377601","48.204044",218.4],["16.377051","48.203506",219.8],["16.376334","48.202883",220.2],["16.375866","48.202463",220.6],["16.375527","48.202085",221.4],["16.37444","48.20141",219.6],["16.373636","48.201309",220.2],["16.373448","48.200854",221.8],["16.373207","48.200124",220.8],["16.372976","48.199955",220.6],["16.372366","48.199492",221.6],["16.372172","48.199114",220.8],["16.371562","48.198544",222],["16.371124","48.198229",223],["16.371773","48.197661",223.6],["16.371834","48.197233",223.8],["16.371978","48.196823",224.6],["16.372415","48.195981",224.4],["16.372765","48.195724",225.4]]}},{"type":"Feature","properties":{"type":99,"segment":"41585","segmentName":"Stadtpark Sprint @ home","segmentDistance":"D\u013a\u017eka: 515.90 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 1.5 %<\/b>","segmentNameHref":"stadtpark-sprint-%40-home"},"geometry":{"type":"LineString","coordinates":[["16.380733","48.207189",216.2],["16.380733","48.207189",216.2],["16.379556","48.206076",217.2],["16.378456","48.204877",217.6],["16.37811","48.204588",218.2],["16.377601","48.204044",218.4]]}},{"type":"Feature","properties":{"type":99,"segment":"82301","segmentName":"benja park uphill","segmentDistance":"D\u013a\u017eka: 209.20 metrov<\/b>","segmentGrade":"Priemern\u00e9 st\u00fapanie: 4.3 %<\/b>","segmentNameHref":"benja-park-uphill"},"geometry":{"type":"LineString","coordinates":[["16.374183","48.193275",228.8],["16.374183","48.193275",228.8],["16.374544","48.19262",232.8]]}},{"type":"Feature","properties":{"type":99,"segment":"82284","segmentName":"Argentinierstra\u00dfe down","segmentDistance":"D\u013a\u017eka: 1.22 km<\/b>","segmentGrade":"Priemern\u00e9 klesanie: -2 %<\/b>","segmentNameHref":"argentinierstrase-down"},"geometry":{"type":"LineString","coordinates":[["16.377211","48.187295",246.4],["16.377211","48.187295",246.4],["16.377543","48.186781",247.8],["16.377872","48.185897",251.2],["16.37816","48.183965",250],["16.379218","48.183747",246.2],["16.380457","48.183461",248.8],["16.381173","48.182829",250],["16.381318","48.182659",249.4],["16.381645","48.182131",250.4],["16.381837","48.181669",250.4]]}}] var layerGroup = L.layerGroup().addTo(map_leaflet); var layerGroupAllSegments = L.layerGroup(); if (gpx_segments != undefined) { gpx_segments_layer = L.geoJson(gpx_segments, { style: function(feature, layer) { return { 'weight': 10, 'color': '#bb6300', 'opacity': 1, }; }, onEachFeature:onEachFeature, }); function onEachFeature(feature, layer) { sn++; var prop = layer.feature.properties; var desc = getDescription(prop.type, prop.trailName, prop.trailId, prop.trailStatus, prop.segmentName, prop.segment, prop.segmentDistance, prop.segmentGrade, prop.segmentNameHref); var sl = feature.geometry.coordinates[0][1]; var sr = feature.geometry.coordinates[0][0]; var el = feature.geometry.coordinates[feature.geometry.coordinates.length - 1][1]; var er = feature.geometry.coordinates[feature.geometry.coordinates.length - 1][0]; if (sl != '' && sr != '' && el != '' && er != '') { var sm = new L.marker(L.latLng(sl, sr), {icon: startIcon}); var em = new L.marker(L.latLng(el, er), {icon: endIcon}); } var layerGroup = L.featureGroup(); layerGroup.addLayer(sm); layerGroup.addLayer(em); sm.bindPopup(desc); em.bindPopup(desc); var popupLayer = L.popup().setLatLng(L.latLng(sl, sr)).setContent(desc); layerGroup.bindPopup(popupLayer).openPopup(); layerGroup.addLayer(layer); segments.push(layerGroup); layer.on("click", function(e) { var desc = getDescription(prop.type, prop.trailName, prop.trailId, prop.trailStatus, prop.segmentName, prop.segment, prop.segmentDistance, prop.segmentGrade, prop.segmentNameHref); if (desc) { var popup = L.popup() .setLatLng(e.latlng) .setContent(desc) .openOn(map_leaflet); } }); //controlLayers.addOverlay(layerGroup, 'Segmenty na trase - ' + feature.properties.segmentName); } var displaySeg = 0; function showSegment(seg) { segments[displaySeg].remove(map_leaflet); segments[displaySeg]._popup.remove(map_leaflet); segments[seg].addTo(map_leaflet); segments[seg]._popup.addTo(map_leaflet); displaySeg = seg; var bounds = segments[seg].getBounds(); map_leaflet.fitBounds(bounds, {padding: [30, 30]}); $.scrollTo( '#map_leaflet', 800, {offset: -120} ); } } // geo location through leaflet plugin var lc = L.control.locate({ drawCircle: false, follow: true, markerStyle: {color: '#000000',fillColor: '#ee7711',fillOpacity: 0.7,weight: 4,opacity: 0.7,radius: 7}, strings: { title: "Ukáž mi, kde sa nachádzam", // title of the locate control popup: "Si v okolí {distance} {unit} od tohto bodu", // text to appear if user clicks on circle outsideMapBoundsMsg: "Nachádzaš sa mimo oblasti tejto mapy" // default message for onLocationOutsideMapBounds } }).addTo(map_leaflet); map_leaflet.on('startfollowing', function() { map_leaflet.on('dragstart', lc.stopFollowing); }).on('stopfollowing', function() { map_leaflet.off('dragstart', lc.stopFollowing); }); $(document).ready(function() { map_leaflet.on('baselayerchange', function(){ var id = event.currentTarget.layerId; var layer = this._layers[id]; $.ajax({ type: "POST", url: "/ajax.php?u=Cyklotrasy&f=saveDefaultMap&a=" + layer.options.name, }); }) }); $('#elevationDiv').html(''); $('.elevation').appendTo('#elevationDiv'); //gallery carousel multiple items - hack $(function(){ // init arrows $('.gallery-carousel').each(function(){ var itemsPerSlide = 3; if ($(this).data('items-per-slide')) itemsPerSlide = $(this).data('items-per-slide'); if ($('.carousel-item', this).length <= itemsPerSlide){ $('.carousel-control-next', this).addClass('disabled'); } }); $('.gallery-carousel').on('slide.bs.carousel', function (e) { if (!window.matchMedia("(min-width: 768px)").matches) return; // default behaviour on mobile /* CC 2.0 License Iatek LLC 2018 - Attribution required */ var $e = $(e.relatedTarget); var idx = $e.index(); var itemsPerSlide = 3; if ($(this).data('items-per-slide')) itemsPerSlide = $(this).data('items-per-slide'); var totalItems = $('.carousel-item', this).length; if ($(this).data('ended')==true && e.direction=='left'){ return false; } if (e.to===0){ $('.carousel-control-prev', this).addClass('disabled'); }else{ $('.carousel-control-prev', this).removeClass('disabled'); } if (e.to>=totalItems - itemsPerSlide){ $('.carousel-control-next', this).addClass('disabled'); $(this).data('ended', true); }else{ $('.carousel-control-next', this).removeClass('disabled'); $(this).data('ended', false); } }); }); function initEkkoLightbox(){ $('[data-toggle="lightbox"]:not(.lightbox-ready)').on('click', function(event) { event.preventDefault(); event.stopImmediatePropagation(); //$(this).removeAttr('href').attr('role', 'button'); var $this = $(this); $this.ekkoLightbox({ alwaysShowClose: true, wrapping: false, //Whether the gallery should loop or not leftArrow: '', rightArrow: '', onNavigate: function(){ $('.ekko-lightbox').removeClass('zoomed'); }, onShow: function(){ if (!$this.hasClass('no-zoom')) { $('.ekko-lightbox .modal-header').prepend('zoom_inzoom_out'); } $('.ekko-lightbox .ekko-lightbox-item').bind('touchstart touchend touchup swipeLeft swipeRight', function(event) { if ($('.ekko-lightbox').hasClass('zoomed') || (window.visualViewport && window.visualViewport.scale > 1.02)){ event.stopPropagation(); } }); $('.ekko-lightbox .ekko-lightbox-nav-overlay').bind('touchstart touchend touchup swipeLeft swipeRight', function(event) { if ($('.ekko-lightbox').hasClass('pinch-zoomed') || (window.visualViewport && window.visualViewport.scale > 1.02)){ $('.ekko-lightbox').addClass('pinch-zoomed'); event.stopPropagation(); } if (window.visualViewport && window.visualViewport.scale <= 1.02){ setTimeout(function(){ if (window.visualViewport && window.visualViewport.scale <= 1.02){ //check again after timeout $('.ekko-lightbox').removeClass('pinch-zoomed'); } },100); } }); if (window.matchMedia("(min-width: 768px)").matches) { $('body').addClass('ekko-modal-open'); } onPopupOpened('ekko-lightbox'); }, onShown: function(){ }, onHidden: function(){ $('body').removeClass('ekko-modal-open'); onPopupClosed(); } }); return false; }); $('[data-toggle="lightbox"]').addClass('lightbox-ready'); } $(function(){ $('.show-alt-in-lightbox[data-toggle="lightbox"]').each(function(){ $(this).data('footer', $(this).find('img').attr('title')); }); $('body').on('click', '.ekko-lightbox-zoom', function(){ $('.ekko-lightbox').toggleClass('zoomed'); }); $('body').on('click', '.ekko-lightbox.zoomed .ekko-lightbox-item.show ', function(){ $('.ekko-lightbox').removeClass('zoomed'); }) initEkkoLightbox(); $(document).ajaxComplete(function(event, xhr, settings) { //if (xhr.responseText.indexOf('lightbox') >= 0){ initEkkoLightbox(); //} }); }); function favoriteRide(ride) { $.ajax({ type: "POST", data: {id : ride, ride : 1}, dataType: "json", url: "/ajax.php?u=cyklotrasy&f=toggleFavourite", success: function(data) { if (data.added === 1) { $('.btn-wishlist.show-add-to-wishlist').hide(); $('.btn-wishlist.show-remove-from-wishlist').show(); //potrebuje dllllho zobrazit showMessageBar('#favoriteSuccess', 60*1000); } else { $('.btn-wishlist.show-remove-from-wishlist').hide(); $('.btn-wishlist.show-add-to-wishlist').show(); showMessageBar('#favoriteSuccessRemove'); } } }); } $(document).ready(function(){ //mobile map popup $('.close-map-widget').click(function(){ $('#map-widget').removeClass('show'); return false; }); $('.show-map-widget').click(function(){ $('#map-widget').addClass('show'); return false; }); $('a[href="#comments"]').on('click', function(e){ e.preventDefault(); commentsScroll('#comments'); return false; }); if ($('#segmenty').length){ if (location.hash.indexOf('#segmenty')>=0){ if (window.innerWidth>=768){ $.scrollTo( '#segmenty', 800, {offset: -100} ); } $('#segmenty-expander').prop('checked', true); } var $pagination = $('#segmentyList table .pagination-wrap'); $pagination.appendTo('#segmentyList'); $('#segmentyList .row-pagination').remove(); } }); function showPhotoOnMap() { if (typeof L !== "undefined"){ var photos = [{"lat":"0","lng":"0","url":"https:\/\/images.mtbiker.sk\/vyjazdy\/big\/stravaPhoto611211-0_608c393ae2091.jpg","thumbnail":"https:\/\/images.mtbiker.sk\/vyjazdy\/big\/stravaPhoto611211-0_608c393ae2091.jpg"}] var photoLayer = L.photo.cluster().on("click", function(evt) { var photo = evt.layer.photo; var template = ""; evt.layer.bindPopup(L.Util.template(template, photo), { className: "leafletresize", minWidth: 100, }).openPopup(); }); var photoOnMapLayer = photoLayer.add(photos); map_leaflet.addLayer(photoOnMapLayer); controlLayers.addOverlay(photoOnMapLayer, "Fotky na mape") } } $(function() { showPhotoOnMap(); }); var loadedComments_comments = false; function loadComments_comments(){ } // Comments $(function(){ $('.comment-form, .review-form', '#comments').on('submit', function(){ $(this).attr('autocomplete',"off"); // prevent prepopulating fields on backbtn click if (history.state && history.state.popupOpened === 'mobile-expander'){ $('.mobile-expander-content', '#comments').addClass('opened'); history.back(); } }); $('select[name=sort], select[name=filter]', '#comments').on('change', function() { let inputName = $(this).attr('name'); let sort = $('select[name=sort]', '#comments').val(); let filter = $('select[name=filter]', '#comments').length ? $('select[name=filter]', '#comments ').val() : ''; var url = "/ajax.php?m=komentare&f=loadCommentsWidget&a=bW9kdWw9dnlqYXpkeSZleHRlcm5hbElkPTYxMTIxMSZpdGVtTmFtZT1WJUMzJUJEamF6ZCslQzQlOEQuKzYxMTIxMSZjb21tZW50VHlwZT1jb21tZW50JmF1dGhvclVzZXJJZD02NDY5OSZ3aWRnZXRJZD1jb21tZW50cyZhbGxvd0luc2VydD0xJmFsbG93UmVwbHk9MSZyZXR1cm5Vcmw9aHR0cHMlM0ElMkYlMkZ3d3cubXRoaWtlci5zayUyRmFrdGl2aXR5JTJGNjExMjExJTJGYmljeWtlbC1hZnRlcm5vb24tcmlkZS5odG1sJnBhcnNlZFVybCU1QnNjaGVtZSU1RD1odHRwcyZwYXJzZWRVcmwlNUJob3N0JTVEPXd3dy5tdGhpa2VyLnNrJnBhcnNlZFVybCU1QnBhdGglNUQ9JTJGYWt0aXZpdHklMkY2MTEyMTElMkZiaWN5a2VsLWFmdGVybm9vbi1yaWRlLmh0bWwmaW5jbHVkZUNvbW1lbnRJZD0w|" + sort + "|" + filter; if (inputName === 'filter') { if (parseInt(filter) === 3 && !customScoreDone) { loadScoreSettingsModal(); return false; } } $('#comments .comments-body-content').addClass('show-loading'); $.ajax({ url: url, success: function(data) { $('#comments .comments-body-content').html(data).removeClass('show-loading'); } }); }); }); // Comments function toggleHiddenComment(comment_id) { $("#commentBox" + comment_id + " .comment-hidden").remove(); $("#commentBox" + comment_id + " .comment-content").show(); } function closeScoreFilterBanner() { $('#commentsScoreFilterBanner').fadeOut(150); $.post('/ajax.php?m=komentare&f=closeScoreFilterBanner'); } function commentsScroll(toElement, offset, noAnimation){ // edit/reply from feed link if ((typeof toElement === 'string' || toElement instanceof String) && toElement.indexOf('#commentBox') >= 0) { let commentId = parseInt(toElement.replace('#commentBox', '')); if (!isNaN(commentId) && commentId) { if (parseInt(localStorage.getItem('replyToCommentId')) === commentId) { localStorage.removeItem('replyToCommentId'); if ($('.comment-reply-btn', toElement).length) { history.replaceState(null, null, ' '); setTimeout(function(){ $('.comment-reply-btn', toElement).first().click(); }, 0); return; } } else if(parseInt(localStorage.getItem('editCommentId')) === commentId) { localStorage.removeItem('editCommentId'); if ( $('.comment-edit-btn', toElement).length) { history.replaceState(null, null, ' '); $('.comment-edit-btn', toElement).first().click(); return; } } } } if (!offset) offset = 0; if (!window.matchMedia("(min-width: 768px)").matches && true) { if ($(toElement).length) { $(toElement).closest('.comments-body-content').scrollTo( toElement, 800, {offset: -10 + offset} ); } } else { if ($(toElement).length){ var headerhHeight = 120 + ($('#shop-info-bar').length ? $('#shop-info-bar').outerHeight() : 0); if (!window.matchMedia("(min-width: 768px)").matches){ headerhHeight = $('#header').outerHeight() + $('#shop-detail-nav').outerHeight() + 20; } if (noAnimation){ setTimeout(function(){ $(window).scrollTop($(toElement).offset().top - headerhHeight + offset); }, 100); var dontScrollAgain = false; setTimeout(function(){ dontScrollAgain = true; }, 3000); $(window).on('load', function(){ if (!dontScrollAgain) $(window).scrollTop($(toElement).offset().top - headerhHeight + offset); }); } else { $.scrollTo( toElement, 800, {offset: -headerhHeight + offset} ); } } } } var customScoreDone = false; function loadMoreComments(btn) { let $btn = $(btn); if ($btn.find('.spinner-border:visible').length) { return false; } let nextPage = parseInt($btn.data('page')) + 1; let perPage = parseInt($btn.data('per-page')); $btn.find('.spinner-border').css("display", "inline-block"); $btnWrap = $btn.closest('.comment-load-more-wrap'); $.get("/ajax.php?m=komentare&f=loadMoreComments&a=" + $btn.data('params') + "|" + $btn.data('sort') + '|' + $btn.data('score') + '|' + nextPage, "", function (data) { $data = $('
' + data + '
'); $btnWrap.before($data.html()); $btn.find('.spinner-border').css("display", "none"); $btn.data('page', nextPage); if ($data.find('.comment:not(.comment-reply)').length < perPage) { $btnWrap.hide(); } }); } function scrollAndHighlightComment(commentBoxId, noAnimation){ if ($(commentBoxId).length){ let commentEl = $(commentBoxId); $('.comments .highlighted-animated').removeClass('highlighted-animated'); setTimeout(function(){ commentEl.addClass('highlighted-animated'); commentsScroll( commentBoxId, null, noAnimation); }, 10); } } function resetCommentForm($parent) { $('.comment-form-title-insert', $parent).show(); $('.comment-form-title-reply', $parent).hide(); $("[name=parent]", $parent).val(''); $("textarea", $parent).val(''); let widgetId = $parent.attr('id'); let $legend = $(".comment-form legend", $parent); if ($legend.data('text-original')) { $legend.html($legend.data('text-original')); } let $btn = $(".comment-form button.btn-comment-submit", $parent); if ($btn.data('text-original')) { $btn.html($btn.data('text-original')); } if (typeof window['commentFileUploader' + widgetId] !== 'undefined') { window['commentFileUploader' + widgetId].resetFiles(); } } $(function(){ var scrollToComment = false; function handleCommentBoxHash() { if (location.hash.indexOf('commentBox')>=0 || location.hash.indexOf('#comments-')>=0){ var hash = location.hash; var widgetId = '#comments'; hashParts = hash.split('/'); if (hashParts.length > 1) { widgetId = hashParts[0]; hash = '#' + hashParts[1]; // location.hash = #reviews/commentBox224814 } if (!window.matchMedia("(min-width: 768px)").matches){ var commentId = hash.replace('#commentBox', '').replace('#comments-',''); $('#commentBox' + commentId).parents('.mobile-expander').find('.mobile-expander-check').prop('checked', 'checked').trigger('change'); } if (hash.indexOf('#comments-')>=0 || hash.indexOf('#commentBox')>=0){ // from foreign url - highlight comment hash = hash.replace('#comments-','#commentBox'); scrollAndHighlightComment(hash, true); history.replaceState(null, null, widgetId); scrollToComment = true; } else { commentsScroll( hash, null, true ); //remove hash history.replaceState(null, null, ' '); scrollToComment = false; } } else { scrollToComment = false; } } handleCommentBoxHash(); $(window).on('hashchange', function() { handleCommentBoxHash(); }); if (location.hash.indexOf('#form-')>=0){ var hash = location.hash; commentsScroll( hash, null, true ); //remove hash history.replaceState(null, null, ' '); } if (location.hash == '#questions' || location.hash == '#reviews' || location.hash == '#comments'){ var widgetId = location.hash; if (!$(widgetId).length) widgetId = '#questions'; if ($(widgetId).length && !scrollToComment){ if (!window.matchMedia("(min-width: 768px)").matches){ $(widgetId + '-expander').prop('checked', 'checked').trigger('change'); } if ($('.comment-unread', widgetId).length){ commentsScroll('#'+$('.comment-unread', widgetId).first().attr('id'), null, true); } else { commentsScroll(widgetId, null, true); } } } $('.comments').on('click', '.btn-comment-show-insert-popup', function(){ var $parent = $(this).closest('.comments'); resetCommentForm($parent); }); }); $(function(){ $('textarea', '.comments').on('input', function(){ if ($(this).val().length){ $('.comment-form .btn').addClass('mobile-active'); }else{ $('.comment-form .btn').removeClass('mobile-active'); } $(this).removeClass('is-invalid'); }); function setCommentTextareaPlaceholder(){ if (window.matchMedia("(min-width: 768px)").matches){ $('textarea', '.comments').attr('placeholder', $('textarea', '.comments').data('placeholder-desktop')); }else{ $('textarea', '.comments').attr('placeholder', $('textarea', '.comments').data('placeholder-mobile')); } } setCommentTextareaPlaceholder(); $(window).resize(function(){ setCommentTextareaPlaceholder(); }); }); $(function(){ $('.comment-form button[type=submit]').attr('disabled', 'disabled'); $('.comment-form textarea').click(function(){ $('#loginModal').modal('show'); }); }); // #TODO function hideForumPosts() { $('.forum_post_hidden').each(function(){ target = $(this).data('target'); forum_post = $(this).parent('.post_tools').siblings('.post_message'); $(this).show().insertAfter(forum_post); forum_post.hide(); forum_post.parent('.post_right').parent('.post_container').addClass('hiddenForumPost'); }); } $(function(){ hideForumPosts(); }); // #TODO function hideForumPost(postId) { el = $('#' + postId); message = el.siblings('.post_message'); el.remove(); message.show(); message.parent('.post_right').parent('.post_container').removeClass('hiddenForumPost'); } function close_what_we_can_do(id) { $('#we_can_do_better_' + id).hide(); return false; } function send_what_we_can_do(id, id_user) { var $el = $('#we_can_do_better_' + id); $el.addClass('show-loading'); var selectedOption = $('input:radio[name=input_we_can_do_input_' + id + ']:checked').val() var text = $('#input_we_can_do_textarea_' + id).val(); $.get('/ajax.php?u=misc&f=userVoteDownComment&a=' + selectedOption + '|' + id_user + '|' + text + '|' + id , function(data){ close_what_we_can_do(id); $el.removeClass('show-loading'); showMessage('Tvoja spätná väzba bola úspešne odoslaná.'); } ); } $(function() { $('body').on('click', '.user_votes a.user_votes_link', function(e){ if ($(this).hasClass('inactive')) return false; var fn = $(this).data('rel'); var hash = $(this).attr('hash'); var contentId = $(this).parent().attr('contentid'); var contentType = $(this).parent().attr('contenttype'); var contentUserId = $(this).parent().attr('contentuserid'); var parent = $(this).parent().parent(); var voteTop = 0; if($(this).closest(".metadata-line").length>0) { voteTop = 1; } $(this).tooltip('hide'); $.get('/ajax.php?u=misc&f=userContentVotesAjax&a=' + contentId + '|' + contentType + '|' + contentUserId + '|' + fn + '|' + hash + '|0|1', function(data){ if (data.startsWith('ok')) { data = data.substr(2); } $('.user_votes' + contentType + contentId).replaceWith(data); if (contentType === 'article') { if (fn === 'voteDown') { var position = parent.offset(); var topclick = position.top + 15 - parent.closest('.container.position-relative').offset().top; var leftclick = position.left + 20 - parent.closest('.container.position-relative').offset().left; $('#we_can_do_better_' + contentId).css({top: topclick, left: leftclick}); $('#we_can_do_better_' + contentId).show(); } else { $('#we_can_do_better_' + contentId).hide(); } } } ); return false; }); }); if (!showRideFormModal) { function showRideFormModal(id, asTemplate){ var $rideFormModal = $('#rideFormModal'); if (typeof id === 'undefined') id = ''; asTemplate = asTemplate ? 1 : 0; $.ajax({ url: '/ajax.php?m=Vyjazdy&f=ajaxFormModal&a=' + id + '|0' + '|' + asTemplate, success: function(data){ $rideFormModal.find('.modal-body').html(data); if (asTemplate){ $rideFormModal.find('.ride-form-edit, .ride-form-new').hide(); $rideFormModal.find('.ride-form-duplicate').show(); } else { $rideFormModal.find('.ride-form-duplicate').hide(); $rideFormModal.find('.ride-form-'+(id ? 'new' : 'edit')).hide(); $rideFormModal.find('.ride-form-'+(id ? 'edit' : 'new')).show(); } $rideFormModal.modal({ backdrop: 'static' }); }, error: function(data){ showMessage(data.responseText, 'error', data.responseText.indexOf('= 0 ? 10000 : 3500); } }); return false; } } var emailConsentModalActiveEl; var emailConsentModalActiveSection = false; var emailConsentModalAgreed = false; function emailConsentModal(el, section){ var $el = $(el); if ($el.is(':checked') || !$el.is("input")){ // checked checkbox, or button/link emailConsentModalActiveEl = $(el); var $modal = $('#modalEmailConsent'); emailConsentModalActiveSection = section; if (section){ $('[data-section="general"]', $modal).hide(); $('[data-section="newsletter"]', $modal).hide(); $('[data-section="shop"]', $modal).hide(); $('[data-section="sale"]', $modal).hide(); $('[data-section="' + section + '"]', $modal).show(); } else { $('.mec-title').hide(); $('[data-section="general"]', $modal).show(); } emailConsentModalSubOptions(); emailConsentModalAgreed = false; $('#modalEmailConsent').modal('show'); } } function emailConsentModalSubOptions(){ $('.sub-options-emails').each(function() { var $subOptions = $(this); if ($subOptions.parent().find('.custom-switch input:checked, .custom-checkbox input:checked').length){ $subOptions.show(); if (!$subOptions.find('input:checked').length){ $subOptions.find('input').first().prop('checked', true); } } else { $subOptions.hide(); $subOptions.find('input').prop('checked', false); } }); } function emailConsentModalOnAgreed(){ var $modal = $('#modalEmailConsent'); emailConsentModalAgreed = true; var sectionWrap = emailConsentModalActiveSection ? '[data-section="' + emailConsentModalActiveSection + '"] ' : ''; var inputs = ''; $(sectionWrap + 'input[type=hidden], input:checked', $modal).each(function(){ var $this = $(this); inputs = inputs + ''; }); emailConsentModalActiveEl.prev('.mec-inputs').remove(); $('' + inputs + '').insertBefore(emailConsentModalActiveEl); $('#modalEmailConsent').modal('hide'); } $(function() { $('input[name="agreed_emails"]').on('change', function(){ emailConsentModal(this); }); emailConsentModalSubOptions(); $('#mec_user_newsletter_agreed, #user_newsletter_agreed').on('change', emailConsentModalSubOptions ); $('input:radio, input:checkbox','#modalEmailConsent').on('change', function(){ $modal = $('#modalEmailConsent'); $('.modal-footer .btn', $modal).prop('disabled', !$('input:checked:visible', $modal).length); }); $('#modalEmailConsent').on('hidden.bs.modal', function (e) { $modal = $(this); if (!emailConsentModalAgreed){ if (emailConsentModalActiveEl.val() === 'weekly'){ $('input[value=monthly]', $modal).prop('checked', false); } else if (emailConsentModalActiveEl.val() === 'monthly'){ $('input[value=weekly]', $modal).prop('checked', false); } else { emailConsentModalActiveEl.prop('checked', false); } emailConsentModalActiveEl.prev('.mec-inputs').remove(); } emailConsentModalActiveSection = false; emailConsentModalSubOptions(); if ($('#registrationModal.modal').hasClass('show')) { setTimeout(function(){ $('body').addClass('modal-open'); // registration modal is still opened }, 20); } }); }); $(function(){ $(".js-reject-cookies").attr("role", "button"); $(".js-reject-cookies").click(function(e){ e.preventDefault(); $.ajax({type: "POST",url: "/account/cookie-consent",data: {functional:0,analytical:0,commercial:0} }); $("#biscuitModal").fadeOut(250); return false; }); $(".biscuit-close").click(function(){ $.ajax({type: "POST",url: "/account/cookie-consent",data: {necessary:1,functional:1,analytical:1,commercial:1} }); $("#biscuitModal").fadeOut(250); $(".biscuit-checkboxes .custom-control-input").attr("checked", true); updateGoogleAnalyticsConsent(); updateBingConsent(); sendGoogleAnalyticsPageview(); return false; }); $(".biscuit-settings").click(function(){ $(this).addClass("loading-simple"); $.ajax({type: "POST",url: "/account/cookie-consent",data: {functional:0,analytical:0,commercial:0} }).always(function(){ window.location = "https://www.mthiker.sk/cookies"; }); }); }); -->