giswqs commited on
Commit
a145053
·
1 Parent(s): 4dfe3f2

Updated split map

Browse files
Files changed (1) hide show
  1. pages/11_🧱_Ordnance_Survey.py +13 -2
pages/11_🧱_Ordnance_Survey.py CHANGED
@@ -28,12 +28,12 @@ basemaps = leafmap.basemaps
28
  names = df["Name"].values.tolist() + list(basemaps.keys())
29
  links = df["URL"].values.tolist() + list(basemaps.values())
30
 
31
- col1, col2, col3, col4, col5, col6 = st.columns([3, 3, 1, 1, 1, 1.5])
32
  with col1:
33
  left_name = st.selectbox(
34
  "Select the left layer",
35
  names,
36
- index=names.index("Great Britain - OS 1:25,000, 1937-61"),
37
  )
38
 
39
  with col2:
@@ -58,6 +58,17 @@ with col5:
58
  with col6:
59
  checkbox = st.checkbox("Add OS 25 inch")
60
 
 
 
 
 
 
 
 
 
 
 
 
61
  m = leafmap.Map(
62
  center=[float(lat), float(lon)],
63
  zoom=int(zoom),
 
28
  names = df["Name"].values.tolist() + list(basemaps.keys())
29
  links = df["URL"].values.tolist() + list(basemaps.values())
30
 
31
+ col1, col2, col3, col4, col5, col6, col7 = st.columns([3, 3, 1, 1, 1, 1.5, 1.5])
32
  with col1:
33
  left_name = st.selectbox(
34
  "Select the left layer",
35
  names,
36
+ index=names.index("Great Britain - Bartholomew Half Inch, 1897-1907"),
37
  )
38
 
39
  with col2:
 
58
  with col6:
59
  checkbox = st.checkbox("Add OS 25 inch")
60
 
61
+ # with col7:
62
+ with st.expander("Acknowledgements"):
63
+ markdown = """
64
+ The map tile access is by kind arrangement of the National Library of Scotland on the understanding that re-use is for personal purposes. They host most of the map layers except these:
65
+ - The Roy Maps are owned by the British Library.
66
+ - The Great Britain – OS maps 1:25,000, 1937-61 and One Inch 7th series, 1955-61 are hosted by MapTiler.
67
+
68
+ If you wish you use these layers within a website, or for a commercial or public purpose, please view the National Library of Scotland Historic Maps Subscription API or contact them at maps@nls.uk.
69
+ """
70
+ st.markdown(markdown, unsafe_allow_html=True)
71
+
72
  m = leafmap.Map(
73
  center=[float(lat), float(lon)],
74
  zoom=int(zoom),