blazor-components icon indicating copy to clipboard operation
blazor-components copied to clipboard

Support relative sizes for maps

Open rick-de-water opened this issue 2 years ago • 2 comments

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 avatar Sep 02 '23 13:09 rick-de-water

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

rick-de-water avatar Sep 02 '23 14:09 rick-de-water

Any solution to this one?

vitalybrandes avatar Jul 28 '24 11:07 vitalybrandes