Difference between revisions of "Template talk:Tracklog"
From Geohashing
(→multiple tracklogs: new section) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
I like that! Could there be a way to control the size of the window? --[[User:SastRe.O|SastRe.O]] ([[User talk:SastRe.O|talk]]) 16:30, 25 February 2020 (UTC) | I like that! Could there be a way to control the size of the window? --[[User:SastRe.O|SastRe.O]] ([[User talk:SastRe.O|talk]]) 16:30, 25 February 2020 (UTC) | ||
+ | |||
+ | :The height seems to be hard-coded to be 600 pixels, but the width is 100% of the parent element's width. So, if you put it inside a <code><div></code> element to which you specify a fixed or resizeable width, you can at least control the width. See the embedded tracklog below for an example (doesn't work on mobile for me though). ― [[User:Kripakko|Kripakko]] ([[User talk:Kripakko|talk]]) 18:15, 29 January 2024 (UTC) | ||
== multiple tracklogs == | == multiple tracklogs == | ||
Is it possible to display tracks of multiple hashers on the same map? [[User:Arlo|Arlo]] ([[User talk:Arlo|talk]]) 00:13, 26 March 2020 (UTC) | Is it possible to display tracks of multiple hashers on the same map? [[User:Arlo|Arlo]] ([[User talk:Arlo|talk]]) 00:13, 26 March 2020 (UTC) | ||
+ | |||
+ | :A late answer but regardless useful, I hope. Yes, it is possible if you combine the tracks into a single file (put several <code><trk></code> elements inside the <code><gpx></code> element). Minimal example below, or [[Media:2024-01-29_test_numbers.gpx|download GPX]]. <s>You very likely can't change the colours of the tracks though, so it will get confusing if you have many criss-crossing tracks.</s> ― [[User:Kripakko|Kripakko]] ([[User talk:Kripakko|talk]]) 18:15, 29 January 2024 (UTC) | ||
+ | :<div style="width:600px; min-width:300px; height:600px; resize:horizontal; overflow:hidden; padding:4px">{{Tracklog|2024-01-29_test_numbers.gpx}}</div> | ||
+ | |||
+ | Example of a tracklog with different colors: {{tracklog|2021-11-19 52 9 08 Tracklog.gpx}} --[[User:Fippe|Fippe]] ([[User talk:Fippe|talk]]) 19:18, 29 January 2024 (UTC) | ||
+ | |||
+ | :Oh, look at that! So there's an extension that does just that. Gives me new clever/stupid ideas what to do with tracklogs... ― [[User:Kripakko|Kripakko]] ([[User talk:Kripakko|talk]]) 19:43, 29 January 2024 (UTC) |
Latest revision as of 19:43, 29 January 2024
This initially did not work for me, I couldn't see the map. It turned out that my Adblocker (ublock origin) blocked the Iframe. Disabling it on both domains (geohashing.site & map.geohashing.site) fixed the issue. --Fippe (talk) 09:52, 24 February 2020 (UTC)
I like that! Could there be a way to control the size of the window? --SastRe.O (talk) 16:30, 25 February 2020 (UTC)
- The height seems to be hard-coded to be 600 pixels, but the width is 100% of the parent element's width. So, if you put it inside a
<div>
element to which you specify a fixed or resizeable width, you can at least control the width. See the embedded tracklog below for an example (doesn't work on mobile for me though). ― Kripakko (talk) 18:15, 29 January 2024 (UTC)
multiple tracklogs
Is it possible to display tracks of multiple hashers on the same map? Arlo (talk) 00:13, 26 March 2020 (UTC)
- A late answer but regardless useful, I hope. Yes, it is possible if you combine the tracks into a single file (put several
<trk>
elements inside the<gpx>
element). Minimal example below, or download GPX.You very likely can't change the colours of the tracks though, so it will get confusing if you have many criss-crossing tracks.― Kripakko (talk) 18:15, 29 January 2024 (UTC)
Example of a tracklog with different colors:
--Fippe (talk) 19:18, 29 January 2024 (UTC)