Skip to content

Commit b0ec1ee

Browse files
author
zhanggy
committed
chore: move SimpleMapCoord to antv/l7-map
1 parent b0e20d9 commit b0ec1ee

4 files changed

Lines changed: 3 additions & 74 deletions

File tree

packages/map/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export { MercatorCoordinate } from './map/geo/mercator_coordinate';
22
export { Map } from './map/map';
33
export type { MapOptions } from './map/map';
4+
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)