UNPKG

bcgis-type

Version:

The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.

37 lines (36 loc) 803 B
import Layer from "../Layer"; /** * GPX 图层,用于加载 gpx 数据 * @noInheritDoc * @example * ```ts * let layer = new BC.GpxLayer('id', '**\/**.gpx') * ``` */ declare class GpxLayer extends Layer { /** * @param id 图层唯一标识 * @param url 数据地址 * @param options 属性配置 */ constructor(id: string, url: string, options?: {}); /** * 类型 */ get type(): string; /** * 是否显示 */ set show(show: boolean); get show(): boolean; /** * 遍历图层 * @param method 回调方法 * @param context * @returns */ eachOverlay(method: any, context: any): this; clear(): void; setStyle(style: any): void; } export default GpxLayer;