Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 7 |
CargoOpenLayersFormat | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 7 |
__construct | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
getScripts | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
getStyles | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
<?php | |
/** | |
* @author Yaron Koren | |
* @ingroup Cargo | |
*/ | |
class CargoOpenLayersFormat extends CargoMapsFormat { | |
public function __construct( $output ) { | |
parent::__construct( $output ); | |
self::$mappingService = "OpenLayers"; | |
} | |
public static function getScripts() { | |
return [ "//openlayers.org/api/OpenLayers.js" ]; | |
} | |
public static function getStyles() { | |
return []; | |
} | |
} |