Title: Adding a Map as a Background
Last modified: August 31, 2016

---

# Adding a Map as a Background

 *  Resolved [aldodager](https://wordpress.org/support/users/aldodager/)
 * (@aldodager)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adding-a-map-as-a-background/)
 * Hi, I would like to install your plugin but got a couple of questions first:
 * a) I bought Unicum on ThemeForest (WP theme) and it works on a framework named
   Unyson. If I install your plugin, I will be able to add it to a framework section(
   div) as a background?
 * b) If I install it and works perfectly, is there an option for the mouse cursor
   to drag the map on click? Just like the regular Google Maps works.
 * Thank you!
 * Aldo
 * [https://wordpress.org/plugins/leaflet-maps-marker/](https://wordpress.org/plugins/leaflet-maps-marker/)

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

 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adding-a-map-as-a-background/#post-7071264)
 * Hi Aldo,
    thanks for your interest in our plugin! ad a) actually I havent seen
   an example yet where users have added maps in the background – this could be 
   achieved (depeding on the theme) by some hacks and workarounds, anyway it is 
   not recommended. ad b) you can use your mouse/clicks to move the map, yes – have
   a try at [https://demo.mapsmarker.com](https://demo.mapsmarker.com) best, Robert
 *  [webhoffi](https://wordpress.org/support/users/webhoffi/)
 * (@webhoffi)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adding-a-map-as-a-background/#post-7071371)
 * Hi,
 * i used div-containers to set map in background
 * example:
 * <div style=”position: absolute; width: 100%; height: 1400px; opacity: 0.5;”>[
   mapsmarker layer=”5″]</div>
    <div style=”position: relative; top: 0px; width:
   100%; height: 1400px;”>test</div>
 * the first container is for the map with transparenz, the second container is 
   for the text with the same height so the map cant be zoom or moved.
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adding-a-map-as-a-background/#post-7071395)
 * can you provide an URL to your map so that I can have a look?
 *  [webhoffi](https://wordpress.org/support/users/webhoffi/)
 * (@webhoffi)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adding-a-map-as-a-background/#post-7071438)
 * [http://diehoffmanns.de/?page_id=700](http://diehoffmanns.de/?page_id=700)
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adding-a-map-as-a-background/#post-7071440)
 * Hi,
    you need to add pointer-events: none; to your overlay which will allows 
   clicks on underlying elements. See [http://robertnyman.com/2010/03/22/css-pointer-events-to-allow-clicks-on-underlying-elements/](http://robertnyman.com/2010/03/22/css-pointer-events-to-allow-clicks-on-underlying-elements/)
   for more information about this CSS property. best, Robert

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

The topic ‘Adding a Map as a Background’ is closed to new replies.

 * ![](https://ps.w.org/leaflet-maps-marker/assets/icon.svg?rev=970936)
 * [Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)](https://wordpress.org/plugins/leaflet-maps-marker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-maps-marker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-maps-marker/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-maps-marker/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/adding-a-map-as-a-background/#post-7071440)
 * Status: resolved