mirror of https://gitee.com/antv-l7/antv-l7
commit
4fd3e3d141
|
@ -29,10 +29,10 @@
|
|||
"gl-matrix": "^3.1.0",
|
||||
"inversify": "^5.0.1",
|
||||
"mapbox-gl": "^1.2.1",
|
||||
"viewport-mercator-project": "^6.2.1"
|
||||
"viewport-mercator-project": "^6.2.1",
|
||||
"@types/amap-js-api": "^1.4.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/amap-js-api": "^1.4.6",
|
||||
"@types/gl-matrix": "^2.4.5",
|
||||
"@types/mapbox-gl": "^0.54.3",
|
||||
"@types/viewport-mercator-project": "^6.1.0"
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
/// <reference types="amap-js-api" />
|
||||
/// <reference path="../../../node_modules/eventemitter3/index.d.ts" />
|
||||
|
||||
import { IControl } from 'mapbox-gl';
|
||||
|
||||
interface Window {
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
import { IMapWrapper, Scene } from '@antv/l7';
|
||||
import React, { createElement, createRef, useEffect, useState } from 'react';
|
||||
import { SceneContext } from './SceneContext';
|
||||
|
||||
interface IMapSceneConig {
|
||||
style?: React.CSSProperties;
|
||||
style?: Partial<React.CSSProperties>;
|
||||
className?: string;
|
||||
map: IMapWrapper;
|
||||
children?: JSX.Element | JSX.Element[] | Array<JSX.Element | undefined>;
|
||||
|
|
Loading…
Reference in New Issue