Tagged: error, Google Maps Widget
-
AuthorPosts
-
October 17, 2013 at 5:01 pm #177075
Hi,
when i try to open a page with the google maps widget with an mobil device, which connects via a mobile internet connection (not Wifi, everything works on wifi) the following error appears.
The google Maps API server rejected your request. The
sensor
parameter specified in the request must be set to eithertrue
orfalse
.I already tried to delete and insert it again but it didn`t help.
I`m looking foward to your answer.
icos
October 17, 2013 at 7:10 pm #177132Hi,
Can you post the link to your website please?
Regards,
JosueOctober 18, 2013 at 8:24 am #177292hi,
thank you for your quick respond.
the link is: http://www.disg-tipps.de/kontakt
Regards,
icos
- This reply was modified 11 years, 2 months ago by IcosMediaKunden.
October 19, 2013 at 7:16 am #177749Hey!
Can you please post the code for your google map? You can add the sensor parameter at the end of the map url, something like this &sensor=true. If that doesn’t work please edit, framework > php > class-framework-widgets.php, find this code:
wp_register_script( 'avia-google-maps-api', $prefix.'://maps.google.com/maps/api/js?sensor=false', array('jquery'), '1', false);
Replace it with:
wp_register_script( 'avia-google-maps-api', $prefix.'://maps.google.com/maps/api/js?sensor=true', array('jquery'), '1', false);
Best regards,
IsmaelOctober 21, 2013 at 9:01 am #178320hi,
Thank´s for your respond.
I use the stock enfold google maps widget. I`m not sure which code I should post.Which URL do you mean?
I replaced the code but it didn´t change anything.
Regards,
icos
October 23, 2013 at 10:41 am #179583Hi!
I can’t really check this on an actual mobile device. Let’s wait for Kriesi’s response.
Regards,
IsmaelOctober 25, 2013 at 10:23 am #180564Hey!
Seems to be a problem with the connection and not the device – maybe the connection provider manipulates the requested url somehow but our script sends the sensor parameter with
?sensor=false
Best regards,
PeterOctober 25, 2013 at 12:10 pm #180608hi,
it seems like the error only appears on vodafone
s mobile connection. I tryed a t-mobile and a eplus device and the error didn
t appear.thanks for your help
Best regards,
icos
October 25, 2013 at 1:44 pm #180651Hey!
Strange, maybe try to contact the vodafone support staff and ask them why the connection doesn’t support the google maps api.
Cheers!
Peter -
AuthorPosts
- The topic ‘The google Maps API server rejected your request’ is closed to new replies.