Responsive Map / Dynamic Height

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #67700 Reply

    I was trying to dynamically set the height of the map to also make it responsive. Since the width is already 100% (which works fine) I only need to adapt the height (eg when the viewport’s dimensions change). In my case I want to display the map almost fullscreen (apart from the header with logo and navigation). So I tried to dynamically change the map’s height with JS. The map container (.map) indeed had the desired height, but on the bottom of the map there were tiles missing, so I had a blank, white gap within the map. I was wondering if there is method to redraw/refill the map?

Viewing 1 post (of 1 total)
Reply To: Responsive Map / Dynamic Height
Your information:

+ 48 = 52

By continuing to use the site, you agree to the use of cookies and load data from third parties. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.