1 | <?php |
||
15 | class WmsOverlay extends BaseElement { |
||
16 | |||
17 | /** |
||
18 | * @var String Base url to WMS server |
||
19 | */ |
||
20 | private $wmsServerUrl; |
||
21 | |||
22 | /** |
||
23 | * @var String WMS Layer name |
||
24 | */ |
||
25 | private $wmsLayerName; |
||
26 | |||
27 | /** |
||
28 | * @var String WMS Style name (default value: 'default') |
||
29 | */ |
||
30 | private $wmsStyleName; |
||
31 | |||
32 | public function __construct( string $wmsServerUrl, string $wmsLayerName, string $wmsStyleName = "default" ) { |
||
37 | |||
38 | public function getJSONObject( string $defText = '', string $defTitle = '' ): array { |
||
48 | |||
49 | public function getWmsServerUrl(): string { |
||
52 | |||
53 | public function setWmsServerUrl( string $wmsServerUrl ) { |
||
56 | |||
57 | public function getWmsLayerName(): string { |
||
60 | |||
61 | public function setWmsLayerName( string $wmsLayerName ) { |
||
64 | |||
65 | public function getWmsStyleName(): string { |
||
68 | |||
69 | public function setWmsStyleName( string $wmsStyleName ) { |
||
72 | |||
73 | } |
||
74 |
This method has been deprecated.