Commit fe3043d2 authored by Alison Hale's avatar Alison Hale
Browse files

summary_dha.py update initial map coordinates and zoom for new version of leaflet.js

parent 28dcf0fb
......@@ -347,8 +347,8 @@ def make_layer(web_folder_data, name, dates, cis, pars, xlsx):
geojsonName=str(list(map(str, range(len(dates))))),
geojsonGeom="LAD name",
geojsonExtraInfo="LAD code",
mapPosition_centerLatLng=str([54.3, -3.5]),
mapPosition_zoom="5",
mapPosition_centerLatLng=str([55.5, -2.7]),
mapPosition_zoom="5.5",
regionNames_country="Click region in UK to view its graph",
regionNames_area="LAD name",
colgrades_colours=str(pars["colgrades_colours"]),
......@@ -682,8 +682,8 @@ def summary_dha(input_files, output_folder, num_weeks, ci_list, config):
)
config_data += dha.global_vars(
radioNotDropdown="false",
InitialMapCenterLatLng="[54.3, -3.5]",
InitialmapZoom="5",
InitialMapCenterLatLng="[55.5, -2.7]",
InitialmapZoom="5.5",
mapUnits="false",
secondMap="true",
userDefinedBaseMaps="true",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment