]> dev.renevier.net Git - syj.git/blobdiff - public/js/syj.js
revert: add mapquest layer
[syj.git] / public / js / syj.js
index 85db31ac775e901508f4b65116bf498449d94fcb..fbe3f737efcc06d9ff0eef3a091e0b03aa59c554 100644 (file)
@@ -450,13 +450,6 @@ var SYJView = {
         } else {
             this.map.setCenter(center, zoom);
         }
-        this.resizeMap();
-    },
-
-    resizeMap: function() {
-        var map = $('map');
-        map.style.width = map.offsetWidth.toString() + 'px';
-        map.style.height = map.offsetHeight.toString() + 'px';
     },
 
     observer: function(evt) {
@@ -1293,7 +1286,3 @@ window.onbeforeunload = function() {
         return undefined;
     }
 };
-
-window.onresize = function() {
-    SYJView.resizeMap();
-};