Spaces:
Build error
Build error
Change map to satellite view
Browse files- utils/indicators.py +3 -1
utils/indicators.py
CHANGED
@@ -275,7 +275,8 @@ class IndexGenerator:
|
|
275 |
|
276 |
fig.update_layout(
|
277 |
mapbox={
|
278 |
-
"style": "
|
|
|
279 |
"center": {"lon": bbox_center[0], "lat": bbox_center[1]},
|
280 |
"zoom": zoom,
|
281 |
"layers": [
|
@@ -287,6 +288,7 @@ class IndexGenerator:
|
|
287 |
"type": "fill",
|
288 |
"below": "traces",
|
289 |
"color": "royalblue",
|
|
|
290 |
}
|
291 |
],
|
292 |
},
|
|
|
275 |
|
276 |
fig.update_layout(
|
277 |
mapbox={
|
278 |
+
"style": "satellite",
|
279 |
+
"accesstoken":os.environ['NEXT_PUBLIC_MAPBOX_API'],
|
280 |
"center": {"lon": bbox_center[0], "lat": bbox_center[1]},
|
281 |
"zoom": zoom,
|
282 |
"layers": [
|
|
|
288 |
"type": "fill",
|
289 |
"below": "traces",
|
290 |
"color": "royalblue",
|
291 |
+
"opacity": 0.5,
|
292 |
}
|
293 |
],
|
294 |
},
|