Title: MapSVG plugin intergation
Last modified: January 31, 2022

---

# MapSVG plugin intergation

 *  Resolved [soliduser](https://wordpress.org/support/users/soliduser/)
 * (@soliduser)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mapsvg-plugin-intergation/)
 * Hi,
    does anyone have any experience with the integration of the [MapSVG](https://mapsvg.com/)
   plugin? I mean successfully loading google maps with MapSVG only after someone
   has allowed marketing cookies. Thank you very much for your answers.

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

 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mapsvg-plugin-intergation/#post-15310980)
 * Hi [@soliduser](https://wordpress.org/support/users/soliduser/),
 * Do you have an example page with a Google Map implemented with this plugin, so
   we can have a look at the current behavior?
 * We would gladly look into this plugin and whether an integration would be necessary.
 * Just let me know!
 * Kind regards,
    Jarno
 *  Thread Starter [soliduser](https://wordpress.org/support/users/soliduser/)
 * (@soliduser)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mapsvg-plugin-intergation/#post-15311515)
 * Hi [@jarnovos](https://wordpress.org/support/users/jarnovos/),
    thanks for your
   interest in helping me with this task. Here is my page (in slovak language) where
   MapSVG plugin is deployed: [https://www.afirmax.sk/kde-kupit/](https://www.afirmax.sk/kde-kupit/)
 * Best,
    Igor
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mapsvg-plugin-intergation/#post-15318428)
 * [@soliduser](https://wordpress.org/support/users/soliduser/) I don’t see any 
   direct Google javascript in your source. As the map seems to be calling at least
   some images from the google apis, this is likely done by the SVGMaps javascript.
 * As the website is minified, I can’t see what that url is.
 * But the way to block it, is by adding that url in the script center. If you deactivate
   the minification we can take a look.
 *  Thread Starter [soliduser](https://wordpress.org/support/users/soliduser/)
 * (@soliduser)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mapsvg-plugin-intergation/#post-15318715)
 * [@rogierlankhorst](https://wordpress.org/support/users/rogierlankhorst/) Thank
   you. I turned off script minification (please take a look). It seems that maps.
   googleapis.com is calling within the main MapSVG JS class. I tried to block “
   wp-content/plugins/mapsvg/dist/mapsvg-front.umd.js” (not sure if it is the right
   one to block) in the script center, but it doesn’t load the map when I click 
   the placeholder on the frontend.
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mapsvg-plugin-intergation/#post-15321302)
 * Do you have any console errors when this happens? Possible an inline script also
   needs to be blocked, to prevent errors on activation.
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mapsvg-plugin-intergation/#post-15324015)
 * It looks like it’s not available on the WordPress repository, so I can’t easily
   test it. I’ll contact the developers to see if they are willing to cooperate 
   on this.
 *  Thread Starter [soliduser](https://wordpress.org/support/users/soliduser/)
 * (@soliduser)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mapsvg-plugin-intergation/#post-15324185)
 * Thank you for contacting developers.
    And sorry for my late answer: I have an
   error message in the console “Uncaught ReferenceError: MapSVG is not defined”
   even before clicking on the placeholder, because the main plugin class has already
   been called by JS “window.addEventListener(“load”, function(){MapSVG.version…”.
   When I try to block just URL [https://maps.googleapis.com](https://maps.googleapis.com),
   the placeholder seems to work fine (visually :-), but the scripts from Google
   Maps are already loaded behind the scene before allowing marketing cookies.
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mapsvg-plugin-intergation/#post-15327798)
 * Three items need to be blocked I think:
 * – [https://maps.googleapis.com](https://maps.googleapis.com)
    – wp-content/plugins/
   mapsvg/dist/mapsvg-front.umd.js – MapSVG.version
 * As separate URL’s in the script center.
 * If you still get an error, the Maps.svg version should wait for mapsvg-front.
   umd.js, and mapsvg-front.umd.js should wait form maps.googleapis.com. You can
   configure this in “dependencies”
 * If we get in contact with the developer, I can test what the best solution is.
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mapsvg-plugin-intergation/#post-15338623)
 * Hi [@soliduser](https://wordpress.org/support/users/soliduser/),
 * Quick update: we are in contact with the MapSVG developer and they are willing
   to add an integration with Complianz.
 * I’ll keep you posted if there are any further updates regarding this!
 * Kind regards,
    Jarno
 *  Plugin Contributor [Leon Wimmenhoeve](https://wordpress.org/support/users/leonwimmenhoeve/)
 * (@leonwimmenhoeve)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/mapsvg-plugin-intergation/#post-15395438)
 * Hi [@soliduser](https://wordpress.org/support/users/soliduser/),
 * We have been in touch with the developer of MAPSVG, Roman. He started working
   on an integration, but has not replied to us after several reminders the past
   two weeks.
 * We can not complete this integration on our end without the developer’s cooperation.
   Perhaps you could reach out to MAPSVG as well. Feel free to mention my ticket
   number, which is #2973339.
 * We stand by to complete the integration on our end if needed.
 * Kind regards,
    Leon

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

The topic ‘MapSVG plugin intergation’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 10 replies
 * 4 participants
 * Last reply from: [Leon Wimmenhoeve](https://wordpress.org/support/users/leonwimmenhoeve/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/mapsvg-plugin-intergation/#post-15395438)
 * Status: resolved