File tree Expand file tree Collapse file tree 2 files changed +0
-35
lines changed Expand file tree Collapse file tree 2 files changed +0
-35
lines changed Original file line number Diff line number Diff line change @@ -23,21 +23,3 @@ class GeoportalWMTS(TileLayer):
23
23
_model_name = Unicode ('LeafletGeoportalWMTSModel' ).tag (sync = True )
24
24
layer_name = Unicode ("ORTHOIMAGERY.ORTHOPHOTOS" ).tag (sync = True , o = True )
25
25
apiKey = Unicode ("essentiels" ).tag (sync = True , o = True )
26
-
27
-
28
- class GeoportalWMS (TileLayer ):
29
- """GeoportalWMS class, with TileLayer as parent class
30
-
31
-
32
- Attributes
33
- ----------
34
- layer_name: string, default "GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2"
35
- name of the layer to show.
36
- apiKey: string, default "cartes"
37
- key to access a given ressource, detailed correspondances are given here : https://geoservices.ign.fr/documentation/services/tableau_ressources
38
- """
39
-
40
- _view_name = Unicode ('LeafletGeoportalWMSView' ).tag (sync = True )
41
- _model_name = Unicode ('LeafletGeoportalWMSModel' ).tag (sync = True )
42
- name = Unicode ("GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2" ).tag (sync = True , o = True )
43
- layers = Unicode ("essentiels" ).tag (sync = True , o = True )
Original file line number Diff line number Diff line change @@ -23,20 +23,3 @@ export class LeafletGeoportalWMTSView extends layer.LeafletTileLayerView {
23
23
}
24
24
}
25
25
26
- export class LeafletGeoportalWMSModel extends layer . LeafletTileLayerModel {
27
- defaults ( ) {
28
- return {
29
- ...super . defaults ( ) ,
30
- _view_name : 'LeafletGeoportalWMSView' ,
31
- _model_name : 'LeafletGeoportalWMSModel' ,
32
- layer_name : "GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2" ,
33
- apiKey : "essentiels"
34
- } ;
35
- }
36
- }
37
-
38
- export class LeafletGeoportalWMSView extends layer . LeafletTileLayerView {
39
- create_obj ( ) {
40
- this . obj = L . geoportalLayer . WMS ( { layer : this . model . get ( 'layer_name' ) , apiKey : this . model . get ( 'apiKey' ) } )
41
- }
42
- }
You can’t perform that action at this time.
0 commit comments