Better import name for _ol_ext_* import

This commit is contained in:
Frederic Junod
2017-12-16 09:07:13 +01:00
parent 9a3d7eedc4
commit 22ed6a8a2f
5 changed files with 10 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
* @module ol/structs/RBush
*/
import {getUid} from '../index.js';
import _ol_ext_rbush_ from 'rbush';
import rbush from 'rbush';
import {createOrUpdate, equals} from '../extent.js';
import _ol_obj_ from '../obj.js';
@@ -20,7 +20,7 @@ var _ol_structs_RBush_ = function(opt_maxEntries) {
/**
* @private
*/
this.rbush_ = _ol_ext_rbush_(opt_maxEntries);
this.rbush_ = rbush(opt_maxEntries);
/**
* A mapping between the objects added to this rbush wrapper