Sun's Out, Deals Out! UP TO 55% OFF

google maps API ?

This topic contains 2 reply and 2 voices, and was last updated by Tareq Hasan 11 years, 3 months ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
March 18, 2014 at 3:34 pm 16846
Tareq Hasan I have installed your plugin, every time I change page the below error displays? please advise me how to stop this happening have only had the plug in 10 mins an already starting to feel done. I cant see any options for Google maps to set the below request.... I don't want google maps on my site. "The Google Maps API server rejected your request. The "sensor" parameter specified in the request must be set to either "true" or "false"."
March 18, 2014 at 8:22 pm 16860
simon simon

ok, so I found a work around:

I commented out,- wp_enqueue_script( ‘google-maps’, $scheme . ‘://maps.google.com/maps/api/js?sensor=true’ );
to read- //wp_enqueue_script( ‘google-maps’, $scheme . ‘://maps.google.com/maps/api/js?sensor=true’ );

Can someone please tell me what functionality I am losing taking this out ?

March 19, 2014 at 4:27 pm 16903
Tareq Hasan Tareq Hasan

If you comment this out, you’ll lose all the map functionality in forms.

It’s showing red starts only because every field has a label and you kept them blank.

Viewing 2 Posts - 1 through 2 (of 2 total)