blazor-components
blazor-components copied to clipboard
Support relative sizes for maps
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.
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?