Fixing the example for Android 2.x
This commit is contained in:
1 parent
daa16c08b1
commit
eeb5af192c
1 file changed
+1
-1
@@ -17,7 +17,7 @@ $(document).ready(function() {
|
||||
content.height(contentHeight);
|
||||
}
|
||||
|
||||
if (window.map) {
|
||||
if (window.map && window.map instanceof OpenLayers.Map) {
|
||||
map.updateSize();
|
||||
} else {
|
||||
// initialize map
|
||||
|
||||
Reference in new issue
Block a user