Title: Basic Google Maps Placemarks error: bgmpData undefined.
Last modified: September 1, 2016

---

# Basic Google Maps Placemarks error: bgmpData undefined.

 *  [art005](https://wordpress.org/support/users/art005/)
 * (@art005)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/basic-google-maps-placemarks-error-bgmpdata-undefined-1/)
 * Can someone please help translate this. I don’t know how to match my names to
   what needs to be changed in the code. My map page slug name is ‘availability’,
   my short code is [bgmp-map]:
 * Copy and paste that into your theme’s functions.php file or a functionality plugin,
   update the function names and filter arguments, and then add the slugs of any
   pages/posts containing the map to $shortcodePageSlugs.
 * I put this code into a Code Editor Plug-in:
 * function bgmp-map()
    [ global $post;
 *  $shortcodePageSlugs = array(
    ‘availability’
 *  );
 *  if( $post )
    if( in_array( $post->post_name, $shortcodePageSlugs ) ) add_filter(‘
   bgmp_map’, ‘__return_true’ ); ] add_action( ‘wp’, ‘bgmp-map’ );
 * My site is running on a local server, so no way to share.
 * [https://wordpress.org/plugins/basic-google-maps-placemarks/](https://wordpress.org/plugins/basic-google-maps-placemarks/)

The topic ‘Basic Google Maps Placemarks error: bgmpData undefined.’ is closed to
new replies.

 * ![](https://ps.w.org/basic-google-maps-placemarks/assets/icon-128x128.png?rev
   =1152531)
 * [Basic Google Maps Placemarks](https://wordpress.org/plugins/basic-google-maps-placemarks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/basic-google-maps-placemarks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/basic-google-maps-placemarks/)
 * [Active Topics](https://wordpress.org/support/plugin/basic-google-maps-placemarks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/basic-google-maps-placemarks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/basic-google-maps-placemarks/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [art005](https://wordpress.org/support/users/art005/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/basic-google-maps-placemarks-error-bgmpdata-undefined-1/)
 * Status: not resolved