SOLVED: Map disappears when you set map height to 100%

1.5.2

1 Like

Hi Kevin,
Thanks so much for your report and sorry for the late reply.

If you add a height of 100% to the map, the height is applied to .brxe-map .map. However, .brxe-map (the wrapper of the map) has no height (0px) and accordingly 100% of 0 is also 0.

We’ll have to see if we can improve this in one of the following versions.

A simple workaround:

root {
  height: 100%;  /* so it takes up 100% height of its parent, which needs a fixed height */
  /* height: 400px;  or set a fixed height, if the parent has no height */ 
}

Best regards,
timmse

ok how can this be solved if we need to custom code it? strange

Let us worry about that…