Fixing the example for Android 2.x

This commit is contained in:
ahocevar
2011-10-25 08:53:05 +02:00
parent daa16c08b1
commit eeb5af192c
+1 -1
View File
@@ -17,7 +17,7 @@ $(document).ready(function() {
content.height(contentHeight); content.height(contentHeight);
} }
if (window.map) { if (window.map && window.map instanceof OpenLayers.Map) {
map.updateSize(); map.updateSize();
} else { } else {
// initialize map // initialize map