MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / BaseLayer

Function BaseLayer

libs/mapv/mapv.js:5127–5139  ·  view source on GitHub ↗
(map, dataSet, options)

Source from the content-addressed store, hash-verified

5125
5126var BaseLayer = function () {
5127 function BaseLayer(map, dataSet, options) {
5128 classCallCheck(this, BaseLayer);
5129
5130 if (!(dataSet instanceof DataSet)) {
5131 dataSet = new DataSet(dataSet);
5132 }
5133
5134 this.dataSet = dataSet;
5135 this.map = map;
5136 if (options.draw === 'cluster') {
5137 this.refreshCluster(options);
5138 }
5139 }
5140
5141 createClass(BaseLayer, [{
5142 key: 'refreshCluster',

Callers

nothing calls this directly

Calls 1

classCallCheckFunction · 0.70

Tested by

no test coverage detected