WordPress.org

Ready to get started?Download WordPress

Forums

Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)
[resolved] Background colour and map widt (2 posts)

  1. beetee1
    Member
    Posted 1 year ago #

    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/

  2. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic