Basic mechanism to support different tile providers.

This commit is contained in:
vdv committed 2022-11-28 15:27:36 +01:00
1 parent 1fb7f47c05
commit f10fa11348
6 files changed
+85 -7

No files matched your search

+2 -1
View File
@@ -40,10 +40,11 @@ const textFill = new Fill({
const wptTextStyle = (feature: Feature) =>
new Text({
font: '12px Calibri,sans-serif',
font: '16px Calibri,sans-serif',
text: feature.get('name'),
fill: textFill,
stroke: textStroke,
offsetY: -40,
});
const trtksegStyle = new Style({ stroke: trackStrokeStyle });