Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

× Ideal Store Locator Plugin (iStoreLocator) works with Google Maps API which allows your website visitors to easily locate stores/contacts on the map.

Product Page

Google Maps JavaScript API error: RefererDeniedMapError

1 year 5 months ago #26589 by rpg
Hi

I'm using Contact Enhanced Contact (Enhanced - Ideal Store Locator Site Module 3.12 2022-10-26 on Joomla 3.10.11).

On my website I get the message : Google Maps JavaScript API error: RefererDeniedMapError

I received an email from Google Maps APIs Non-Compliance.

(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices);
or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution.

Do you know which options I have to activate on the Contact Enhanced Manager ? What should I do ?

Thanks for your response

Best regards

Daniel

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

1 year 5 months ago #26590 by support
Dear Daniel,

I see your subscription has expired, please renew your subscription to be eligible for support.

I have never had this problem before, so I have checked Google documentation and I read this:

Your application was blocked for non-compliance with the Google Maps Platform Terms of Service, following several email notifications. To appeal the block and have your implementation reviewed, please complete this form . You will receive a response via email within a few business days.


Contact Enhanced does not modify, obscure, or delete Google Maps' attribution. Can you provide a direct link to your Map page, so I can take a look?

Best regards,

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

1 year 5 months ago #26591 by rpg
Hi,

Thanks for responding. I just extended the support fees.

This is the link : rpge.ch/en/find-a-paediatrician

Google Maps JavaScript API error: RefererDeniedMapError
developers.google.com/maps/doc...sages#referer-denied-map-error js:77:97
le maps.googleapis.com/maps/api/j...gjDAq7xECUOi_Tf9qfCMQa0ZYiQ:77
i maps.googleapis.com/maps-api-v...9/12/intl/fr_ALL/common.js:129
Mr maps.googleapis.com/maps-api-v...9/12/intl/fr_ALL/common.js:257
c maps.googleapis.com/maps-api-v...9/12/intl/fr_ALL/common.js:113
<anonyme> maps.googleapis.com/maps/api/j...qfCMQa0ZYiQ&7m2&1e50&3sReferer blocked: rpge.ch/en/find-a-paediatricia...i_Tf9qfCMQa0ZYiQ&token=84423:1

I opened a form with Google.

I just use the parameter {istorelocator height=|600|} to display the map.

This attachment is hidden for guests.
Please log in or register to see it.
This attachment is hidden for guests.
Please log in or register to see it.


Any idea ?

Thanks.

Best regards

Daniel

This message has an attachment file.
Please log in or register to see it.

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

1 year 5 months ago #26592 by support
Dear Daniel,

Thank you for renewing your subscription and for providing your website URL.
I tought it was displaying this massage over the map, but it's removing the map completely.

It seems the only option to unblock your website is to submit the mentioned in the documentation, which you mentioned you already did.

Please forward their reply to me. I submitted the form as well because it might be faster to communicate directly with them.

I was inspecting the code and I couldn't find any problem directly related to Contact Enhanced or Ideal Store Locator.

The only Google Maps related CSS rules I add are the following and none of them hide Google Maps attribution:
/* In order to avoid problems with some templates. This will not hide or remove any image, just unset the max-width attribute for images that some template add */
.gm-style img{max-width:none !important}
 
/* These will just change the content of the info window */
.gm-style-iw div{overflow:hidden;line-height:1.35;white-space:nowrap}
.gm-style-iw address{white-space:normal} /* Avoid address overlap distance marker */
.gm-style-iw .loc-name{font-size:120%}
.gm-style-iw .isl-hideInMap{display:none}
.gm-style-iw .list-image img{max-width:310px}
@media screen and (min-width: 451px) and (max-width: 640px){ 
/* Small devices in Landscape position */
	.gm-style-iw .loc-dist{float:none}
}

Other than these CSS rules we don't add any other and they wouldn't temper with Google Maps attribution.


I also checked your /templates/flex/css/custom.css file and couldn't find any obvious CSS rule that could interfere with GM attributions.

I've tested with the same Google Maps Style you use and I don't see anything wrong with it. The background of the attribution blends a little bit with the map style, but it does not hide, modify, obscure, or delete it.



They will probably reply to you before, so let me know what they say when they reply.

Best regards,
Attachments:

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

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback