Skip to content

Commit 079d92c

Browse files
修复fgb 引用common下地址错误 review by luox
1 parent 503b20c commit 079d92c

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

src/leaflet/overlay/FGBLayer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import L from 'leaflet';
55
import '../core/Base';
66
import RBush from 'rbush';
7-
import { getIntersection } from '../../common/util/MapCalculateUtil';
8-
import { FetchRequest } from '../../common/util/FetchRequest';
7+
import { getIntersection } from '@supermap/iclient-common/util/MapCalculateUtil';
8+
import { FetchRequest } from '@supermap/iclient-common/util/FetchRequest';
99
import { deserialize } from 'flatgeobuf/lib/mjs/geojson';
1010

1111
/**

src/mapboxgl/overlay/FGBLayer.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@
88
* Apache Licene 2.0
99
* thanks dereklieu, cloudybay
1010
*/
11-
1211
import { Util as CommonUtil } from '@supermap/iclient-common/commontypes/Util';
1312
import RBush from 'rbush';
14-
import { getIntersection } from '../../common/util/MapCalculateUtil';
15-
import { FetchRequest } from '../../common/util/FetchRequest';
13+
import { getIntersection } from '@supermap/iclient-common/util/MapCalculateUtil';
14+
import { FetchRequest } from '@supermap/iclient-common/util/FetchRequest';
1615
import { deserialize } from 'flatgeobuf/lib/mjs/geojson';
1716

1817
/**

src/openlayers/overlay/FGB.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
/* Copyright© 2000 - 2023 SuperMap Software Co.Ltd. All rights reserved.
22
* This program are made available under the terms of the Apache License, Version 2.0
33
* which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/
4-
// import { FetchRequest } from '../../common/util/FetchRequest';
54
import VectorSource from 'ol/source/Vector';
65
import { deserialize } from 'flatgeobuf/lib/mjs/geojson';
7-
import { FetchRequest } from '../../common/util/FetchRequest';
6+
import { FetchRequest } from '@supermap/iclient-common/util/FetchRequest';
87
import { all, bbox } from 'ol/loadingstrategy';
9-
import { getIntersection } from '../../common/util/MapCalculateUtil';
8+
import { getIntersection } from '@supermap/iclient-common/util/MapCalculateUtil';
109
import GeoJSON from 'ol/format/GeoJSON';
1110
/**
1211
* @class FGB

0 commit comments

Comments
 (0)