@ohuoy/easymap 1.0.1 → 1.0.2
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.
- package/index.js +2 -2
- package/lib/@antv/g-device-api/es/index.js +1 -1
- package/lib/@antv/l7/es/index.js +7 -7
- package/lib/@antv/l7-component/es/control/baseControl/buttonControl.js +1 -1
- package/lib/@antv/l7-component/es/control/baseControl/control.js +3 -3
- package/lib/@antv/l7-component/es/control/baseControl/selectControl.js +1 -1
- package/lib/@antv/l7-component/es/control/fullscreen.js +1 -1
- package/lib/@antv/l7-component/es/control/logo.js +1 -1
- package/lib/@antv/l7-component/es/control/mouseLocation.js +2 -2
- package/lib/@antv/l7-component/es/control/scale.js +1 -1
- package/lib/@antv/l7-component/es/control/swipe.js +3 -3
- package/lib/@antv/l7-component/es/control/zoom.js +2 -2
- package/lib/@antv/l7-component/es/marker-layer.js +1 -1
- package/lib/@antv/l7-component/es/marker.js +1 -1
- package/lib/@antv/l7-component/es/popup/layerPopup.js +1 -1
- package/lib/@antv/l7-component/es/popup/popup.js +1 -1
- package/lib/@antv/l7-component/es/utils/popper.js +1 -1
- package/lib/@antv/l7-core/es/services/asset/FontService.js +1 -1
- package/lib/@antv/l7-core/es/services/component/ControlService.js +1 -1
- package/lib/@antv/l7-core/es/services/config/ConfigService.js +1 -1
- package/lib/@antv/l7-core/es/services/debug/DebugService.js +1 -1
- package/lib/@antv/l7-core/es/services/interaction/PickingService.js +1 -1
- package/lib/@antv/l7-core/es/services/layer/LayerService.js +1 -1
- package/lib/@antv/l7-core/es/services/layer/StyleAttribute.js +1 -1
- package/lib/@antv/l7-core/es/services/renderer/passes/BasePostProcessingPass.js +1 -1
- package/lib/@antv/l7-core/es/services/renderer/passes/PixelPickingPass.js +1 -1
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/BloomPass.js +1 -1
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/BlurHPass.js +1 -1
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/BlurVPass.js +1 -1
- package/lib/@antv/l7-core/es/services/scene/SceneService.js +2 -2
- package/lib/@antv/l7-core/es/services/shader/ShaderModuleService.js +1 -1
- package/lib/@antv/l7-core/es/utils/vertex-compression.js +1 -1
- package/lib/@antv/l7-layers/es/citybuliding/models/build.js +2 -2
- package/lib/@antv/l7-layers/es/core/BaseLayer.js +3 -3
- package/lib/@antv/l7-layers/es/core/BaseModel.js +2 -2
- package/lib/@antv/l7-layers/es/core/CommonStyleAttribute.js +1 -1
- package/lib/@antv/l7-layers/es/core/LayerPickService.js +1 -1
- package/lib/@antv/l7-layers/es/core/TextureService.js +1 -1
- package/lib/@antv/l7-layers/es/core/shape/extrude.js +1 -1
- package/lib/@antv/l7-layers/es/core/triangulation.js +1 -1
- package/lib/@antv/l7-layers/es/earth/models/atmosphere.js +2 -2
- package/lib/@antv/l7-layers/es/earth/models/base.js +1 -1
- package/lib/@antv/l7-layers/es/earth/models/bloomsphere.js +2 -2
- package/lib/@antv/l7-layers/es/geometry/models/billboard.js +1 -1
- package/lib/@antv/l7-layers/es/geometry/models/plane.js +1 -1
- package/lib/@antv/l7-layers/es/geometry/models/sprite.js +1 -1
- package/lib/@antv/l7-layers/es/heatmap/models/grid.js +1 -1
- package/lib/@antv/l7-layers/es/heatmap/models/grid3d.js +1 -1
- package/lib/@antv/l7-layers/es/heatmap/models/heatmap.js +2 -2
- package/lib/@antv/l7-layers/es/heatmap/models/hexagon.js +1 -1
- package/lib/@antv/l7-layers/es/image/models/image.js +2 -2
- package/lib/@antv/l7-layers/es/line/models/arc.js +2 -2
- package/lib/@antv/l7-layers/es/line/models/arc_3d.js +2 -2
- package/lib/@antv/l7-layers/es/line/models/flow.js +1 -1
- package/lib/@antv/l7-layers/es/line/models/great_circle.js +2 -2
- package/lib/@antv/l7-layers/es/line/models/line.js +2 -2
- package/lib/@antv/l7-layers/es/line/models/simple_line.js +2 -2
- package/lib/@antv/l7-layers/es/line/models/wall.js +2 -2
- package/lib/@antv/l7-layers/es/mask/models/fill.js +1 -1
- package/lib/@antv/l7-layers/es/plugins/DataMappingPlugin.js +2 -2
- package/lib/@antv/l7-layers/es/plugins/DataSourcePlugin.js +2 -2
- package/lib/@antv/l7-layers/es/plugins/FeatureScalePlugin.js +2 -2
- package/lib/@antv/l7-layers/es/plugins/LayerModelPlugin.js +1 -1
- package/lib/@antv/l7-layers/es/plugins/PixelPickingPlugin.js +2 -2
- package/lib/@antv/l7-layers/es/plugins/RegisterStyleAttributePlugin.js +1 -1
- package/lib/@antv/l7-layers/es/plugins/ShaderUniformPlugin.js +1 -1
- package/lib/@antv/l7-layers/es/point/models/billboard_point.js +2 -2
- package/lib/@antv/l7-layers/es/point/models/earthExtrude.js +2 -2
- package/lib/@antv/l7-layers/es/point/models/earthFill.js +1 -1
- package/lib/@antv/l7-layers/es/point/models/extrude.js +2 -2
- package/lib/@antv/l7-layers/es/point/models/fill.js +1 -1
- package/lib/@antv/l7-layers/es/point/models/fillImage.js +2 -2
- package/lib/@antv/l7-layers/es/point/models/image.js +1 -1
- package/lib/@antv/l7-layers/es/point/models/normal.js +1 -1
- package/lib/@antv/l7-layers/es/point/models/radar.js +1 -1
- package/lib/@antv/l7-layers/es/point/models/text.js +2 -2
- package/lib/@antv/l7-layers/es/polygon/models/extrude.js +2 -2
- package/lib/@antv/l7-layers/es/polygon/models/extrusion.js +1 -1
- package/lib/@antv/l7-layers/es/polygon/models/fill.js +1 -1
- package/lib/@antv/l7-layers/es/polygon/models/ocean.js +2 -2
- package/lib/@antv/l7-layers/es/polygon/models/water.js +1 -1
- package/lib/@antv/l7-layers/es/raster/models/raster.js +2 -2
- package/lib/@antv/l7-layers/es/raster/models/rasterRgb.js +1 -1
- package/lib/@antv/l7-layers/es/raster/models/rasterTerrainRgb.js +2 -2
- package/lib/@antv/l7-layers/es/tile/core/BaseLayer.js +1 -1
- package/lib/@antv/l7-layers/es/tile/service/TilePickService.js +1 -1
- package/lib/@antv/l7-layers/es/tile/tile/RasterTile.js +1 -1
- package/lib/@antv/l7-layers/es/tile/tile/Tile.js +1 -1
- package/lib/@antv/l7-layers/es/tile/tile/index.js +1 -1
- package/lib/@antv/l7-layers/es/utils/blend.js +1 -1
- package/lib/@antv/l7-layers/es/utils/extrude_polyline.js +1 -1
- package/lib/@antv/l7-layers/es/utils/polylineNormal.js +1 -1
- package/lib/@antv/l7-layers/es/utils/simpleLine.js +1 -1
- package/lib/@antv/l7-layers/es/utils/stencil.d.ts +1 -1
- package/lib/@antv/l7-layers/es/utils/stencil.js +1 -1
- package/lib/@antv/l7-layers/es/wind/models/wind.js +2 -2
- package/lib/@antv/l7-map/es/camera.js +1 -1
- package/lib/@antv/l7-map/es/earthmap.js +1 -1
- package/lib/@antv/l7-map/es/handler/events/event.js +1 -1
- package/lib/@antv/l7-map/es/handler/handler_inertia.js +1 -1
- package/lib/@antv/l7-map/es/handler/handler_manager.js +1 -1
- package/lib/@antv/l7-map/es/hash.js +1 -1
- package/lib/@antv/l7-map/es/map.js +1 -1
- package/lib/@antv/l7-maps/es/amap/map.js +2 -2
- package/lib/@antv/l7-maps/es/amap2/map.js +2 -2
- package/lib/@antv/l7-maps/es/bmap/map.js +2 -2
- package/lib/@antv/l7-maps/es/earth/map.js +2 -2
- package/lib/@antv/l7-maps/es/gmap/map.js +3 -3
- package/lib/@antv/l7-maps/es/index.js +1 -1
- package/lib/@antv/l7-maps/es/map/map.js +2 -2
- package/lib/@antv/l7-maps/es/mapbox/map.d.ts +1 -1
- package/lib/@antv/l7-maps/es/maplibre/map.js +1 -1
- package/lib/@antv/l7-maps/es/tdtmap/map.js +2 -2
- package/lib/@antv/l7-maps/es/tmap/map.js +3 -3
- package/lib/@antv/l7-maps/es/utils/BaseMapService.js +2 -2
- package/lib/@antv/l7-maps/es/utils/amap/AMapBaseService.js +2 -2
- package/lib/@antv/l7-renderer/es/device/DeviceBuffer.js +2 -2
- package/lib/@antv/l7-renderer/es/device/DeviceCache.js +1 -1
- package/lib/@antv/l7-renderer/es/device/DeviceElements.js +2 -2
- package/lib/@antv/l7-renderer/es/device/DeviceFramebuffer.js +1 -1
- package/lib/@antv/l7-renderer/es/device/DeviceModel.js +3 -3
- package/lib/@antv/l7-renderer/es/device/DeviceTexture2D.js +2 -2
- package/lib/@antv/l7-renderer/es/device/constants.js +2 -2
- package/lib/@antv/l7-renderer/es/device/index.js +2 -2
- package/lib/@antv/l7-renderer/es/regl/ReglBuffer.js +1 -1
- package/lib/@antv/l7-renderer/es/regl/ReglElements.js +1 -1
- package/lib/@antv/l7-renderer/es/regl/ReglModel.js +3 -3
- package/lib/@antv/l7-renderer/es/regl/ReglTexture2D.js +1 -1
- package/lib/@antv/l7-renderer/es/regl/constants.js +1 -1
- package/lib/@antv/l7-scene/es/boxSelect.js +1 -1
- package/lib/@antv/l7-scene/es/index.js +5 -5
- package/lib/@antv/l7-source/es/parser/image.js +1 -1
- package/lib/@antv/l7-source/es/parser/jsonTile.js +1 -1
- package/lib/@antv/l7-source/es/parser/mvt.js +1 -1
- package/lib/@antv/l7-source/es/parser/raster-tile.js +1 -1
- package/lib/@antv/l7-source/es/source.js +2 -2
- package/lib/@antv/l7-source/es/transform/grid.js +1 -1
- package/lib/@antv/l7-source/es/transform/hexagon.js +1 -1
- package/lib/@antv/l7-source/es/utils/tile/getCustomData.js +1 -1
- package/lib/@antv/l7-source/es/utils/tile/getRasterData.js +1 -1
- package/lib/@antv/l7-source/es/utils/tile/getRasterTile.js +1 -1
- package/lib/@antv/l7-source/es/utils/tile/request.js +1 -1
- package/lib/@antv/l7-source/es/utils/util.js +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Scene ,HeatmapLayer,LineLayer, PointLayer, PolygonLayer,ExportImage,Fullscreen} from '
|
|
2
|
-
import { Mapbox } from '
|
|
1
|
+
import { Scene ,HeatmapLayer,LineLayer, PointLayer, PolygonLayer,ExportImage,Fullscreen} from './lib/@antv/l7';
|
|
2
|
+
import { Mapbox } from './lib/@antv/l7-maps';
|
|
3
3
|
import mapboxgl from 'mapbox-gl';
|
|
4
4
|
import * as mdi from '@mdi/js'
|
|
5
5
|
//import * as mdiSvg from '@mdi/font'
|
package/lib/@antv/l7/es/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
-
import Source from "
|
|
3
|
-
export * from "
|
|
4
|
-
export * from "
|
|
5
|
-
export * from "
|
|
6
|
-
export * from "
|
|
7
|
-
export * from "
|
|
8
|
-
export * from "
|
|
2
|
+
import Source from "../../l7-source";
|
|
3
|
+
export * from "../../l7-component";
|
|
4
|
+
export * from "../../l7-core";
|
|
5
|
+
export * from "../../l7-layers";
|
|
6
|
+
export * from "../../l7-maps";
|
|
7
|
+
export * from "../../l7-scene";
|
|
8
|
+
export * from "../../l7-utils";
|
|
9
9
|
export * from "./version";
|
|
10
10
|
export {
|
|
11
11
|
Source
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
import { DOM } from '
|
|
2
|
+
import { DOM } from '../../../../l7-utils';
|
|
3
3
|
import Control from "./control";
|
|
4
4
|
export { ButtonControl };
|
|
5
5
|
export default class ButtonControl extends Control {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { PositionType } from '
|
|
4
|
-
import { DOM } from '
|
|
3
|
+
import { PositionType } from '../../../../l7-core';
|
|
4
|
+
import { DOM } from '../../../../l7-utils';
|
|
5
5
|
import EventEmitter from 'eventemitter3';
|
|
6
|
-
export { PositionType } from '
|
|
6
|
+
export { PositionType } from '../../../../l7-core';
|
|
7
7
|
export { Control };
|
|
8
8
|
export default class Control extends EventEmitter {
|
|
9
9
|
constructor(option) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
import { DOM } from '
|
|
2
|
+
import { DOM } from '../../../../l7-utils';
|
|
3
3
|
import { PopperControl } from "./popperControl";
|
|
4
4
|
export { SelectControl };
|
|
5
5
|
var SelectControlConstant = /*#__PURE__*/function (SelectControlConstant) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
import { DOM } from '
|
|
4
|
+
import { DOM } from '../../../l7-utils';
|
|
5
5
|
import { createL7Icon } from "../utils/icon";
|
|
6
6
|
import ScreenFull from "../utils/screenfull";
|
|
7
7
|
import ButtonControl from "./baseControl/buttonControl";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { PositionType } from '
|
|
4
|
-
import { DOM } from '
|
|
3
|
+
import { PositionType } from '../../../l7-core';
|
|
4
|
+
import { DOM } from '../../../l7-utils';
|
|
5
5
|
import Control from "./baseControl/control";
|
|
6
6
|
export { MouseLocation };
|
|
7
7
|
export default class MouseLocation extends Control {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { DOM, lnglatDistance } from '
|
|
3
|
+
import { DOM, lnglatDistance } from '../../../l7-utils';
|
|
4
4
|
import { Control, PositionType } from "./baseControl";
|
|
5
5
|
export { Scale };
|
|
6
6
|
export default class Scale extends Control {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { createLayerContainer } from '
|
|
4
|
-
import { PolygonLayer } from '
|
|
5
|
-
import { DOM } from '
|
|
3
|
+
import { createLayerContainer } from '../../../l7-core';
|
|
4
|
+
import { PolygonLayer } from '../../../l7-layers';
|
|
5
|
+
import { DOM } from '../../../l7-utils';
|
|
6
6
|
import { Control } from "./baseControl";
|
|
7
7
|
export { Swipe };
|
|
8
8
|
export default class Swipe extends Control {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { PositionType } from '
|
|
4
|
-
import { DOM } from '
|
|
3
|
+
import { PositionType } from '../../../l7-core';
|
|
4
|
+
import { DOM } from '../../../l7-utils';
|
|
5
5
|
import { createL7Icon } from "../utils/icon";
|
|
6
6
|
import { Control } from "./baseControl";
|
|
7
7
|
export { Zoom };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { DOM, Satistics, bindAll, boundsContains, lodashUtil, padBounds } from '
|
|
3
|
+
import { DOM, Satistics, bindAll, boundsContains, lodashUtil, padBounds } from '../../l7-utils';
|
|
4
4
|
import { EventEmitter } from 'eventemitter3';
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
// tslint:disable-next-line:no-submodule-imports
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { DOM, anchorTranslate, anchorType, applyAnchorClass, bindAll, isPC } from '
|
|
3
|
+
import { DOM, anchorTranslate, anchorType, applyAnchorClass, bindAll, isPC } from '../../l7-utils';
|
|
4
4
|
import { EventEmitter } from 'eventemitter3';
|
|
5
5
|
|
|
6
6
|
// marker 支持 dragger 未完成
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { DOM, lodashUtil } from '
|
|
3
|
+
import { DOM, lodashUtil } from '../../../l7-utils';
|
|
4
4
|
import Popup from "./popup";
|
|
5
5
|
const {
|
|
6
6
|
get
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { DOM, anchorTranslate, anchorType, applyAnchorClass } from '
|
|
3
|
+
import { DOM, anchorTranslate, anchorType, applyAnchorClass } from '../../../l7-utils';
|
|
4
4
|
import { EventEmitter } from 'eventemitter3';
|
|
5
5
|
import { createL7Icon } from "../utils/icon";
|
|
6
6
|
export { Popup };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { LRUCache } from '
|
|
3
|
+
import { LRUCache } from '../../../../l7-utils';
|
|
4
4
|
// @ts-ignore
|
|
5
5
|
import TinySDF from '@mapbox/tiny-sdf';
|
|
6
6
|
import { EventEmitter } from 'eventemitter3';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { lodashUtil } from '
|
|
3
|
+
import { lodashUtil } from '../../../../l7-utils';
|
|
4
4
|
import { MaskOperation } from "../layer/ILayerService";
|
|
5
5
|
import WarnInfo from "./warnInfo";
|
|
6
6
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { guid } from '
|
|
3
|
+
import { guid } from '../../../../l7-utils';
|
|
4
4
|
import { EventEmitter } from 'eventemitter3';
|
|
5
5
|
export default class DebugService extends EventEmitter {
|
|
6
6
|
constructor(...args) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
import { decodePickingColor, DOM } from '
|
|
4
|
+
import { decodePickingColor, DOM } from '../../../../l7-utils';
|
|
5
5
|
import { isEventCrash } from "../../utils/dom";
|
|
6
6
|
import { InteractionEvent } from "../interaction/IInteractionService";
|
|
7
7
|
import { TextureUsage } from "../renderer/ITexture2D";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { lodashUtil, rgb2arr } from '
|
|
3
|
+
import { lodashUtil, rgb2arr } from '../../../../l7-utils';
|
|
4
4
|
import { EventEmitter } from 'eventemitter3';
|
|
5
5
|
import Clock from "../../utils/clock";
|
|
6
6
|
import { MaskOperation, StencilType } from "./ILayerService";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
3
|
// lodashUtil
|
|
4
|
-
import { lodashUtil } from '
|
|
4
|
+
import { lodashUtil } from '../../../../../l7-utils';
|
|
5
5
|
/* babel-plugin-inline-import '../../../shaders/post-processing/quad.glsl' */
|
|
6
6
|
const quad = "attribute vec2 a_Position;\n\nvarying vec2 v_UV;\n\nvoid main() {\n v_UV = 0.5 * (a_Position + 1.0);\n gl_Position = vec4(a_Position, 0., 1.);\n}";
|
|
7
7
|
import { PassType } from "../IMultiPassRenderer";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
import { decodePickingColor, DOM, encodePickingColor } from '
|
|
4
|
+
import { decodePickingColor, DOM, encodePickingColor } from '../../../../../l7-utils';
|
|
5
5
|
import { InteractionEvent } from "../../interaction/IInteractionService";
|
|
6
6
|
import { gl } from "../gl";
|
|
7
7
|
import { PassType } from "../IMultiPassRenderer";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
-
import { lodashUtil } from '
|
|
2
|
+
import { lodashUtil } from '../../../../../../l7-utils';
|
|
3
3
|
/* babel-plugin-inline-import '../../../../shaders/post-processing/bloom.glsl' */
|
|
4
4
|
const blur = "varying vec2 v_UV;\n\nuniform float u_BloomFinal: 0.0;\nuniform sampler2D u_Texture;\nuniform sampler2D u_Texture2;\n\nuniform vec2 u_ViewportSize: [1.0, 1.0];\nuniform float u_radius: 5.0;\nuniform float u_intensity: 0.3;\nuniform float u_baseRadio: 0.5;\n\n// https://github.com/Jam3/glsl-fast-gaussian-blur/blob/master/9.glsl\nvec4 blur9(sampler2D image, vec2 uv, vec2 resolution, vec2 direction) {\n vec4 color = vec4(0.0);\n vec2 off1 = vec2(1.3846153846) * direction;\n vec2 off2 = vec2(3.2307692308) * direction;\n color += texture2D(image, uv) * 0.2270270270;\n color += texture2D(image, uv + (off1 / resolution)) * 0.3162162162;\n color += texture2D(image, uv - (off1 / resolution)) * 0.3162162162;\n color += texture2D(image, uv + (off2 / resolution)) * 0.0702702703;\n color += texture2D(image, uv - (off2 / resolution)) * 0.0702702703;\n return color;\n}\n\nfloat luminance(vec4 color) {\n return 0.2125 * color.r + 0.7154 * color.g + 0.0721 * color.b;\n}\n\nvoid main() {\n // vec4 baseColor = texture2D(u_Texture, v_UV);\n\n float r = sqrt(u_radius);\n\n vec4 c1 = blur9(u_Texture, v_UV, u_ViewportSize, vec2(u_radius, 0.0));\n // c1 *= luminance(c1);\n vec4 c2 = blur9(u_Texture, v_UV, u_ViewportSize, vec2(0.0, u_radius));\n // c2 *= luminance(c2);\n vec4 c3 = blur9(u_Texture, v_UV, u_ViewportSize, vec2(r, r));\n // c3 *= luminance(c3);\n vec4 c4 = blur9(u_Texture, v_UV, u_ViewportSize, vec2(r, -r));\n // c4 *= luminance(c4);\n vec4 inbloomColor = (c1 + c2 + c3 + c4) * 0.25;\n\n // float lum = luminance(inbloomColor);\n // inbloomColor.rgb *= lum;\n\n if(u_BloomFinal > 0.0) {\n vec4 baseColor = texture2D(u_Texture2, v_UV);\n float baselum = luminance(baseColor);\n gl_FragColor = mix(inbloomColor, baseColor, u_baseRadio);\n if(baselum <= 0.2) {\n gl_FragColor = inbloomColor * u_intensity;\n }\n } else {\n gl_FragColor = inbloomColor;\n }\n}";
|
|
5
5
|
/* babel-plugin-inline-import '../../../../shaders/post-processing/quad.glsl' */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
-
import { lodashUtil } from '
|
|
2
|
+
import { lodashUtil } from '../../../../../../l7-utils';
|
|
3
3
|
/* babel-plugin-inline-import '../../../../shaders/post-processing/blur.glsl' */
|
|
4
4
|
const blur = "varying vec2 v_UV;\n\nuniform sampler2D u_Texture;\n\nuniform vec2 u_ViewportSize: [1.0, 1.0];\nuniform vec2 u_BlurDir: [1.0, 0.0];\n\n// https://github.com/Jam3/glsl-fast-gaussian-blur/blob/master/9.glsl\nvec4 blur9(sampler2D image, vec2 uv, vec2 resolution, vec2 direction) {\n vec4 color = vec4(0.0);\n vec2 off1 = vec2(1.3846153846) * direction;\n vec2 off2 = vec2(3.2307692308) * direction;\n color += texture2D(image, uv) * 0.2270270270;\n color += texture2D(image, uv + (off1 / resolution)) * 0.3162162162;\n color += texture2D(image, uv - (off1 / resolution)) * 0.3162162162;\n color += texture2D(image, uv + (off2 / resolution)) * 0.0702702703;\n color += texture2D(image, uv - (off2 / resolution)) * 0.0702702703;\n return color;\n}\n\nvoid main() {\n gl_FragColor = blur9(u_Texture, v_UV, u_ViewportSize, u_BlurDir);\n}";
|
|
5
5
|
/* babel-plugin-inline-import '../../../../shaders/post-processing/quad.glsl' */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
-
import { lodashUtil } from '
|
|
2
|
+
import { lodashUtil } from '../../../../../../l7-utils';
|
|
3
3
|
/* babel-plugin-inline-import '../../../../shaders/post-processing/blur.glsl' */
|
|
4
4
|
const blur = "varying vec2 v_UV;\n\nuniform sampler2D u_Texture;\n\nuniform vec2 u_ViewportSize: [1.0, 1.0];\nuniform vec2 u_BlurDir: [1.0, 0.0];\n\n// https://github.com/Jam3/glsl-fast-gaussian-blur/blob/master/9.glsl\nvec4 blur9(sampler2D image, vec2 uv, vec2 resolution, vec2 direction) {\n vec4 color = vec4(0.0);\n vec2 off1 = vec2(1.3846153846) * direction;\n vec2 off2 = vec2(3.2307692308) * direction;\n color += texture2D(image, uv) * 0.2270270270;\n color += texture2D(image, uv + (off1 / resolution)) * 0.3162162162;\n color += texture2D(image, uv - (off1 / resolution)) * 0.3162162162;\n color += texture2D(image, uv + (off2 / resolution)) * 0.0702702703;\n color += texture2D(image, uv - (off2 / resolution)) * 0.0702702703;\n return color;\n}\n\nvoid main() {\n gl_FragColor = blur9(u_Texture, v_UV, u_ViewportSize, u_BlurDir);\n}";
|
|
5
5
|
/* babel-plugin-inline-import '../../../../shaders/post-processing/quad.glsl' */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
3
|
// @ts-ignore
|
|
4
|
-
import { AsyncSeriesHook } from '
|
|
5
|
-
import { DOM } from '
|
|
4
|
+
import { AsyncSeriesHook } from '../../../../async-hook';
|
|
5
|
+
import { DOM } from '../../../../l7-utils';
|
|
6
6
|
import elementResizeDetectorMaker from 'element-resize-detector';
|
|
7
7
|
import { EventEmitter } from 'eventemitter3';
|
|
8
8
|
import { createRendererContainer } from "../../utils/dom";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { lodashUtil } from '
|
|
3
|
+
import { lodashUtil } from '../../../../l7-utils';
|
|
4
4
|
import { extractUniforms } from "../../utils/shader-module";
|
|
5
5
|
const {
|
|
6
6
|
uniq
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { AttributeType, gl } from '
|
|
4
|
-
import { rgb2arr } from '
|
|
3
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
4
|
+
import { rgb2arr } from '../../../../l7-utils';
|
|
5
5
|
import BaseModel from "../../core/BaseModel";
|
|
6
6
|
import { ShaderLocation } from "../../core/CommonStyleAttribute";
|
|
7
7
|
import { PolygonExtrudeTriangulation } from "../../core/triangulation";
|
|
@@ -5,9 +5,9 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
|
5
5
|
const _excluded = ["passes"],
|
|
6
6
|
_excluded2 = ["moduleName", "vertexShader", "fragmentShader", "inject", "triangulation", "styleOption", "pickingEnabled"];
|
|
7
7
|
// @ts-ignore
|
|
8
|
-
import { AsyncSeriesBailHook, AsyncWaterfallHook, SyncBailHook, SyncHook } from '
|
|
9
|
-
import { BlendType, IDebugLog, ILayerStage, globalConfigService } from '
|
|
10
|
-
import { encodePickingColor, lodashUtil } from '
|
|
8
|
+
import { AsyncSeriesBailHook, AsyncWaterfallHook, SyncBailHook, SyncHook } from '../../../async-hook';
|
|
9
|
+
import { BlendType, IDebugLog, ILayerStage, globalConfigService } from '../../../l7-core';
|
|
10
|
+
import { encodePickingColor, lodashUtil } from '../../../l7-utils';
|
|
11
11
|
import { EventEmitter } from 'eventemitter3';
|
|
12
12
|
import { createPlugins } from "../plugins";
|
|
13
13
|
import { BlendTypes } from "../utils/blend";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
import { BlendType, MaskOperation, StencilType } from '
|
|
5
|
-
import { rgb2arr } from '
|
|
4
|
+
import { BlendType, MaskOperation, StencilType } from '../../..//l7-core';
|
|
5
|
+
import { rgb2arr } from '../../../l7-utils';
|
|
6
6
|
import { BlendTypes } from "../utils/blend";
|
|
7
7
|
import { getStencil, getStencilMask } from "../utils/stencil";
|
|
8
8
|
import { getCommonStyleAttributeOptions, ShaderLocation } from "./CommonStyleAttribute";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttributeType, gl } from '
|
|
1
|
+
import { AttributeType, gl } from '../../../l7-core';
|
|
2
2
|
export let ShaderLocation = /*#__PURE__*/function (ShaderLocation) {
|
|
3
3
|
ShaderLocation[ShaderLocation["POSITION"] = 0] = "POSITION";
|
|
4
4
|
ShaderLocation[ShaderLocation["COLOR"] = 1] = "COLOR";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
import { lngLatInExtent } from '
|
|
4
|
+
import { lngLatInExtent } from '../../../l7-utils';
|
|
5
5
|
export default class BaseLayerPickService {
|
|
6
6
|
constructor(layer) {
|
|
7
7
|
_defineProperty(this, "layer", void 0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
import { generateCatRamp, generateColorRamp, generateCustomRamp, generateLinearRamp, generateQuantizeRamp } from '
|
|
2
|
+
import { generateCatRamp, generateColorRamp, generateCustomRamp, generateLinearRamp, generateQuantizeRamp } from '../../../l7-utils';
|
|
3
3
|
export default class TextureService {
|
|
4
4
|
constructor(layer) {
|
|
5
5
|
_defineProperty(this, "layer", void 0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aProjectFlat, calculateCentroid, calculatePointsCenterAndRadius, lngLatToMeters } from '
|
|
1
|
+
import { aProjectFlat, calculateCentroid, calculatePointsCenterAndRadius, lngLatToMeters } from '../../../l7-utils';
|
|
2
2
|
import earcut from 'earcut';
|
|
3
3
|
// @ts-ignore
|
|
4
4
|
import { vec3 } from 'gl-matrix';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
|
-
import { AttributeType, gl } from '
|
|
3
|
-
import { lodashUtil } from '
|
|
2
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
3
|
+
import { lodashUtil } from '../../../../l7-utils';
|
|
4
4
|
import BaseModel from "../../core/BaseModel";
|
|
5
5
|
import { ShaderLocation } from "../../core/CommonStyleAttribute";
|
|
6
6
|
import { earthTriangulation } from "../../core/triangulation";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { AttributeType, gl } from '
|
|
3
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
4
4
|
import BaseModel from "../../core/BaseModel";
|
|
5
5
|
import { earthTriangulation } from "../../core/triangulation";
|
|
6
6
|
import { ShaderLocation } from "../../core/CommonStyleAttribute";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
|
-
import { AttributeType, gl } from '
|
|
3
|
-
import { lodashUtil } from '
|
|
2
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
3
|
+
import { lodashUtil } from '../../../../l7-utils';
|
|
4
4
|
import BaseModel from "../../core/BaseModel";
|
|
5
5
|
import { ShaderLocation } from "../../core/CommonStyleAttribute";
|
|
6
6
|
import { earthOuterTriangulation } from "../../core/triangulation";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
import { AttributeType, gl } from '
|
|
4
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
5
5
|
import BaseModel from "../../core/BaseModel";
|
|
6
6
|
import { ShaderLocation } from "../../core/CommonStyleAttribute";
|
|
7
7
|
/* babel-plugin-inline-import '../shaders/billboard_frag.glsl' */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
import { AttributeType, gl } from '
|
|
4
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
5
5
|
// import { mat4, vec3 } from 'gl-matrix';
|
|
6
6
|
import BaseModel from "../../core/BaseModel";
|
|
7
7
|
import { ShaderLocation } from "../../core/CommonStyleAttribute";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
import { gl } from '
|
|
4
|
+
import { gl } from '../../../../l7-core';
|
|
5
5
|
import BaseModel from "../../core/BaseModel";
|
|
6
6
|
/* babel-plugin-inline-import '../shaders/sprite_frag.glsl' */
|
|
7
7
|
const spriteFrag = "\nlayout(std140) uniform commonUniforms {\n float u_opacity;\n float u_mapFlag;\n float u_Scale;\n};\nuniform sampler2D u_texture;\n\nin vec3 v_Color;\nin float v_d;\nout vec4 outputColor;\n\nvoid main() {\n\n if(v_d < 0.0) {\n discard;\n }\n\n if(u_mapFlag > 0.0) {\n outputColor = texture(SAMPLER_2D(u_texture), gl_PointCoord);\n outputColor.a *= u_opacity;\n } else {\n outputColor = vec4(v_Color, u_opacity);\n }\n}\n";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
-
import { AttributeType, gl } from '
|
|
3
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
4
4
|
import BaseModel from "../../core/BaseModel";
|
|
5
5
|
import { HeatmapGridTriangulation } from "../../core/triangulation";
|
|
6
6
|
/* babel-plugin-inline-import '../shaders/grid/grid_frag.glsl' */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
-
import { AttributeType, gl } from '
|
|
3
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
4
4
|
import BaseModel from "../../core/BaseModel";
|
|
5
5
|
import { ShaderLocation } from "../../core/CommonStyleAttribute";
|
|
6
6
|
import { PointExtrudeTriangulation } from "../../core/triangulation";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
import { AttributeType, TextureUsage, gl } from '
|
|
5
|
-
import { generateColorRamp, getCullFace, lodashUtil } from '
|
|
4
|
+
import { AttributeType, TextureUsage, gl } from '../../../../l7-core';
|
|
5
|
+
import { generateColorRamp, getCullFace, lodashUtil } from '../../../../l7-utils';
|
|
6
6
|
import { mat4 } from 'gl-matrix';
|
|
7
7
|
import BaseModel from "../../core/BaseModel";
|
|
8
8
|
import { HeatmapTriangulation } from "../../core/triangulation";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
-
import { AttributeType, gl } from '
|
|
3
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
4
4
|
import BaseModel from "../../core/BaseModel";
|
|
5
5
|
import { HeatmapGridTriangulation } from "../../core/triangulation";
|
|
6
6
|
/* babel-plugin-inline-import '../shaders/hexagon/hexagon_frag.glsl' */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { AttributeType, gl } from '
|
|
4
|
-
import { defaultValue } from '
|
|
3
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
4
|
+
import { defaultValue } from '../../../../l7-utils';
|
|
5
5
|
import BaseModel from "../../core/BaseModel";
|
|
6
6
|
import { ShaderLocation } from "../../core/CommonStyleAttribute";
|
|
7
7
|
import { RasterImageTriangulation } from "../../core/triangulation";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { AttributeType, gl } from '
|
|
4
|
-
import { rgb2arr } from '
|
|
3
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
4
|
+
import { rgb2arr } from '../../../../l7-utils';
|
|
5
5
|
import BaseModel from "../../core/BaseModel";
|
|
6
6
|
import { ShaderLocation } from "../../core/CommonStyleAttribute";
|
|
7
7
|
import { LineArcTriangulation } from "../../core/triangulation";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { AttributeType, gl } from '
|
|
4
|
-
import { rgb2arr } from '
|
|
3
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
4
|
+
import { rgb2arr } from '../../../../l7-utils';
|
|
5
5
|
import BaseModel from "../../core/BaseModel";
|
|
6
6
|
import { LineArcTriangulation } from "../../core/triangulation";
|
|
7
7
|
import { EARTH_RADIUS } from "../../earth/utils";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
|
-
import { AttributeType, gl } from '
|
|
2
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
3
3
|
import BaseModel from "../../core/BaseModel";
|
|
4
4
|
import { FlowLineTriangulation } from "../../core/line_trangluation";
|
|
5
5
|
/* babel-plugin-inline-import '../shaders/flow/flow_line_frag.glsl' */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { AttributeType, gl } from '
|
|
4
|
-
import { rgb2arr } from '
|
|
3
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
4
|
+
import { rgb2arr } from '../../../../l7-utils';
|
|
5
5
|
import BaseModel from "../../core/BaseModel";
|
|
6
6
|
import { ShaderLocation } from "../../core/CommonStyleAttribute";
|
|
7
7
|
import { LineArcTriangulation } from "../../core/triangulation";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { AttributeType, gl } from '
|
|
4
|
-
import { rgb2arr } from '
|
|
3
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
4
|
+
import { rgb2arr } from '../../../../l7-utils';
|
|
5
5
|
import BaseModel from "../../core/BaseModel";
|
|
6
6
|
import { LinearDir, TextureBlend } from "../../core/interface";
|
|
7
7
|
import { LineTriangulation } from "../../core/triangulation";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
|
-
import { AttributeType, gl } from '
|
|
3
|
-
import { rgb2arr } from '
|
|
2
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
3
|
+
import { rgb2arr } from '../../../../l7-utils';
|
|
4
4
|
import BaseModel from "../../core/BaseModel";
|
|
5
5
|
import { ShaderLocation } from "../../core/CommonStyleAttribute";
|
|
6
6
|
import { SimpleLineTriangulation } from "../../core/triangulation";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
-
import { AttributeType, gl } from '
|
|
4
|
-
import { rgb2arr } from '
|
|
3
|
+
import { AttributeType, gl } from '../../../../l7-core';
|
|
4
|
+
import { rgb2arr } from '../../../../l7-utils';
|
|
5
5
|
import BaseModel from "../../core/BaseModel";
|
|
6
6
|
import { ShaderLocation } from "../../core/CommonStyleAttribute";
|
|
7
7
|
import { LineTriangulation } from "../../core/triangulation";
|