@ohuoy/easymap 1.0.25 → 1.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import MapboxDraw from "../../../../lib/mapbox-gl-draw";
1
+ import MapboxDraw from "../../index.js";
2
2
  import * as CommonSelectors from "../lib/common_selectors.js";
3
3
  import constrainFeatureMovement from '../lib/constrain_feature_movement.js';
4
4
  import * as Constants from '../constants.js';
@@ -1,4 +1,4 @@
1
- import MapboxDraw from "../../../../lib/mapbox-gl-draw";
1
+ import MapboxDraw from ".././../index.js";
2
2
  import * as CommonSelectors from "../lib/common_selectors.js";
3
3
  import * as Constants from '../constants.js';
4
4
  //import createSupplementaryPoints from '@mapbox/mapbox-gl-draw/src/lib/create_supplementary_points.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohuoy/easymap",
3
- "version": "1.0.25",
3
+ "version": "1.0.28",
4
4
  "description": "self map easy use",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
 
2
- import MapboxDraw from "../../../lib/mapbox-gl-draw";
2
+ import MapboxDraw from "../../../lib/mapbox-gl-draw/index.js";
3
3
  import rect from '../../../lib/mapbox-gl-draw/src/extendMode/rectmode'
4
4
  import ExtendControlList from './ExtendControlList.js'
5
5
  import simple_select_rect from "../../../lib/mapbox-gl-draw/src/extendMode/simple_select_rect.js";