Title: Simple map not working
Last modified: November 25, 2020

---

# Simple map not working

 *  Resolved [mddsharp](https://wordpress.org/support/users/mddsharp/)
 * (@mddsharp)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/simple-map-not-working/)
 * I just installed this plugin and have a simple map using:
 * [leaflet-map lat=26.21796015469915 lng=-77.25585937500001 zoom=4 zoomcontrol]
   [
   leaflet-marker lat=44.67 lng=-63.61]
 * But the marker is not showing. The map lat and lng is though.

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

 *  Plugin Author [bozdoz](https://wordpress.org/support/users/bozdoz/)
 * (@bozdoz)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/simple-map-not-working/#post-13708161)
 * I would guess the marker is off screen? You can fit the bounds of the map to 
   the layers on the map: [leaflet-map fitbounds]
    then set your marker wherever
   you want.
 *  Thread Starter [mddsharp](https://wordpress.org/support/users/mddsharp/)
 * (@mddsharp)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/simple-map-not-working/#post-13708204)
 * [@bozdoz](https://wordpress.org/support/users/bozdoz/) It’s a cache issue. I 
   use the hummingbird cache plugin and added my map address to exclude and that
   didn’t work.
 * Then, I discovered if I view the page without minification of CSS and Javascript,
   then the marker shows as intended. But, as soon as I minify again the marker 
   icon is broken.
 *  Thread Starter [mddsharp](https://wordpress.org/support/users/mddsharp/)
 * (@mddsharp)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/simple-map-not-working/#post-13708326)
 * This is resolved, it was a minification problem of CSS/javascript pages, I had
   to declare the entire URL to exclude instead of just a PATH.
 * Thanks!

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

The topic ‘Simple map not working’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [mddsharp](https://wordpress.org/support/users/mddsharp/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/simple-map-not-working/#post-13708326)
 * Status: resolved