Welcome, Guest
Username: Password: Remember me

TOPIC: The Responsive JEM and Google Maps API Key (don't work?)

The Responsive JEM and Google Maps API Key (don't work?) 2 months 1 week ago #26474

  • Leo2019
  • Leo2019's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 30
  • Thank you received: 2
Hi,

I've tried to activate Google Maps in JEM (The Responsive JEM) but don't work...
-I've paste Google key in global settings, then selected Display Google Maps (API Key) in the selectors (event + global settings)
-in the venue parameters, activated map service
-data's venue correctly done (with latitude and longitude)

=> no result...

- add "search by location data" => no result

And, if I click on "copy all the data", that deletes data's venue in the left column...

An idea to solve that?

Thanks in advance

Leo

Joomla 3 9 10 - The Responsive JEM - Template Gavick News2 - PHP 7 2 20 - MySQL 5.5.5-10.0.38-MariaDB-0+deb8u1

Please Log in or Create an account to join the conversation.

The Responsive JEM and Google Maps API Key (don't work?) 2 months 1 week ago #26476

not sure what might be the problem,
do you maybe have some screenshots?

If you are using Mozilla Firefox to browse:
can you check if there is an error in the webconsole? (ctrl + Shift + K )
(won't respond to PM)
==================================================================
running: JEM 3.x (custom version) + Joomla 3.9.1.0 + PHP 5.x
Locally: PHP 7.3.5 + Joomla 4.0.0-alpha10 + pre-alpha JEM4.x (custom)

Please Log in or Create an account to join the conversation.

The Responsive JEM and Google Maps API Key (don't work?) 2 months 1 week ago #26478

I have had issues with Google maps just recently. In my case it was related to API configuration on my Google account: I had to allow several API to be used (maps, places) and also attach payment method to Google account. Even though free tier limit is sufficient for the average website traffic. Check the javascript errors in your browser - it may shed some light why Google Maps API is not working.
The following user(s) said Thank You: Bluefox

Please Log in or Create an account to join the conversation.

The Responsive JEM and Google Maps API Key (don't work?) 2 months 3 days ago #26529

  • Leo2019
  • Leo2019's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 30
  • Thank you received: 2
Hi

First, sorry for response delay, was busy away and thanks for your attention...

@Bluefox:
- screenshot show... nothing, no map, no place holder... as you can see in attached file
- I've checked Mozilla console but I've not seen errors about google map (but I'm not a specialist...). You can see in the second attached file.

#depebo :
Yes, I'd seen new google rules for Map API, and I've done all things required by Google Cloud Platform.
-Selected API : Geolocation API, Maps Embed API, Maps JavaScript API, Maps Static API
-payment method well attached.
-API's code paste in JEM manager

I don't see where is the error...

Thanks in advance for your help

Leo
Attachments:

Please Log in or Create an account to join the conversation.

The Responsive JEM and Google Maps API Key (don't work?) 2 months 3 days ago #26530

  • jojo12
  • jojo12's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 3098
  • Karma: 45
  • Thank you received: 331
I am lucky, that my API key is working wirh JEM since I have it. But I started long time ago and I will not try something. Don't' change change a winning horse, you know. But as alternative you can add a map inside the event description with phoca maps plugin. You can use even Openstreetmap.
Testing JEM 2.3.0 beta3 local on clean latest Joomla (3.9.11) Protostar php7.3.8 (no mails)

Please Log in or Create an account to join the conversation.

The Responsive JEM and Google Maps API Key (don't work?) 2 months 2 days ago #26531

For JEM maps top work with Google you need 3 API enabled on your google console project key:
Geocoding API
Maps JavaScript API
Places API

I had a quick look at one of your venues commingesdirect.fr/component/jem/venue/1-douala
I can see div class="map_canvas", but it is missing outer div class="jem-map"

There is something in your case that prevents google java script from creating the remaining divs in that section.

In JEM Settings / Basic / Style / Layout Style - what value do you have - Modern Responsive Style?
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by depebo.
Time to create page: 0.235 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......