mirror of https://gitee.com/antv-l7/antv-l7
feat: 提交修改
This commit is contained in:
parent
146bb81e6b
commit
63b844ca37
|
@ -72,7 +72,7 @@ module.exports = [
|
||||||
commonjs({
|
commonjs({
|
||||||
namedExports: {
|
namedExports: {
|
||||||
eventemitter3: [ 'EventEmitter' ],
|
eventemitter3: [ 'EventEmitter' ],
|
||||||
inversify: ['inject','injectable','postConstruct','Container','decorate','interfaces'],
|
// inversify: ['inject','injectable','postConstruct','Container','decorate','interfaces'],
|
||||||
// @see https://github.com/rollup/rollup-plugin-commonjs/issues/266
|
// @see https://github.com/rollup/rollup-plugin-commonjs/issues/266
|
||||||
lodash: [
|
lodash: [
|
||||||
'isNil',
|
'isNil',
|
||||||
|
|
|
@ -130,7 +130,7 @@ export interface ILayer {
|
||||||
scale(field: string | number | IScaleOptions, cfg?: IScale): ILayer;
|
scale(field: string | number | IScaleOptions, cfg?: IScale): ILayer;
|
||||||
size(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
|
size(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
|
||||||
color(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
|
color(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
|
||||||
texture(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
|
texture?(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
|
||||||
shape(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
|
shape(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
|
||||||
label(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
|
label(field: StyleAttrField, value?: StyleAttributeOption): ILayer;
|
||||||
animate(option: Partial<IAnimateOption> | boolean): ILayer;
|
animate(option: Partial<IAnimateOption> | boolean): ILayer;
|
||||||
|
|
|
@ -30,7 +30,7 @@ export interface IMapWrapper {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IMapService<RawMap = {}> {
|
export interface IMapService<RawMap = {}> {
|
||||||
version: string;
|
version?: string;
|
||||||
map: RawMap;
|
map: RawMap;
|
||||||
init(): void;
|
init(): void;
|
||||||
initViewPort?(): void;
|
initViewPort?(): void;
|
||||||
|
|
Loading…
Reference in New Issue