Title: Map not loading
Last modified: June 12, 2025

---

# Map not loading

 *  Resolved [krishanpatel](https://wordpress.org/support/users/krishanpatel/)
 * (@krishanpatel)
 * [12 months ago](https://wordpress.org/support/topic/map-not-loading-34/)
 * Hi, I’ve added all my locations and placed the map on this page, but the map 
   doesn’t load, but the markers do.
 * Any help would be much appricated.
 * Thanks
   Krish
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmap-not-loading-34%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Daniel](https://wordpress.org/support/users/danielschoenherr/)
 * (@danielschoenherr)
 * [12 months ago](https://wordpress.org/support/topic/map-not-loading-34/#post-18510110)
 * Hi [@krishanpatel](https://wordpress.org/support/users/krishanpatel/)
 * I’ve checked why the map on your website isn’t displaying correctly, and here’s
   what I found:
 * Your website currently has a very restrictive** Content Security Policy (CSP)**
   in place. This is a security feature that defines which external resources (like
   images and scripts) are allowed to load. In your case, the settings are very 
   strict — they only allow loading images from your own domain.
 * Because of this, the map tiles that Open User Map relies on (served by the external
   provider `cartocdn.com`) are being blocked. That’s why the background map doesn’t
   appear.
 * Currently it blocks your Google Tag Manager scripts as well.
 * This kind of strict policy is typically set by:
    - A **security plugin** (e.g. “HTTP Headers” or “Really Simple SSL Pro”),
    - Or special settings on the **server or CDN level** (like in NGINX, Apache,
      or Cloudflare).
 * **To fix the issue**, the policy needs to be slightly adjusted to allow loading
   images from the map provider. This is a safe change and only allows access to
   specific, trusted resources that are required for the map to function.
 * Best regards,
   Daniel
 *  Thread Starter [krishanpatel](https://wordpress.org/support/users/krishanpatel/)
 * (@krishanpatel)
 * [11 months, 4 weeks ago](https://wordpress.org/support/topic/map-not-loading-34/#post-18510484)
 * Hi Daniel,
 * Thanks for your reply, do you know what change I need to make to the policy in
   order to get the map working.
   ThanksKrish
 *  Plugin Support [Daniel](https://wordpress.org/support/users/danielschoenherr/)
 * (@danielschoenherr)
 * [11 months, 4 weeks ago](https://wordpress.org/support/topic/map-not-loading-34/#post-18510506)
 * Hi Krish,
 * You need to add this to the policy:
 *     ```wp-block-code
       img-src 'self' data: https://*.cartocdn.com;
       ```
   
 * This line tells the browser it’s safe to load images (like map tiles) from `cartocdn.
   com`, which is the source used by Open User Map. Be aware that if you change 
   the map style in the settings, there might be a different map tile source that
   needs to be allowed.
 * If your CSP is set via a **WordPress security plugin**, look for a “Content Security
   Policy” section and add `https://*.cartocdn.com` to the image sources.
 * PS: As I noticed before, you are currently blocking GTM sources as well. This
   is not relevant for Open User Map – but you might want to allow GTM too.
 * Best regards,
   Daniel

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

The topic ‘Map not loading’ is closed to new replies.

 * ![](https://ps.w.org/open-user-map/assets/icon-256x256.png?rev=2779645)
 * [Open User Map](https://wordpress.org/plugins/open-user-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/open-user-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/open-user-map/)
 * [Active Topics](https://wordpress.org/support/plugin/open-user-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/open-user-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/open-user-map/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Daniel](https://wordpress.org/support/users/danielschoenherr/)
 * Last activity: [11 months, 4 weeks ago](https://wordpress.org/support/topic/map-not-loading-34/#post-18510506)
 * Status: resolved