Jonathan Marokhovsky commited on
Commit
501fde7
1 Parent(s): dc438fe

Updated the bak file to attempt to load the eurocrops pmtile

Browse files
Files changed (1) hide show
  1. pages/01_eurocrops.py.bak +14 -14
pages/01_eurocrops.py.bak CHANGED
@@ -97,25 +97,25 @@ class Map(leafmap.Map):
97
  def __init__(self, **kwargs) -> None:
98
  super().__init__(**kwargs)
99
  self.add_basemap("CartoDB.DarkMatter")
100
- # self.add_pmtiles(
101
- # eurocrops_pmtiles,
102
- # style=style,
103
- # name="Euro Crops",
104
- # overlay=True,
105
- # show=True,
106
- # zoom_to_layer=True,
107
- # )
108
- # print(pmtiles_style(eurocrops_pmtiles))
109
- # print(style)
110
  self.add_pmtiles(
111
- q_url,
112
- # style=pmtiles_style(q_url),
113
- style=q_style,
114
- name="Quisheng Layer",
115
  overlay=True,
116
  show=True,
117
  zoom_to_layer=True,
118
  )
 
 
 
 
 
 
 
 
 
 
 
119
  # self.add_my_pmtiles()
120
  # self.add_stac_gui() ## TODO: make sure I need this
121
 
 
97
  def __init__(self, **kwargs) -> None:
98
  super().__init__(**kwargs)
99
  self.add_basemap("CartoDB.DarkMatter")
 
 
 
 
 
 
 
 
 
 
100
  self.add_pmtiles(
101
+ eurocrops_pmtiles,
102
+ style=style,
103
+ name="Euro Crops",
 
104
  overlay=True,
105
  show=True,
106
  zoom_to_layer=True,
107
  )
108
+ # print(pmtiles_style(eurocrops_pmtiles))
109
+ # print(style)
110
+ # self.add_pmtiles(
111
+ # q_url,
112
+ # # style=pmtiles_style(q_url),
113
+ # style=q_style,
114
+ # name="Quisheng Layer",
115
+ # overlay=True,
116
+ # show=True,
117
+ # zoom_to_layer=True,
118
+ # )
119
  # self.add_my_pmtiles()
120
  # self.add_stac_gui() ## TODO: make sure I need this
121