• Resolved asterbird

    (@asterbird)


    Hi, the map doesn’t show right in mobile. only 1 or 2 of the map markers show near the edge of the map, and the rest are below that. Is this plugin supposed to work in mobile?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    Absolutely. Can you provide a link to your map so I can take a look?

    Also, what did you enter into the “width” setting in your map? If it’s in pixels then it won’t be able to be responsive for mobile devices. If instead you put 100% then it’ll respond to the container width.

    Let me know on those two items.

    Thanks!

    Thread Starter asterbird

    (@asterbird)

    Hi Matt,

    Thanks for your reply. Yes, the width is 100%.

    I took off the construction mode temporarily. The Map is here: https://bergx.designs4thenet.com/headquarter-sales

    Thread Starter asterbird

    (@asterbird)

    Also, I looked at it again in various mobile widths (refreshing each time), and noticed that Montreal is top center for all breakpoints. So maybe the map is top-centering instead of center-centering?

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Yes, it might just be a matter of picking your lat/long for the map more strategically and perhaps also your Zoom level.

    Can you also confirm what your Map settings are for the controls? Maybe a screenshot of the controls section?

    Thread Starter asterbird

    (@asterbird)

    Hi Matt,

    Sure, the screenshots of the controls are on this page: https://bergx.designs4thenet.com/map-settings

    Thanks!

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    I see what’s going on… your theme or page builder wrapped our map in a unique div which is cutting the height of the map. Here’s how you can avoid that:

    .x-map .x-map-inner {
        height: auto;
    }

    Add that to your theme’s styles.css or into the Customizer’s “Custom CSS” section and you should be good to go.

    Thanks!

    Thread Starter asterbird

    (@asterbird)

    Thanks! that worked. I also added padding: 0; to take care of the white box.

    Thanks again!!

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Not a problem!

    If you’re enjoying Maps Builder and appreciate our support, we’d love a kind review from you here:
    https://www.ads-software.com/support/plugin/google-maps-builder/reviews/

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Map off kilter in mobile’ is closed to new replies.