(map, dataSet, options)
| 5125 | |
| 5126 | var 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', |
nothing calls this directly
no test coverage detected