Still working on vector tiles
This commit is contained in:
parent
b1e13e9306
commit
944c8eee53
|
@ -361,7 +361,7 @@ export const style = (feature: Feature, resolution: number) => {
|
||||||
const params = styles[type].getParameters(feature);
|
const params = styles[type].getParameters(feature);
|
||||||
const getStyle = styles[type].getStyle;
|
const getStyle = styles[type].getStyle;
|
||||||
const style = getStyle(params);
|
const style = getStyle(params);
|
||||||
// console.log({ caller: 'style', type, params, style });
|
console.log({ caller: 'style', feature, type, params, style });
|
||||||
if (style === null) {
|
if (style === null) {
|
||||||
return createDefaultStyle(feature, resolution)[0];
|
return createDefaultStyle(feature, resolution)[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue