{ Dev Farm }

Web & Windows Development

Waypoint comments include "Itinéraire" with link to Google maps

Home Forum Wp Gpx Maps Support Waypoint comments include "Itinéraire" with link to Google maps

  • Questo topic ha 2 risposte, 1 partecipante ed è stato aggiornato l'ultima volta 4 anni, 6 mesi fa da Chris Sgaraglino.
Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
  • Autore
    Post
  • #83992 Rispondi
    Nigel
    Ospite

    I am experimenting with you plug-in but notice when I add a waypoint with the GPX file with a comment. It also includes “Itinéraire” which has a link to Google Maps. Is there a way to remove this?
    I have tried putting a url in the GPX file and it does not appear.
    <wpt lat=”38.796113000″ lon=”-9.396946000″>
    <ele>244.3</ele>
    <name>Sample Waypoint</name>
    <url>http://www.canoe.com</url&gt;
    </wpt>

    Many thanks, Nigel

    #84085 Rispondi
    Nigel
    Ospite

    I found the code in …\wp-content\plugins\wp-gpx-maps\jsWP-GPX-Maps.js

    Line 698 (below) and I just commented it out. 🙂
    cnt += “<br /><p>Itinéraire</p>”;
    :good:

    #91879 Rispondi
    Chris Sgaraglino
    Ospite

    You can also hide it with CSS.

    .leaflet-popup-content a {display: none;}

Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
Rispondi a: Risposta #84085 in Waypoint comments include "Itinéraire" with link to Google maps

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.