Index: trunk/extensions/Maps/includes/services/OSM/Maps_OSMDispMap.php |
— | — | @@ -27,7 +27,11 @@ |
28 | 28 | 'iframe', |
29 | 29 | array( |
30 | 30 | 'id' => $mapName, |
31 | | - 'style' => "width: {$params['width']}; height: {$params['height']}; clear: both;", |
| 31 | + 'style' => array( |
| 32 | + 'width' => $params['width'], |
| 33 | + 'height' => $params['height'], |
| 34 | + 'clear' => 'both' |
| 35 | + ), |
32 | 36 | '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" |
33 | 37 | ), |
34 | 38 | wfMsg( 'maps-loading-map' ) |
Index: trunk/extensions/Maps/includes/features/Maps_BasePointMap.php |
— | — | @@ -76,7 +76,12 @@ |
77 | 77 | 'div', |
78 | 78 | array( |
79 | 79 | 'id' => $mapName, |
80 | | - 'style' => "width: {$params['width']}; height: {$params['height']}; background-color: #cccccc; overflow: hidden;", |
| 80 | + 'style' => array( |
| 81 | + 'width' => $params['width'], |
| 82 | + 'height' => $params['height'], |
| 83 | + 'background-color' => '#cccccc', |
| 84 | + 'overflow' => 'hidden' |
| 85 | + ) |
81 | 86 | ), |
82 | 87 | wfMsg( 'maps-loading-map' ) |
83 | 88 | ); |
Index: trunk/extensions/Maps/includes/features/Maps_BaseMap.php |
— | — | @@ -100,7 +100,12 @@ |
101 | 101 | 'div', |
102 | 102 | array( |
103 | 103 | 'id' => $mapName, |
104 | | - 'style' => "width: {$params['width']}; height: {$params['height']}; background-color: #cccccc; overflow: hidden;", |
| 104 | + 'style' => array( |
| 105 | + 'width' => $params['width'], |
| 106 | + 'height' => $params['height'], |
| 107 | + 'background-color' => '#cccccc', |
| 108 | + 'overflow' => 'hidden' |
| 109 | + ) |
105 | 110 | ), |
106 | 111 | wfMsg( 'maps-loading-map' ) |
107 | 112 | ); |