Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/map/src/map/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ import { Event } from './util/evented';
import Point from '@mapbox/point-geometry';
import { DOM } from './util/dom';

import { SimpleMapCoord } from '@antv/l7-maps';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

确保从@antv/l7-maps导入的SimpleMapCoord类与原本实现的功能一致,以避免潜在的功能性问题。

import type { LngLat } from './geo/lng_lat';
import type { Map } from './map';

import { SimpleMapCoord } from './util/simpleMapCoord';

/**
* `MapEventType` - a mapping between the event name and the event value.
* These events are used with the {@link Map#on} method.
Expand Down
70 changes: 0 additions & 70 deletions packages/map/src/map/util/simpleMapCoord.ts

This file was deleted.

3 changes: 2 additions & 1 deletion packages/maps/src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import BaseMapService from './BaseMapService';
import BaseMapWrapper from './BaseMapWrapper';
export { BaseMapService, BaseMapWrapper };
import { SimpleMapCoord } from './simpleMapCoord';
export { BaseMapService, BaseMapWrapper, SimpleMapCoord };
Loading