diff --git a/templates/map/client/config.json b/templates/map/client/config.json index 047f2507..da7f6851 100644 --- a/templates/map/client/config.json +++ b/templates/map/client/config.json @@ -60,5 +60,49 @@ "gifWebWorker": "/static/libs/gifjs/0.2.0/gif.worker.js", "defaultFilename": "Export", "defaultMargin": 10 + }, + + "tools": + { + "buffer": + { + "defaultRadius": 10, + "defaultSegments": 3 + } + }, + + "styles": + { + "editLayer": + { + "fill": "rgba( 255, 0, 0, 0.1 )", + "stroke": "#ff0000", + "strokeWidth": 3, + "pointRadius": 6 + }, + + "select": + { + "fill": "rgba( 0, 127, 255, 0.5 )", + "stroke": "#007fff", + "strokeWidth": 3, + "pointRadius": 6 + }, + + "sketch": + { + "fill": "rgba( 0, 127, 0, 0.2 )", + "stroke": "#ff0000", + "strokeWidth": 3, + "pointRadius": 6 + }, + + "modify": + { + "fill": "rgba( 0, 127, 0, 0.5 )", + "stroke": "#007f00", + "strokeWidth": 3, + "pointRadius": 6 + } } } \ No newline at end of file diff --git a/templates/map/client/index.html b/templates/map/client/index.html index 07365949..4612cd25 100644 --- a/templates/map/client/index.html +++ b/templates/map/client/index.html @@ -5,8 +5,8 @@ - -
+ +