1. NOTICE: If you are using Fabrik and update to Joomla 3.10, you will need to update to Fabrik 3.10. And, if you are using Fabrik, do not upgrade to Joomla 4, we do not have a supported version ready for release. More information on a release date coming soon. Also, please note that Fabrik 3.10 will not install on any Joomla sites less than 3.8.
    Dismiss Notice

Google Maps Element

Discussion in 'Community' started by grossr, Sep 24, 2021.

  1. grossr

    grossr New Member

    Level: Community
    Working on a fishing website for the Navy Base in Guantanamo Bay, Cuba. I had a fabrik list where user could enter the fish they caught, upload pictures, pic the location in the bay where the fish was caught, etc. This was then displayed on a google maps, visualization using satelite view.

    Yesterday, everything stoped working. I've blown away the site and started from scratch, but I'm receiving the same issue before even getting started. When looking at the list view, form entry, etc., it briefly displays the satelite view, then goes blank and display "Sorry, we have no imagery here"

    Link to front end: https://fishnsgb.com/index.php/portfolio/portfolio-2-columns/form/1/2


    Following java error outputed to the console:

    js?libraries=places,visualization&callback=Fabrik.mapCb&key=AIzaSyChKc5SGYMNOj-AX2CCw0Qm0G0F5UjlRZI:182 This site overrides Array.from() with an implementation that doesn't support iterables, which could cause Google Maps JavaScript API v3 to not work correctly.
    eea @ js?libraries=places,visualization&callback=Fabrik.mapCb&key=AIzaSyChKc5SGYMNOj-AX2CCw0Qm0G0F5UjlRZI:182
    kh:1 Failed to load resource: the server responded with a status of 400 ()
    kh:1 Failed to load resource: the server responded with a status of 400 ()
    util.js:245 Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

    The right help will be appreciate via Paypal donation.
     
  2. grossr

    grossr New Member

    Level: Community
    Joomla 3.10.2
    Fabrik 3.10
     
  3. troester

    troester Well-Known Member Staff Member

    Level: Community
  4. grossr

    grossr New Member

    Level: Community
  5. lousyfool

    lousyfool Well-Known Member

    Level: Community
    So, what if you get your API keys problem fixed in the first place? Before that's sorted, it's fairly pointless to expect anything else working...
     
  6. lousyfool

    lousyfool Well-Known Member

    Level: Community
  7. grossr

    grossr New Member

    Level: Community
    Good point with the correct forum Lousyfool, didn't catch that, however my API are working.
     
  8. troester

    troester Well-Known Member Staff Member

    Level: Community
    I can see the error messages "site overrides Array.from..." and "Google Maps JavaScript API warning: NoApiKeys" also on my sites with Googlemaps, but the maps are working (I assume Fabrik is still on v2, so https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys)

    On your site I now get
    Google Maps JavaScript API error: RefererNotAllowedMapError https://developers.google.com/maps/.../error-messages#referer-not-allowed-map-error Your site URL to be authorized: https://fishnsgb.com/index.php/portfolio/portfolio-2-columns/form/1/2

    So something missing in your Google account settings?
     
    lousyfool likes this.
  9. grossr

    grossr New Member

    Level: Community
    Key's I believe are straight now, I had deleted them in my frustration and recreated under the wrong project.... sucks getting old... Still receiving:

    Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
    jquery-migrate.min.j…de3bb8d7425fc5bc2:2 JQMIGRATE: Migrate is installed, version 1.4.1
    DevTools failed to load source map: Could not parse content for https://fishnsgb.com/templates/etfishing/css/bootstrap.min.css.map: Unexpected end of JSON input
    js?libraries=places,…4RNR68Yeeh8UERo:182 This site overrides Array.from() with an implementation that doesn't support iterables, which could cause Google Maps JavaScript API v3 to not work correctly.
    kh:1 GET https://khms0.googleapis.com/kh?[object Map Iterator]=[object Map Iterator] 400
    kh:1 GET https://khms1.googleapis.com/kh?[object Map Iterator]=[object Map Iterator] 400
    util.js:245 Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

    Updated article with google maps API settings snipit and farbrik global config

    https://fishnsgb.com/index.php/portfolio/portfolio-3-columns
     
  10. lousyfool

    lousyfool Well-Known Member

    Level: Community
  11. grossr

    grossr New Member

    Level: Community
  12. grossr

    grossr New Member

    Level: Community
    Same API, same API key, different map type/style.... Hope you can see my frustration.
     
  13. lousyfool

    lousyfool Well-Known Member

    Level: Community
    ...and yet the API keys warning thrown by Google (not Fabrik) is still the same. This is not a Fabrik thing.
    Slowly there's frustration building here, too... hope you can see that, too...
     
  14. grossr

    grossr New Member

    Level: Community
  15. lousyfool

    lousyfool Well-Known Member

    Level: Community
  16. lousyfool

    lousyfool Well-Known Member

    Level: Community
    ... except, you also have "This site overrides Array.from() with an implementation that doesn't support iterables, which could cause Google Maps JavaScript API v3 to not work correctly."
    Now, this could (could! = I'm not the one to confirm) be down to an incompatibility of Google Maps API v3 and Mootools (and generate the API warning). In that case, it would involve Fabrik, indeed. However, Fabrik relies on Mootools...
     
  17. troester

    troester Well-Known Member Staff Member

    Level: Community
    If the normal map is working it doesn't seem to be the API keys in general.
    But there's a lot of different setting for different map types in the Google account, with different limits etc. (and sometimes Google changes the way you have to do it...).

    What are your Fabrik settings for the non-working maps element?
     
  18. grossr

    grossr New Member

    Level: Community
    I just worked with Google support and definately nothing with my account, API keys, etc. Also posted support with my template provider.
     
  19. grossr

    grossr New Member

    Level: Community
    All other setting are Default
    [​IMG]
     
  20. troester

    troester Well-Known Member Staff Member

    Level: Community
    ok, replicatable for Satelite map typ
     

Share This Page