mirror of https://gitee.com/antv-l7/antv-l7
fix: conflict
This commit is contained in:
parent
ad3f1c08dd
commit
7f87509b05
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue