| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | 1 | private function getHtml(): string { |
|
| 48 | 1 | return $this->wrapHtmlInThumbDivs( |
|
| 49 | 1 | Html::rawElement( |
|
| 50 | 1 | 'div', |
|
| 51 | [ |
||
| 52 | 1 | 'id' => 'GeoJsonMap', |
|
| 53 | 'style' => 'width: 100%; height: 600px; background-color: #eeeeee; overflow: hidden;', |
||
| 54 | 'class' => 'maps-map maps-leaflet maps-geojson-editor' |
||
| 55 | ], |
||
| 56 | 1 | Html::element( |
|
| 57 | 1 | 'div', |
|
| 58 | [ |
||
| 59 | 1 | 'class' => 'maps-loading-message' |
|
| 60 | ], |
||
| 61 | 1 | wfMessage( 'maps-loading-map' )->inContentLanguage()->text() |
|
| 62 | ) |
||
| 63 | ) |
||
| 64 | ); |
||
| 65 | } |
||
| 66 | |||
| 84 |