{ Dev Farm }

Web & Windows Development

Separate map and graph – possible?

Home Forum Wp Gpx Maps Support Separate map and graph – possible?

  • Questo topic ha 2 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 10 anni, 10 mesi fa da Ooker.
Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
  • Autore
    Post
  • #22840 Rispondi
    Ooker
    Ospite

    First I’d like to thank you and say that this is absolutely a great plugin!

    One question, though: I wonder what would be the best (or easiest) way to separate map and graphics. Right now they are generated right after each other. But I’d like to show the map in the WP header and graph in the body, or, let’s say, map in the body and graph in the footer or any sidebar etc. Is this possible?

    #22841 Rispondi
    max
    Amministratore del forum
    WP GPX Maps Error: GPX file not found! /home/mxvysmpn/public_html/wp-content/uploads/gpx/do31_01.gpx
    Warning: Attempt to read property "dt" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 416

    Warning: Attempt to read property "lat" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 417

    Warning: Attempt to read property "lon" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 418

    Warning: Attempt to read property "maxEle" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 420

    Warning: Attempt to read property "minEle" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 421

    Warning: Attempt to read property "maxTime" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 422

    Warning: Attempt to read property "minTime" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 423

    Warning: Attempt to read property "totalEleUp" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 424

    Warning: Attempt to read property "totalEleDown" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 425

    Warning: Attempt to read property "avgSpeed" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 426

    Warning: Attempt to read property "avgCad" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 427

    Warning: Attempt to read property "avgHr" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 428

    Warning: Attempt to read property "avgTemp" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 429

    Warning: Attempt to read property "totalLength" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 430
    WP GPX Maps Error: GPX file not found! /home/mxvysmpn/public_html/wp-content/uploads/gpx/do31_01.gpx
    Warning: Attempt to read property "dt" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 416

    Warning: Attempt to read property "lat" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 417

    Warning: Attempt to read property "lon" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 418

    Warning: Attempt to read property "maxEle" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 420

    Warning: Attempt to read property "minEle" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 421

    Warning: Attempt to read property "maxTime" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 422

    Warning: Attempt to read property "minTime" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 423

    Warning: Attempt to read property "totalEleUp" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 424

    Warning: Attempt to read property "totalEleDown" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 425

    Warning: Attempt to read property "avgSpeed" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 426

    Warning: Attempt to read property "avgCad" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 427

    Warning: Attempt to read property "avgHr" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 428

    Warning: Attempt to read property "avgTemp" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 429

    Warning: Attempt to read property "totalLength" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 430

    Yes you can include your gpx twice and set mheight=0 to hide the map and gheight=0 to hide the graph

    something like this:

    sgpx gpx=”/wp-content/uploads/gpx/xxx.gpx” gheight=0
    and
    sgpx gpx=”/wp-content/uploads/gpx/xxx.gpx” mheight=0

    the result is:

    xxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxx

    #22842 Rispondi
    Ooker
    Ospite

    Ah, neat! 😉

    Only the map and graph lose connection this way – by dragging on one of them, the other does not respond. But thanks, I’ll try to find out if I can do something with this.

Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
Rispondi a: Separate map and graph – possible?

You can use BBCodes to format your content.
Your account can't use Advanced BBCodes, they will be stripped before saving.

Le tue informazioni:




Non è possibile lasciare nuovi commenti.