Ankündigung

Einklappen
Keine Ankündigung bisher.

Filtre + googlemap_markers

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Filtre + googlemap_markers

    Hello,

    I can not get the filter to work properly here: https://cristal.prod-igweb.fr/nos-adhérents.html

    For example if I apply this filter: https://cristal.prod-igweb.fr/nos-ad...tes&plzort=140
    The 2 markers is still visible on the map ...

    Can you tell me what I did not do well?

    thank you

  • #2
    I think you are on the Query Limit for Google API requests here. The API returns -1,-1 as the center, no matter what address I check. Check your system log. There should be messages like "QUERY_LIMIT".
    You need a real Google API Key and depending on your server (hosted or root) and on the request counts you might need a commercial key here.

    May be you can translate this post to french: https://forum.premium-contao-themes....0550#post10550
    That shows all the limitations Google has.

    Here you find more information on topic as well: https://forum.premium-contao-themes....ey-einstellung
    ----
    Later on you should send "France" to any Address you send. That makes it easier for Google to analyse the Address.

    e.g. The German zipcodes are similar to the US-american. Locating a german address need the country name in any request.
    ---
    http://www.premium-contao-themes.com

    Kommentar


    • #3
      OK, thanks :-))

      Kommentar


      • #4
        If I stay on a free version of google API, the ideal solution according to you is the following ?

        $GLOBALS['PCT_CUSTOMELEMENTS']['ATTRIBUTES']['geolocation']['google']['geocoder_url'] = "https://maps.googleapis.com/maps/api/geocode/json?key=MEIN-SCHLUESSL";

        Kommentar


        • #5
          Zitat von iGweb Beitrag anzeigen
          If I stay on a free version of google API, the ideal solution according to you is the following ?

          $GLOBALS['PCT_CUSTOMELEMENTS']['ATTRIBUTES']['geolocation']['google']['geocoder_url'] = "https://maps.googleapis.com/maps/api/geocode/json?key=MEIN-SCHLUESSL";
          You will need an API key for sure. Otherwise Google will limit you at any time. The ideal solution is a commercial key and a root server. Hosted servers share IPs over all the websites hosted on the server. If there are 100 other websites using Google APIs you might be limited even without calling the API once, just because the other websites have the same IP as ours.

          http://www.premium-contao-themes.com

          Kommentar


          • #6
            OK, thanks

            Kommentar

            Lädt...
            X