Added 'default' section and fixed more linting errors
This commit is contained in:
@@ -405,6 +405,8 @@ class CanvasBuilder extends VectorContext {
|
|||||||
hitDetectionRenderer || renderer,
|
hitDetectionRenderer || renderer,
|
||||||
]);
|
]);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
console.warn(`${type} geometry is not supported by custom drawing.`);
|
||||||
}
|
}
|
||||||
this.endGeometry(feature);
|
this.endGeometry(feature);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user