wdpapi
Version:
51WORLD WdpApi is a set of programming interfaces developed by JavaScript that is responsible for negotiating between web pages and cloud rendering platforms. Supported by 51Cloud rendering platform, it enables the users to create any HTML5 UI element on
43 lines (42 loc) • 1.79 kB
TypeScript
import { MinMaxType, EntityEidType, BasicInfoAtomType, IPointValueAtom, VisibleAtomType, EntityFlagAtomType, EntityOutlinerAtomType } from '../data-type';
/**
* @interface RoadHeatMapType
* @extends EntityEidType,Partial<BasicInfoAtomType>,Partial<VisibleAtomType>,Partial<EntityFlagAtomType>
* @param {Partial<RoadHeatMapEntityAtomType>} roadHeatMapStyle (optional)
* @param {IPointValueAtom} points (optional)
*/
export interface RoadHeatMapType extends EntityEidType, Partial<BasicInfoAtomType>, Partial<VisibleAtomType>, Partial<EntityFlagAtomType>, Partial<EntityOutlinerAtomType> {
roadHeatMapStyle?: Partial<RoadHeatMapEntityAtomType>;
points?: IPointValueAtom;
}
/**
* @interface RoadHeatMapEntityAtomType
* @param {string} type
* @param {number} width
* @param {MinMaxType} mappingValueRange
* @param {Array<string>} gradientSetting
* @param {Array<string>} filter
*/
export interface RoadHeatMapEntityAtomType {
type: string;
width: number;
mappingValueRange: MinMaxType;
gradientSetting: Array<string>;
filter: Array<string>;
}
/**
* @interface IGenerate
* @param {Partial<RoadHeatMapEntityAtomType>} RoadHeatMapEntityAtom (optional)
* @param {Partial<BasicInfoAtomType>} BasicInfoAtom (optional)
* @param {Partial<IPointValueAtom>} PointValueAtom (optional)
* @param {Partial<VisibleAtomType>} VisibleAtom (optional)
* @param {Partial<EntityFlagAtomType>} EntityFlagAtom (optional)
*/
export interface IGenerate {
RoadHeatMapEntityAtom?: Partial<RoadHeatMapEntityAtomType>;
BasicInfoAtom?: Partial<BasicInfoAtomType>;
PointValueAtom?: Partial<IPointValueAtom>;
VisibleAtom?: Partial<VisibleAtomType>;
EntityFlagAtom?: Partial<EntityFlagAtomType>;
EntityOutlinerAtom?: Partial<EntityOutlinerAtomType>;
}