Title: map error
Last modified: October 3, 2018

---

# map error

 *  Resolved [foxpaw](https://wordpress.org/support/users/foxpaw/)
 * (@foxpaw)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/map-error-4/)
 * Working on a local dev site, so I cannot post a link, however when I insert the
   Map block, I receive an error:
    “This block has encountered an error and cannot
   be previewed.”
 * Looked into the configuration page for this (Adv. Gutenberg) and aside from the
   longitude and latitude being set to my location, and height set to 50, I do not
   have anything else in the fields. What needs to be set in order for this to work?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [JoomUnited](https://wordpress.org/support/users/joomunited/)
 * (@joomunited)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/map-error-4/#post-10746082)
 * Hi,
 * Thanks for reporting.
    Did you add the API key in the plugin configuration? You
   need to setup a Google Maps API key.
 * Cheers,
 *  Thread Starter [foxpaw](https://wordpress.org/support/users/foxpaw/)
 * (@foxpaw)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/map-error-4/#post-10746818)
 * ach so!
    will this be the directions api, maps elevation? maps javascript? places?
   embed? or static?
 * so many apis, so little time.
 *  [JoomUnited](https://wordpress.org/support/users/joomunited/)
 * (@joomunited)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/map-error-4/#post-10746866)
 * I think it’s embed.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘map error’ is closed to new replies.

 * ![](https://ps.w.org/advanced-gutenberg/assets/icon-256x256.png?rev=3393761)
 * [PublishPress Blocks - Block Controls, Block Visibility, Block Permissions](https://wordpress.org/plugins/advanced-gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-gutenberg/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [JoomUnited](https://wordpress.org/support/users/joomunited/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/map-error-4/#post-10746866)
 * Status: resolved