The unit in tooltip stays in meters Home › Forum › Wp Gpx Maps › Support › The unit in tooltip stays in meters Questo topic ha 3 risposte, 1 partecipante ed è stato aggiornato l'ultima volta 4 anni, 7 mesi fa da equinox. Stai visualizzando 4 post - dal 1 a 4 (di 4 totali) Autore Post 18 Agosto 2018 alle 15:54 #78377 Rispondi ChrisOspite Hey, in my under development website in this page (for example) https://grc.elegrad.com/tours/delphi-and-mt-parnassus/ In shortcode I have uom=2 and the distance in graph changes correctly. But in the tooltip it show the number correctly but instead of km says m 13 Dicembre 2018 alle 21:27 #82304 Rispondi BebassOspite I have the same problem here: Best regards, B. 5 Febbraio 2019 alle 04:02 #83447 Rispondi FranzOspite This is also happening to me… The distance number in the tooltip stays at roughly 1 ft per mile… 18 Settembre 2019 alle 06:51 #89147 Rispondi equinoxOspite I just replaced string return Math.round(tooltipItems[0].xLabel, fpt.dec) + fpt.suf;; with customized: return Math.round(tooltipItems[0].xLabel, fpt.dec) + ' km';; (yes, I added space before ‘km’ just for better look) https://i.imgur.com/gIN8B3Z.png Autore Post Stai visualizzando 4 post - dal 1 a 4 (di 4 totali) Rispondi a: Risposta #83447 in The unit in tooltip stays in meters You can use BBCodes to format your content.Your account can't use Advanced BBCodes, they will be stripped before saving. Le tue informazioni: Nome (obbligatorio): Mail (non sarà pubblicata) (obbligatorio): Sito web: Invia