{ Dev Farm }

Web & Windows Development

JavaScript problem

Home Forum Wp Gpx Maps Support JavaScript problem

  • Questo topic ha 3 risposte, 1 partecipante ed è stato aggiornato l'ultima volta 7 anni, 5 mesi fa da Willem-Jan.
Stai visualizzando 4 post - dal 1 a 4 (di 4 totali)
  • Autore
    Post
  • #25574 Rispondi
    Pawel
    Ospite

    Hi there,
    I tried to upload gps file on my blog, but map is not showing. Instead of it I receive info about JavaScript problems. Could you please guide me step by step what to do to fix this (I am beginner of beginners with webmastering).
    Thanks in advance.

    #25576 Rispondi
    Henson
    Ospite

    I just ran into the same problem and here is what I did to work around the issue:

    June 22, 2016 Google changed their policy for the API that is called in order to use the map on your site. You can read more about the steps I followed at the following site: https://www.latecnosfera.com/2016/06/google-maps-api-error-missing-keymap-error-solved.html

    First you have to register for an API Key, use the following site for that, just click on the Get Key button: https://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-key

    Since the WP GPX Maps plugin doesn’t provide you with a settings field for inputting your newly acquired API key, you will need to install another plugin as a work around. The new plugin is called Google API KEY, and can be found at the following link: https://wordpress.org/plugins/api-key-for-google-maps/

    I hope this helps.

    #25622 Rispondi
    Marco
    Ospite

    Hi, I just solve the issue editing wp-gpx-maps/wp-gpx-maps.php file. In the function enqueue_WP_GPX_Maps_scripts() you can find
    wp_enqueue_script( ‘googlemaps’, ‘//maps.googleapis.com/maps/api/js?……
    just remove the deprecated parameter and add the required one
    wp_enqueue_script( ‘googlemaps’, ‘//maps.googleapis.com/maps/api/js?key=[YOUR GOOGLE API KEY]’, null, null);

    I apply this solution https://wordpress.org/support/topic/google-maps-api-error-missingkeymaperror-1/ becouse the error I receive was “Google Maps API error: MissingKeyMapError”

    Could be a good improvement to add a new setting parameter in order to manage google api

    hope this helps

    #25649 Rispondi
    Willem-Jan
    Ospite

    hi,

    it is that i took the afford to see on this page and found the solution. i think you must build this in to your app because not everyone takes the afford to install 2 plugins.

    when it works, it gives you a very nice graphic of your track!

    please solve problem and it will be a very useful app for people like me that likes to share tracks 😀

    regards,
    Willem-Jan

Stai visualizzando 4 post - dal 1 a 4 (di 4 totali)
Rispondi a: JavaScript problem

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.