Remove the console.log from the custom circle render example
This commit is contained in:
@@ -12,8 +12,6 @@ const circleFeature = new Feature({
|
|||||||
circleFeature.setStyle(
|
circleFeature.setStyle(
|
||||||
new Style({
|
new Style({
|
||||||
renderer(coordinates, state) {
|
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 [[x, y], [x1, y1]] = coordinates;
|
||||||
const ctx = state.context;
|
const ctx = state.context;
|
||||||
const dx = x1 - x;
|
const dx = x1 - x;
|
||||||
|
|||||||
Reference in New Issue
Block a user