• Hi guys how can I make the map reload when screen size changes?
    I was able to hack to make it work 100% width but not this.
    help is appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter glowzar

    (@glowzar)

    I used javascript to do this.

    
    	jQuery(function($){
      var windowWidth = $(window).width();
      var windowHeight = $(window).height();
    
      $(window).resize(function() {
        if(windowWidth != $(window).width() || windowHeight != $(window).height()) {
          location.reload();
          return;
        }
      });
    });
    	
Viewing 1 replies (of 1 total)

The topic ‘make the map re-load on screen width change’ is closed to new replies.