Spaces:
Sleeping
Sleeping
Yunus Serhat Bıçakçı
commited on
Commit
·
99c678c
1
Parent(s):
f0d17bb
update
Browse files- app.py +0 -2
- pages/5_📍_Marker_Cluster.py +3 -3
app.py
CHANGED
|
@@ -46,7 +46,5 @@ m = leafmap.Map(center=(51.50, -0.1), zoom=11,
|
|
| 46 |
fullscreen_control=False,
|
| 47 |
attribution_control=False,
|
| 48 |
)
|
| 49 |
-
regions = "https://huggingface.co/spaces/yunusserhat/Crime-Map/blob/main/data/london_boroughs.json"
|
| 50 |
-
m.add_geojson(regions, layer_name='London Boroughs', fill_opacity=0.0, line_opacity=0.5)
|
| 51 |
m.to_streamlit()
|
| 52 |
|
|
|
|
| 46 |
fullscreen_control=False,
|
| 47 |
attribution_control=False,
|
| 48 |
)
|
|
|
|
|
|
|
| 49 |
m.to_streamlit()
|
| 50 |
|
pages/5_📍_Marker_Cluster.py
CHANGED
|
@@ -22,11 +22,11 @@ st.title("Marker Cluster")
|
|
| 22 |
with st.expander("See source code"):
|
| 23 |
with st.echo():
|
| 24 |
|
| 25 |
-
m = leafmap.Map(center=[
|
| 26 |
cities = 'https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/us_cities.csv'
|
| 27 |
-
regions = 'https://
|
| 28 |
|
| 29 |
-
m.add_geojson(regions, layer_name='
|
| 30 |
m.add_points_from_xy(
|
| 31 |
cities,
|
| 32 |
x="longitude",
|
|
|
|
| 22 |
with st.expander("See source code"):
|
| 23 |
with st.echo():
|
| 24 |
|
| 25 |
+
m = leafmap.Map(center=[51.50, -0.1], zoom=11)
|
| 26 |
cities = 'https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/us_cities.csv'
|
| 27 |
+
regions = 'https://huggingface.co/spaces/yunusserhat/Crime-Map/blob/main/data/london_boroughs.json'
|
| 28 |
|
| 29 |
+
m.add_geojson(regions, layer_name='London Boroughs')
|
| 30 |
m.add_points_from_xy(
|
| 31 |
cities,
|
| 32 |
x="longitude",
|