From 944c8eee53c3b643adcec9922b4dfa41704a9ec2 Mon Sep 17 00:00:00 2001 From: evlist Date: Sun, 15 Jan 2023 21:35:08 +0100 Subject: [PATCH] Still working on vector tiles --- src/components/gpx/styles.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/gpx/styles.ts b/src/components/gpx/styles.ts index 68a65b6..4270a67 100644 --- a/src/components/gpx/styles.ts +++ b/src/components/gpx/styles.ts @@ -331,7 +331,7 @@ const styles = { src: icon, scale: 1.5, opacity: 0.9, -// anchor: [0, 0], + // anchor: [0, 0], }), text: new Text({ text: name, @@ -361,7 +361,7 @@ export const style = (feature: Feature, resolution: number) => { const params = styles[type].getParameters(feature); const getStyle = styles[type].getStyle; const style = getStyle(params); - // console.log({ caller: 'style', type, params, style }); + console.log({ caller: 'style', feature, type, params, style }); if (style === null) { return createDefaultStyle(feature, resolution)[0]; }