Skip to content

Commit

Permalink
wip: mapbox and maplibre
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed May 26, 2024
1 parent 995fc79 commit 0530be9
Show file tree
Hide file tree
Showing 9 changed files with 583 additions and 305 deletions.
3 changes: 1 addition & 2 deletions packages/extension-maps/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Mapbox from './mapbox/';
import MapLibre from './maplibre';
import TMap from './tdtmap';
import TencentMap from './tmap';
import type { MapType } from './types';
export * from './utils';

export { BaiduMap, GaodeMap, GoogleMap, MapLibre, MapType, Mapbox, TMap, TencentMap };
export { BaiduMap, GaodeMap, GoogleMap, MapLibre, Mapbox, TMap, TencentMap };
4 changes: 2 additions & 2 deletions packages/extension-maps/src/mapbox/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { BaseMapWrapper } from '@antv/l7-core';
import type { Map } from 'mapbox-gl';
import type { IMapboxInstance } from '../types';
import './logo.css';
import MapboxService from './map';
export default class MapboxWrapper extends BaseMapWrapper<Map & IMapboxInstance> {

export default class MapboxWrapper extends BaseMapWrapper<Map> {
protected getServiceConstructor() {
return MapboxService;
}
Expand Down
Loading

0 comments on commit 0530be9

Please sign in to comment.