Support » Plugin: Simple Maps » how to get rid of the blank space on top of the world map

  • Resolved eloou

    (@eloou)


    Hello.
    This plugin works perfectly.
    The only thing i can’t figure it out is how to get rid of the blank space on top of the world map?
    There is a blank space between the id=map_inner and the greenland of about 50px and it’s way to large!
    If someone has the solution it will be very helpfull.
    Thanks

    https://wordpress.org/plugins/interactive-maps/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author simplemaps

    (@simplemaps)

    Hi eloou,

    You can adjust the dimensions of the map by adding the following code to the end of your continentmap.js file (and then reuploading it):

    //Tweak map dimensions
    simplemaps_continentmap_mapinfo.calibrate.ratio=2;
    simplemaps_continentmap_mapinfo.calibrate.x_adjust=-250;
    simplemaps_continentmap_mapinfo.calibrate.y_adjust=-60;

    The above settings will get rid of the extra vertical space. Feel free to tweak them. The ratio is the width of the map divided by the height. Let me know how it goes.

    Chris

    Thank you very much!
    That works perfectly.
    Again, the best world map plugin for wordpress!

    Plugin Author simplemaps

    (@simplemaps)

    Thanks for your kind words eloou. If you have the time, I’d appreciate it if you would leave a review.

    Of course! Done!

    Plugin Author simplemaps

    (@simplemaps)

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to get rid of the blank space on top of the world map’ is closed to new replies.