Skip to content

Commit

Permalink
chore: import right map type
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Jun 5, 2024
1 parent 7ca84b8 commit 663667c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/maps/src/utils/BaseMapService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type {
MapStyleName,
} from '@antv/l7-core';
import { CoordinateSystem, MapServiceEvent } from '@antv/l7-core';
import type { MapNext } from '@antv/l7-map';
import type { Map } from '@antv/l7-map';
import { DOM } from '@antv/l7-utils';
import { EventEmitter } from 'eventemitter3';
import type { ISimpleMapCoord } from './simpleMapCoord';
Expand All @@ -35,9 +35,9 @@ const EventMap: {

const LNGLAT_OFFSET_ZOOM_THRESHOLD = 12;

export default abstract class BaseMapService<T> implements IMapService<MapNext & T> {
export default abstract class BaseMapService<T> implements IMapService<Map & T> {
public version: string = 'DEFAUlTMAP';
public map: MapNext & T;
public map: Map & T;
public simpleMapCoord: ISimpleMapCoord = new SimpleMapCoord();
// 背景色
public bgColor: string = 'rgba(0.0, 0.0, 0.0, 0.0)';
Expand Down

0 comments on commit 663667c

Please sign in to comment.