Skip to main content

Height of map in custom views

  • February 27, 2025
  • 0 replies
  • 19 views

When you include a map widget in a custom view for a dataset you may notice that the height is not optimal for screens. You can change this with the following css in the Custom View tab of Visualisations in the backoffice. Adjust the min-height value to suit.

 

.odswidget-map {
    height:-webkit-fill-available;
    min-height: 600px;
}
.odswidget-map__map {
    height: 100%;
    min-height: 600px;
}

0 replies

Be the first to reply!