@@ -23,17 +23,7 @@ class Layer(Widget):
23
23
_view_module = Unicode (module_name ).tag (sync = True )
24
24
_view_module_version = Unicode (module_version ).tag (sync = True )
25
25
26
- < << << << HEAD
27
- class RasterTileLayer (Layer ):
28
- < << << << HEAD
29
-
30
- _model_name = Unicode ('RasterTileLayerModel' ).tag (sync = True )
31
- _view_name = Unicode ('RasterTileLayerView' ).tag (sync = True )
32
- == == == =
33
- >> >> >> > 4 c0c99b (added vectortilelayer + change tilelayer to ratsertilelayer )
34
- == == == =
35
26
class TileLayer (Layer ):
36
- > >> >> >> ff8cce2 (added types to VectorTileLayer )
37
27
38
28
url = Unicode ('https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png' ).tag (sync = True )
39
29
attribution = Unicode ("" ).tag (sync = True )
@@ -42,6 +32,11 @@ class TileLayer(Layer):
42
32
min_zoom = Int (0 ).tag (sync = True )
43
33
max_zoom = Int (18 ).tag (sync = True )
44
34
source_format = Dict ().tag (sync = True )
35
+
36
+ class GeoTIFFTileLayer (Layer ):
37
+ _model_name = Unicode ('GeoTIFFTileLayerModel' ).tag (sync = True )
38
+ _view_name = Unicode ('GeoTIFFTileLayerView' ).tag (sync = True )
39
+ url = Unicode ('' ).tag (sync = True )
45
40
46
41
47
42
class RasterTileLayer (TileLayer ):
@@ -64,10 +59,6 @@ class GeoJSON(Layer):
64
59
style = Dict ({}).tag (sync = True )
65
60
visible = Bool (True ).tag (sync = True )
66
61
67
- class GeoTIFFTileLayer (Layer ):
68
- _model_name = Unicode ('GeoTIFFTileLayerModel' ).tag (sync = True )
69
- _view_name = Unicode ('GeoTIFFTileLayerView' ).tag (sync = True )
70
- url = Unicode ('' ).tag (sync = True )
71
62
72
63
class HeatmapLayer (Layer ):
73
64
_view_name = Unicode ('HeatmapLayerView' ).tag (sync = True )
@@ -77,6 +68,8 @@ class HeatmapLayer(Layer):
77
68
radius = Int (8 ).tag (sync = True )
78
69
79
70
71
+
72
+
80
73
class BaseOverlay (DOMWidget ):
81
74
82
75
_model_module = Unicode (module_name ).tag (sync = True )
0 commit comments