Jump to content

Recommended Posts

Posted

I'm having issues with a responsive map using the MarkupGoogleMap output of the FieldTypeMapMarker not centering properly when it displays.

It appears the map is loading assuming a much wider map resulting in the map marker being offset by a considerable amount to the side so that is is out of sight without dragging the map.

I think the MarkupGoogleMap.js file needs tweaking, but I'm not quite sure where.

Posted

Make sure in your CSS you set the width to 100% & specify the height in px.

I use:

width: 100%; height: 600px; position: relative; overflow: hidden;

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...