Skip to content
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

Open
rick-de-water opened this issue Sep 2, 2023 · 2 comments
Open

Support relative sizes for maps #130

rick-de-water opened this issue Sep 2, 2023 · 2 comments

Comments

@rick-de-water
Copy link

Width and Height 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.

@rick-de-water
Copy link
Author

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;
}

@vitalybrandes
Copy link

Any solution to this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants