Sign in to follow this  
RationalRabbit

Map Container Max height, width

Recommended Posts

I have seen references such as "map will adjust to the size of the container which has to be adjusted by other means", but that "other means" is never described in the responses I have seen.

Since my experiments seem to show that max-height and max-width do not work, resulting in a tiny, scrunched up map, I assume the only means I have left is javascript or media queries.

 

Is this right, or am I missing something?

Share this post


Link to post
Share on other sites

I'm afraid I do not know how to set anything in the <head> section on jsfiddle, and the viewport would need to be set. I don't know that that would be a good way to demo, anyway. as the demo should really be full screen.

You can take a look at my demo page, though,  here

I did change the jsfiddle markup to basically resemble my setup.  Opacity doesn't seem to be working, for some reason.

Share this post


Link to post
Share on other sites

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
Sign in to follow this