Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function addToOutput( OutputFacade $output ) { |
||
23 | $leafletPath = $GLOBALS['wgScriptPath'] . '/extensions/Maps/resources/lib/leaflet'; |
||
24 | |||
25 | $output->addHeadItem( |
||
26 | 'MapsGeoJsonHeadItem', |
||
27 | Html::linkedStyle( "$leafletPath/leaflet.css" ) |
||
28 | ); |
||
29 | |||
30 | $output->addHTML( $this->getJavascript() . $this->getHtml() ); |
||
31 | $output->addModules( 'ext.maps.geojson.page' ); |
||
32 | } |
||
33 | |||
85 |