Skip to content

Commit d7027c2

Browse files
GeoDaoyuzhanggy
andauthored
chore: move SimpleMapCoord to antv/l7-map (#2746)
Co-authored-by: zhanggy <[email protected]>
1 parent 1709bda commit d7027c2

File tree

4 files changed

+3
-74
lines changed

4 files changed

+3
-74
lines changed

packages/map/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ export { MapMouseEvent } from './map/events';
22
export { MercatorCoordinate } from './map/geo/mercator_coordinate';
33
export { Map } from './map/map';
44
export type { MapOptions } from './map/map';
5+
export { SimpleMapCoord, type ISimpleMapCoord } from './map/util/simpleMapCoord';

packages/maps/src/lib/base-map.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import type {
1515
MapStyleName,
1616
} from '@antv/l7-core';
1717
import { CoordinateSystem } from '@antv/l7-core';
18+
import { SimpleMapCoord } from '@antv/l7-map';
1819
import type { EventEmitterStatic } from 'eventemitter3';
1920
import { EventEmitter } from 'eventemitter3';
20-
import { SimpleMapCoord } from '../utils/simpleMapCoord';
2121

2222
const LNGLAT_OFFSET_ZOOM_THRESHOLD = 12;
2323

packages/maps/src/utils/BaseMapService.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ import type {
1818
MapStyleName,
1919
} from '@antv/l7-core';
2020
import { CoordinateSystem, MapServiceEvent } from '@antv/l7-core';
21-
import type { Map } from '@antv/l7-map';
21+
import { type ISimpleMapCoord, type Map, SimpleMapCoord } from '@antv/l7-map';
2222
import { DOM } from '@antv/l7-utils';
2323
import { EventEmitter } from 'eventemitter3';
24-
import type { ISimpleMapCoord } from './simpleMapCoord';
25-
import { SimpleMapCoord } from './simpleMapCoord';
2624
import { MapTheme } from './theme';
2725
const EventMap: {
2826
[key: string]: any;

packages/maps/src/utils/simpleMapCoord.ts

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)