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]