mirror of https://gitee.com/antv-l7/antv-l7
feat(worker): worker Source
This commit is contained in:
parent
d7d66a26f6
commit
1a5faaea45
|
@ -10,7 +10,7 @@ export default class VectorTileSource extends Base{
|
|||
}
|
||||
loadTile(tile, callback) {
|
||||
const params = {
|
||||
id: tile,
|
||||
id: tile
|
||||
};
|
||||
this.workerController.send('loadTile', params, done.bind(this));
|
||||
function done(err, data) {
|
||||
|
|
|
@ -34,7 +34,7 @@ export default class VectorTileSource extends Base {
|
|||
const workerTile = new WorkerTile(params);
|
||||
workerTile.abort = this.loadVectorData(params, (err, response) => {
|
||||
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue