summaryrefslogtreecommitdiff
path: root/htdocs/mapscript.js
diff options
context:
space:
mode:
authorMarkus Koch <markus@notsyncing.net>2020-04-25 18:08:02 +0200
committerMarkus Koch <markus@notsyncing.net>2020-04-25 18:08:02 +0200
commit035eb5a9920ed0507e54b6c9a3c43fab27235385 (patch)
tree48708e47182a1f70ad7250a741efad305c8df694 /htdocs/mapscript.js
parent5b5ce97a1a0a8e2bac0b875baddcd59fd8b54b67 (diff)
downloadlifomapserver-035eb5a9920ed0507e54b6c9a3c43fab27235385.tar.gz
lifomapserver-035eb5a9920ed0507e54b6c9a3c43fab27235385.tar.bz2
lifomapserver-035eb5a9920ed0507e54b6c9a3c43fab27235385.zip
Add editor styling
This function is only partially working atm. It only applies the style when resuming an existing dataset. When starting from scratch, the default style will be used.
Diffstat (limited to 'htdocs/mapscript.js')
-rw-r--r--htdocs/mapscript.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/htdocs/mapscript.js b/htdocs/mapscript.js
index 57fa0f8..3516cbd 100644
--- a/htdocs/mapscript.js
+++ b/htdocs/mapscript.js
@@ -62,6 +62,9 @@ var style_outlines = {
fillOpacity: 0.5
};
+var style_streets = {
+ };
+
// Projection fix from: https://gis.stackexchange.com/questions/200865/leaflet-crs-simple-custom-scale
var factorx = 1 / 256 * 4;