Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 4 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 1 |
CargoOpenLayersFormat | |
0.00% |
0 / 4 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
getScripts | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getStyles | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | /** |
4 | * @author Yaron Koren |
5 | * @ingroup Cargo |
6 | */ |
7 | class CargoOpenLayersFormat extends CargoMapsFormat { |
8 | |
9 | public function __construct( $output ) { |
10 | parent::__construct( $output ); |
11 | self::$mappingService = "OpenLayers"; |
12 | } |
13 | |
14 | public static function getScripts() { |
15 | return [ "//openlayers.org/api/OpenLayers.js" ]; |
16 | } |
17 | |
18 | public static function getStyles() { |
19 | return []; |
20 | } |
21 | |
22 | } |