Remove the console.log from the custom circle render example

This commit is contained in:
changqing
2020-12-19 21:42:58 +08:00
parent c4f5709349
commit 6a7472617f

View File

@@ -12,8 +12,6 @@ const circleFeature = new Feature({
circleFeature.setStyle(
new Style({
renderer(coordinates, state) {
// eslint-disable-next-line no-console
console.log('This circle is rendered by the code below.', Date.now());
const [[x, y], [x1, y1]] = coordinates;
const ctx = state.context;
const dx = x1 - x;