diff --git a/app/map_styles/polygon.xml b/app/map_styles/polygon.xml
index 4b70afd4..3e38f0f6 100644
--- a/app/map_styles/polygon.xml
+++ b/app/map_styles/polygon.xml
@@ -1,25 +1,25 @@
diff --git a/app/src/frontend/map.js b/app/src/frontend/map.js
index 7cc660b0..17fc19c7 100644
--- a/app/src/frontend/map.js
+++ b/app/src/frontend/map.js
@@ -89,6 +89,10 @@ class ColouringMap extends Component {
: null;
+ const base_layer_url = (this.state.theme === 'light')?
+ `/tiles/base_light/{z}/{x}/{y}.png`
+ : `/tiles/base_night/{z}/{x}/{y}.png`
+
return (