WordPress.org

Ready to get started?Download WordPress

Forums

Google Maps made Simple
Minimum Height (2 posts)

  1. DGWordPressUser
    Member
    Posted 3 years ago #

    Hi, and thanks for a great plug-in.

    I would like to embed a square map 150 pixelswide by 150 pixels high, however the minimum custom height is 300. Is there anyway to change this without resorting to hacks?

    Thanks

    http://wordpress.org/extend/plugins/wp-gmappity-easy-google-maps/

  2. mschwar
    Member
    Plugin Author

    Posted 3 years ago #

    Hi DG,

    Glad the plugin is useful!

    So the short answer is not without hacks at the moment.

    You could absolutely just hop into the database and change your stored values for that map if you like. Or resize the div with a piece of javascript. Or I (possibly?) a CSS !important rule in your stylesheet.

    Again - those are all hacky though.

    The reason this is set this way is legacy from when the plugin was using version 2 of the Google Maps API. Maps broke down below those dimensions as the Google copyright took up most of the space leaving the map pretty unusable.

    I'll take a look to see if that is still the case with version 3 of the API since we have made the jump to it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic