Basic mechanism to support different tile providers.
This commit is contained in:
1 parent
1fb7f47c05
commit
f10fa11348
6 files changed
+85
-7
No files matched your search
@@ -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 });
|
||||
|
||||
Reference in new issue
Block a user