-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support relative sizes for maps #130
Comments
I work around the issue for now by putting the map in a div and adding the following css: .map-container > div {
width: 100% !important;
height: 100% !important;
} |
Any solution to this one? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Width
andHeight
are defined in pixels, and there is no way to set a map to a relative value such as a percentage. This makes dynamically filling part of the screen with the map very difficult.The text was updated successfully, but these errors were encountered: