Support » Plugin: Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps) » [Plugin: Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] Background colour and map widt

  • Resolved beetee1

    (@beetee1)


    Robert,
    What a fantastic plug-in! Well done!

    Firstly, I don’t do code so please be gentle. I want to change the background colour behind the map (currently #333333). Do I do this through my wordpress css file, or does leaflet.css override my page template?

    Secondly, I want to make the map wider, so that it fills the screen or at least centres on the middle of the screen. How do I do this?

    Finally, intrying to find a solution to this problem (I’ve certainly been digging!) I found the following vulnerability in your code. I don’t know if it helps, but you need to go to: http://1337day.com/exploits/18944

    I will vote 🙂
    Thanks

    http://wordpress.org/extend/plugins/leaflet-maps-marker/

Viewing 1 replies (of 1 total)
  • Plugin Author RobertHarm

    (@harmr)

    Hi beetee1,

    thanks for your feedback 🙂

    If you want to change the background behind the map (=background of your whole site), you have to change your templates css file. leaflet.css doesnt override this background.

    When creating a new marker or layer map, you can set the width and height. Set the width to 100% for example to fit the whole width of your content area.

    Concerning vulnerability: the plugin has been audited by an external company and the flaws you mentioned were discovered and fixed with v2.4. So Leaflet Maps Marker is now safe to use again 🙂
    regards,

    Robert

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] Background colour and map widt’ is closed to new replies.