• Resolved doomdaysam

    (@doomdaysam)


    Hello, first of all, great plugin. Second: I try to fit travelers map in a sidebar (widget or builder module doesn’t matter which way) if i use the simple cote [travelers-map] i see something like a looooong div with top and bottom space empty. But if i use a shortcode supposed to give map dimension like [travelers-map width=300 height=300 init_maxzoom=1] i see hust a little strip (50 or 30 px high). Do i miss something??
    Thankyou, and again, great work!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Camille V

    (@socrapop)

    Dear @doomdaysam,

    As stated in the shortcode helper page:

    Any valid CSS unit is accepted, although px and vh are recommended. Exemple: 500px or 25vh

    You should state the unit for your width and height ??
    So, your shortcode must be [travelers-map width=300px height=300px init_maxzoom=1]

    Then, the loooong div with bottom and top space empty, with a grey background, is simply because the map is zoomed out, and is smaller than the div. If you set the initial zoom to 1 and if you have a square container, you will have grey borders because the earth map is not a square ??

    Thread Starter doomdaysam

    (@doomdaysam)

    ok, thats it. Another question… (they always ask for more, lol!) I will need to see on the global map [travelers-map] only the last 10 post pubblished. There can be a trick to do that?

    Plugin Author Camille V

    (@socrapop)

    Mh, no there is no trick for that, the plugin is not able to do that for now.

    But I’m adding it to my long to-do list ?? (don’t wait for the update, I’m pretty busy right now :/)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem in sizing’ is closed to new replies.