MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / constructor

Method constructor

src/mapboxgl/overlay/FGBLayer.js:63–78  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

61
62export class FGBLayer {
63 constructor(options = {}) {
64 this.id = options.layerID ? options.layerID : CommonUtil.createUniqueID('FGBLayer_');
65 this.layerId = this.id + 'outer';
66 this._sourceId = this.layerId;
67 this.options = options;
68 this.strategy = options.strategy || 'bbox';
69 this.url = options.url;
70 this.layerType = '';
71 this.extent = options.extent;
72 this.overlay = true;
73 this.type='custom';
74 this.renderingMode = '3d';
75 this._updateFeaturesFn = this._updateFeatures.bind(this);
76 this.interaction = true;
77 this.events = 'all';
78 }
79
80 /**
81 * @function FGBLayer.prototype.onAdd

Callers

nothing calls this directly

Calls 1

bindMethod · 0.80

Tested by

no test coverage detected