{ Dev Farm }

Web & Windows Development

leaflet Uncaught Error

Home Forum Wp Gpx Maps Support leaflet Uncaught Error

Questo argomento contiene 2 risposte, ha 2 partecipanti, ed è stato aggiornato da  max 8 mesi, 2 settimane fa.

Stai vedendo 3 articoli - dal 1 a 3 (di 3 totali)
  • Autore
  • #77809 Risposta


    Hi there,

    Thanks for this amazing plugin!

    Since the last version, I´m getting this error everytime I load one of my posts:

    Uncaught Error: Bounds are not valid.
    at e.fitBounds (leaflet.js?ver=1.3.1:5)
    at Leaflet.CenterMap (WP-GPX-Maps.js?ver=1.6.02:720)
    at Leaflet.AddWaypoints (WP-GPX-Maps.js?ver=1.6.02:701)
    at a.fn.init.$.fn.wpgpxmaps (WP-GPX-Maps.js?ver=1.6.02:890)
    at HTMLDocument.<anonymous> ((index):340)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

    I can´t find any info about that…

    Am I the only one with this issue?

    Any ideas?

    Thanks a lot! :wacko:

    #81326 Risposta

    Patrick W

    The problem is in /wp-content/plugins/wp-gpx-maps/js/WP-GPX-Maps.js line 888 :

    if (!jQuery.isEmptyObject(waypoints))

    Which wrongly evaluates to true, I change it to this and it works again:

    if (!jQuery.isEmptyObject(waypoints) && waypoints.length>0)

    #82236 Risposta

    Amministratore del forum


Stai vedendo 3 articoli - dal 1 a 3 (di 3 totali)
Rispondi a: leaflet Uncaught Error

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

Le tue informazioni:

:bye:  :good:  :negative:  :scratch:  :wacko:  :yahoo:  B-) 

Non è possibile lasciare nuovi commenti.