Support

Account

Home Forums General Issues How to retrieve only iframe source link of Google Map Custom Field. Reply To: How to retrieve only iframe source link of Google Map Custom Field.

  • I’m getting this error “The Google Maps API server rejected your request. Invalid request. Missing the ‘q’ parameter.”

    There seemed to be a missing “)” tried many combinations though I’m not sure I included it correctly..

    $src = esc_url(add_query_arg([
              'key' => MyKey,
              'q' => $map['address']], 'https://www.google.com/maps/embed/v1/place')); ?>

    Regards.