From 4fa4989e35cceb16224dba4ddea879b6ebdedd2b Mon Sep 17 00:00:00 2001 From: Parry Date: Sat, 1 Feb 2020 19:25:06 +0800 Subject: [PATCH] fix: conflict --- examples/point/marker/demo/clustermarker.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/examples/point/marker/demo/clustermarker.js b/examples/point/marker/demo/clustermarker.js index 1ecf54cf0a..55514b5c34 100644 --- a/examples/point/marker/demo/clustermarker.js +++ b/examples/point/marker/demo/clustermarker.js @@ -1,11 +1,5 @@ -import { - Scene, - Marker, - MarkerLayer -} from '@antv/l7'; -import { - GaodeMap -} from '@antv/l7-maps'; +import { Scene, Marker, MarkerLayer } from '@antv/l7'; +import { GaodeMap } from '@antv/l7-maps'; const scene = new Scene({ id: 'map', @@ -29,9 +23,7 @@ function addMarkers() { cluster: true }); for (let i = 0; i < nodes.features.length; i++) { - const { - coordinates - } = nodes.features[i].geometry; + const { coordinates } = nodes.features[i].geometry; const marker = new Marker().setLnglat({ lng: coordinates[0], lat: coordinates[1]