fix: modify rbush package import
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* @module ol/render/canvas/Executor
|
* @module ol/render/canvas/Executor
|
||||||
*/
|
*/
|
||||||
import CanvasInstruction from './Instruction.js';
|
import CanvasInstruction from './Instruction.js';
|
||||||
import RBush from 'rbush/rbush.js';
|
import RBush from 'rbush';
|
||||||
import {TEXT_ALIGN} from './TextBuilder.js';
|
import {TEXT_ALIGN} from './TextBuilder.js';
|
||||||
import {WORKER_OFFSCREEN_CANVAS} from '../../has.js';
|
import {WORKER_OFFSCREEN_CANVAS} from '../../has.js';
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* @module ol/structs/RBush
|
* @module ol/structs/RBush
|
||||||
*/
|
*/
|
||||||
import RBush_ from 'rbush/rbush.js';
|
import RBush_ from 'rbush';
|
||||||
import {createOrUpdate, equals} from '../extent.js';
|
import {createOrUpdate, equals} from '../extent.js';
|
||||||
import {getUid} from '../util.js';
|
import {getUid} from '../util.js';
|
||||||
import {isEmpty} from '../obj.js';
|
import {isEmpty} from '../obj.js';
|
||||||
|
|||||||
Reference in New Issue
Block a user