Fixing the example for Android 2.x
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user