Still working on vector tiles

This commit is contained in:
Eric van der Vlist 2023-01-15 21:35:08 +01:00
parent b1e13e9306
commit 944c8eee53
1 changed files with 2 additions and 2 deletions

View File

@ -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];
}