× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

shows track informations even though set on NO

msottner replied the topic: shows track informations even though set on NO

5 years 6 months ago

Cheers
worked well
problems solved
Thanks
Matej

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: shows track informations even though set on NO

5 years 6 months ago

Hello Matej,

the "km, " that you see below the map comes from the layout template.

Layout template #1 looks like this:

<div class="gpxtrack">
  <div class="gpxtracklink">%TRACKDOWNLOAD%</div>
  <div class="gpxtrackmap">%TRACKMAP%</div>
  <div class="gpxtrackinfo"><p>%DISTANCE-KM% km, %DURATION%</p></div>
  <div class="gpxtrackdiagram">%TRACKDIAGRAM%</div>
</div>

You should copy the template1.html to e.g. your Joomla! template directory and just delete the line
<div class="gpxtrackinfo"><p>%DISTANCE-KM% km, %DURATION%</p></div>

from your copy. See here for more infos on using your own customized layout templates (and read the red Note in there!).

As for the zoomout - this is a weird behaviour of OpenLayers that i can't change: with some tracks, the automatic zooming works, but with others it is off by one zoom level.

You can leave the default set to 0 in the Plugin configuration. For the tracks that DON'T work, just add the following in the invocation code:
{gpxtrackmap}MTB_bp_kanin.gpx,zoomout=1{/gpxtrackmap}

That way, you can "fine-tune" the zoomout for each track individually.

cheers, Frank

Last edit: 5 years 6 months ago by fingeradmin.
The following user(s) said Thank You: msottner

Please Log in or Create an account to join the conversation.

msottner created the topic: shows track informations even though set on NO

5 years 6 months ago

Hello,
just installed this great plugin.
Though there are two things that bother me.
when i turn off track information, there is still some shown below the map (cache cleared) www.alpicenter.cz/new/index.php/aktivity...lety/mtb/99-krnica-2

and on this map not whole track is shown. zoom-out set to 0 (and the one other map i have athe moment works well) www.alpicenter.cz/new/index.php/aktivity...00-bike-park-kanin-2

thank you
matej

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum