Extended Static-Images Endpoint (#619)

* extended staticmap capabilities

* added allowRemoteMarkerIcons configuration option and restricted fetching of remote marker icons only when option is set to true;
asynchronously load all available icons in a settings object on server startup;
replaced fs.existsSync() call in serve_rendered when drawing marker icons with a check against available icons settings object;

* updated documentation for linecap parameter in staticmaps endpoint;
added linejoin parameter to staticmaps endpoint;

* added capability of staticmap endpoint to draw multiple paths
This commit is contained in:
benedikt-brandtner-bikemap
2022-10-28 04:55:46 +02:00
committed by GitHub
parent f8a0ab6d3c
commit f3f63498a8
6 changed files with 485 additions and 60 deletions

View File

@@ -39,7 +39,8 @@
"proj4": "2.8.0",
"request": "2.88.2",
"sharp": "0.31.0",
"tileserver-gl-styles": "2.0.0"
"tileserver-gl-styles": "2.0.0",
"sanitize-filename": "1.6.3"
},
"devDependencies": {
"chai": "4.3.6",