Home Forums Plugin Support WP User Frontend Pro google maps API ?

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Tareq Hasan 5 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16846

    simon
    Member
    Post count: 3

    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”.”

    #16860

    simon
    Member
    Post count: 3

    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 ?

    #16903

    Tareq Hasan
    Keymaster
    Post count: 2831

    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 3 posts - 1 through 3 (of 3 total)

The topic ‘google maps API ?’ is closed to new replies.