FranciscoLozDataScience commited on
Commit
1da588b
·
1 Parent(s): be63294

updated starting point in map

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,7 +22,7 @@ def filter_map(uhi, longitude, latitude):
22
  lon=[longitude],
23
  mode='markers',
24
  marker=go.scattermapbox.Marker(
25
- size=6
26
  ),
27
  hoverinfo="text",
28
  hovertemplate='<b>UHI Index</b>: %{customdata[0]}<br><b>long</b>: %{customdata[1]}<br><b>lat</b>: %{customdata[2]}<br>',
@@ -35,7 +35,7 @@ def filter_map(uhi, longitude, latitude):
35
  mapbox=dict(
36
  bearing=0,
37
  center=go.layout.mapbox.Center(
38
- lat=40.7128,
39
  lon=-74.0060 # Default to New York City for initial view
40
  ),
41
  pitch=0,
 
22
  lon=[longitude],
23
  mode='markers',
24
  marker=go.scattermapbox.Marker(
25
+ size=10
26
  ),
27
  hoverinfo="text",
28
  hovertemplate='<b>UHI Index</b>: %{customdata[0]}<br><b>long</b>: %{customdata[1]}<br><b>lat</b>: %{customdata[2]}<br>',
 
35
  mapbox=dict(
36
  bearing=0,
37
  center=go.layout.mapbox.Center(
38
+ lat=40.7638,
39
  lon=-74.0060 # Default to New York City for initial view
40
  ),
41
  pitch=0,