Index: trunk/extensions/Maps/includes/services/OSM/Maps_OSMDispMap.php |
— | — | @@ -27,11 +27,7 @@ |
28 | 28 | 'iframe', |
29 | 29 | array( |
30 | 30 | 'id' => $mapName, |
31 | | - 'style' => array( |
32 | | - 'width' => $params['width'], |
33 | | - 'height' => $params['height'], |
34 | | - 'clear' => 'both' |
35 | | - ), |
| 31 | + 'style' => "width: {$params['width']}; height: {$params['height']}; clear: both;", |
36 | 32 | 'src' => "http://toolserver.org/~kolossos/openlayers/kml-on-ol.php?zoom={$params['zoom']}&lat={$params['centre']['lat']}&lon={$params['centre']['lon']}&lang=$lang&thumbs=$thumbs&photo=$photos" |
37 | 33 | ), |
38 | 34 | wfMsg( 'maps-loading-map' ) |
Index: trunk/extensions/Maps/includes/features/Maps_BasePointMap.php |
— | — | @@ -76,12 +76,7 @@ |
77 | 77 | 'div', |
78 | 78 | array( |
79 | 79 | 'id' => $mapName, |
80 | | - 'style' => array( |
81 | | - 'width' => $params['width'], |
82 | | - 'height' => $params['height'], |
83 | | - 'background-color' => '#cccccc', |
84 | | - 'overflow' => 'hidden' |
85 | | - ) |
| 80 | + 'style' => "width: {$params['width']}; height: {$params['height']}; background-color: #cccccc; overflow: hidden;", |
86 | 81 | ), |
87 | 82 | wfMsg( 'maps-loading-map' ) |
88 | 83 | ); |
Index: trunk/extensions/Maps/includes/features/Maps_BaseMap.php |
— | — | @@ -100,12 +100,7 @@ |
101 | 101 | 'div', |
102 | 102 | array( |
103 | 103 | 'id' => $mapName, |
104 | | - 'style' => array( |
105 | | - 'width' => $params['width'], |
106 | | - 'height' => $params['height'], |
107 | | - 'background-color' => '#cccccc', |
108 | | - 'overflow' => 'hidden' |
109 | | - ) |
| 104 | + 'style' => "width: {$params['width']}; height: {$params['height']}; background-color: #cccccc; overflow: hidden;", |
110 | 105 | ), |
111 | 106 | wfMsg( 'maps-loading-map' ) |
112 | 107 | ); |