gisviewer-vue3-arcgis 1.0.283 → 1.0.284
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/es/{packages/components/index.mjs → index.mjs} +5 -6
- package/es/src/gis-map/gis-map.vue.d.ts +1 -124
- package/es/{packages/components/src → src}/gis-map/gis-map.vue.mjs +63 -63
- package/es/src/gis-map/index.d.ts +1 -124
- package/es/{packages/components/src → src}/gis-map/utils/index.mjs +2 -2
- package/es/src/gis-map-ol/index.d.ts +1 -44
- package/es/src/index.mjs +6 -0
- package/es/style.css +1 -1
- package/lib/index.js +1 -0
- package/lib/src/gis-map/gis-map.vue.d.ts +1 -124
- package/lib/src/gis-map/gis-map.vue.js +1 -0
- package/lib/src/gis-map/index.d.ts +1 -124
- package/lib/src/gis-map/utils/index.js +1 -0
- package/lib/src/gis-map-ol/index.d.ts +1 -44
- package/lib/src/index.js +1 -0
- package/package.json +1 -1
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Collection.mjs +0 -195
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/CollectionEventType.mjs +0 -17
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/DataTile.mjs +0 -73
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Disposable.mjs +0 -21
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Feature.mjs +0 -181
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Image.mjs +0 -48
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/ImageState.mjs +0 -10
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/ImageTile.mjs +0 -131
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Kinetic.mjs +0 -58
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Map.mjs +0 -1051
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/MapBrowserEvent.mjs +0 -59
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/MapBrowserEventHandler.mjs +0 -232
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/MapBrowserEventType.mjs +0 -45
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/MapEvent.mjs +0 -15
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/MapEventType.mjs +0 -35
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/MapProperty.mjs +0 -9
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Object.mjs +0 -136
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/ObjectEventType.mjs +0 -11
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Observable.mjs +0 -105
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Tile.mjs +0 -116
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/TileQueue.mjs +0 -69
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/TileRange.mjs +0 -79
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/TileState.mjs +0 -14
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/View.mjs +0 -1170
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/ViewHint.mjs +0 -7
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/ViewProperty.mjs +0 -8
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/array.mjs +0 -89
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/asserts.mjs +0 -7
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/centerconstraint.mjs +0 -35
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/color.mjs +0 -133
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/colorlike.mjs +0 -47
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/console.mjs +0 -13
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/control/Attribution.mjs +0 -134
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/control/Control.mjs +0 -73
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/control/Rotate.mjs +0 -71
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/control/Zoom.mjs +0 -63
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/control/defaults.mjs +0 -12
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/coordinate.mjs +0 -42
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/css.mjs +0 -49
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/dom.mjs +0 -112
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/easing.mjs +0 -18
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/events/Event.mjs +0 -27
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/events/EventType.mjs +0 -32
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/events/Key.mjs +0 -9
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/events/Target.mjs +0 -101
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/events/condition.mjs +0 -65
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/events.mjs +0 -27
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/expr/cpu.mjs +0 -367
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/expr/expression.mjs +0 -649
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/extent/Relationship.mjs +0 -11
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/extent.mjs +0 -239
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/featureloader.mjs +0 -54
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/functions.mjs +0 -35
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/Geometry.mjs +0 -235
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/LinearRing.mjs +0 -147
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/Point.mjs +0 -101
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/Polygon.mjs +0 -319
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/SimpleGeometry.mjs +0 -249
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/area.mjs +0 -22
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/center.mjs +0 -18
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/closest.mjs +0 -119
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/contains.mjs +0 -41
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/deflate.mjs +0 -32
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/inflate.mjs +0 -42
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/interiorpoint.mjs +0 -38
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/interpolate.mjs +0 -27
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/intersectsextent.mjs +0 -78
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/length.mjs +0 -11
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/linechunk.mjs +0 -26
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/orient.mjs +0 -62
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/reverse.mjs +0 -12
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/segments.mjs +0 -13
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/simplify.mjs +0 -89
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/straightchunk.mjs +0 -11
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/textpath.mjs +0 -61
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/transform.mjs +0 -51
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/has.mjs +0 -24
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/DoubleClickZoom.mjs +0 -32
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/DragBox.mjs +0 -152
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/DragPan.mjs +0 -79
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/DragRotate.mjs +0 -54
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/DragZoom.mjs +0 -41
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/Interaction.mjs +0 -87
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/KeyboardPan.mjs +0 -44
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/KeyboardZoom.mjs +0 -39
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/MouseWheelZoom.mjs +0 -109
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/PinchRotate.mjs +0 -63
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/PinchZoom.mjs +0 -59
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/Pointer.mjs +0 -109
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/Property.mjs +0 -6
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/defaults.mjs +0 -47
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Base.mjs +0 -270
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/BaseTile.mjs +0 -87
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/BaseVector.mjs +0 -179
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Group.mjs +0 -226
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Layer.mjs +0 -289
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Property.mjs +0 -15
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Tile.mjs +0 -22
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/TileProperty.mjs +0 -7
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Vector.mjs +0 -20
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/loadingstrategy.mjs +0 -7
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/math.mjs +0 -88
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/obj.mjs +0 -14
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/ol.css.mjs +0 -4
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/pointer/EventType.mjs +0 -13
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/Projection.mjs +0 -138
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/Units.mjs +0 -11
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/epsg3857.mjs +0 -54
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/epsg4326.mjs +0 -34
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/projections.mjs +0 -11
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/transforms.mjs +0 -12
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/utm.mjs +0 -67
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj.mjs +0 -232
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/Box.mjs +0 -69
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/Event.mjs +0 -17
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/EventType.mjs +0 -41
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/Feature.mjs +0 -310
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/VectorContext.mjs +0 -119
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/Builder.mjs +0 -408
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/BuilderGroup.mjs +0 -64
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/Executor.mjs +0 -700
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/ExecutorGroup.mjs +0 -252
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/ImageBuilder.mjs +0 -144
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/Immediate.mjs +0 -601
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/Instruction.mjs +0 -22
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/LineStringBuilder.mjs +0 -122
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/PolygonBuilder.mjs +0 -169
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/TextBuilder.mjs +0 -335
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/ZIndexContext.mjs +0 -87
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/hitdetect.mjs +0 -110
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/style.mjs +0 -583
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas.mjs +0 -177
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/Composite.mjs +0 -124
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/Layer.mjs +0 -130
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/Map.mjs +0 -151
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/canvas/Layer.mjs +0 -211
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/canvas/TileLayer.mjs +0 -490
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/canvas/VectorLayer.mjs +0 -372
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/vector.mjs +0 -196
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/reproj/Tile.mjs +0 -194
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/reproj/Triangulation.mjs +0 -225
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/reproj/common.mjs +0 -4
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/reproj.mjs +0 -178
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/resolutionconstraint.mjs +0 -99
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/rotationconstraint.mjs +0 -44
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/size.mjs +0 -14
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/Source.mjs +0 -101
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/Tile.mjs +0 -144
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/TileEventType.mjs +0 -26
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/TileImage.mjs +0 -208
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/TileWMS.mjs +0 -254
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/UrlTile.mjs +0 -121
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/Vector.mjs +0 -667
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/VectorEventType.mjs +0 -48
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/WMTS.mjs +0 -174
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/common.mjs +0 -4
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/wms.mjs +0 -57
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/sphere.mjs +0 -11
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/string.mjs +0 -14
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/structs/LRUCache.mjs +0 -179
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/structs/PriorityQueue.mjs +0 -150
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/structs/RBush.mjs +0 -156
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Circle.mjs +0 -51
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Fill.mjs +0 -76
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Icon.mjs +0 -316
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/IconImage.mjs +0 -164
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/IconImageCache.mjs +0 -91
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Image.mjs +0 -220
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/RegularShape.mjs +0 -336
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Stroke.mjs +0 -148
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Style.mjs +0 -238
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Text.mjs +0 -400
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/tilecoord.mjs +0 -31
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/tilegrid/TileGrid.mjs +0 -400
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/tilegrid/WMTS.mjs +0 -37
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/tilegrid/common.mjs +0 -5
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/tilegrid.mjs +0 -60
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/tileurlfunction.mjs +0 -51
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/transform.mjs +0 -50
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/uri.mjs +0 -41
- package/es/node_modules/.pnpm/ol@10.7.0/node_modules/ol/util.mjs +0 -11
- package/es/node_modules/.pnpm/quickselect@3.0.0/node_modules/quickselect/index.mjs +0 -27
- package/es/node_modules/.pnpm/rbush@4.0.1/node_modules/rbush/index.mjs +0 -258
- package/es/packages/components/src/gis-map/utils/edpass-device-controller.mjs +0 -278
- package/es/packages/components/src/gis-map/utils/green-wave-band-controller/index.mjs +0 -362
- package/es/packages/components/src/gis-map/utils/holo-flow/index.mjs +0 -101
- package/es/packages/components/src/gis-map/utils/holo-flow/signal-countdown-panel.vue.mjs +0 -153
- package/es/packages/components/src/gis-map/utils/holo-flow/signal-countdown-panel.vue2.mjs +0 -4
- package/es/packages/components/src/gis-map/utils/holo-flow/signal-holo-flow-lsr.mjs +0 -336
- package/es/packages/components/src/gis-map/utils/holo-flow/signal-holo-flow.mjs +0 -236
- package/es/packages/components/src/gis-map/utils/holo-flow/trace-holo-flow.mjs +0 -106
- package/es/packages/components/src/gis-map/utils/holo-flow/trace-renderer-external.mjs +0 -576
- package/es/packages/components/src/gis-map/utils/holo-flow/trace-renderer-layer.mjs +0 -386
- package/es/packages/components/src/gis-map/utils/police-jurisdiction.mjs +0 -202
- package/es/packages/components/src/gis-map/utils/road-config-tool/cross.mjs +0 -127
- package/es/packages/components/src/gis-map/utils/road-config-tool/entrance.mjs +0 -79
- package/es/packages/components/src/gis-map/utils/road-config-tool/exit.mjs +0 -86
- package/es/packages/components/src/gis-map/utils/road-config-tool/index.mjs +0 -112
- package/es/packages/components/src/gis-map/utils/road-config-tool/indicator-area.mjs +0 -44
- package/es/packages/components/src/gis-map/utils/road-config-tool/lane.mjs +0 -35
- package/es/packages/components/src/gis-map/utils/road-config-tool/search-nearby-lanes.mjs +0 -265
- package/es/packages/components/src/gis-map/utils/signal-control-area/cross-renderer.mjs +0 -593
- package/es/packages/components/src/gis-map/utils/signal-control-area/district-controller.mjs +0 -84
- package/es/packages/components/src/gis-map/utils/signal-control-area/district-renderer.mjs +0 -122
- package/es/packages/components/src/gis-map/utils/signal-control-area/edit-area.mjs +0 -550
- package/es/packages/components/src/gis-map/utils/signal-control-area/layer-symbol.mjs +0 -984
- package/es/packages/components/src/gis-map/utils/signal-control-area/signal-area-controller.mjs +0 -140
- package/es/packages/components/src/gis-map/utils/signal-control-area/signal-cross-controller.mjs +0 -423
- package/es/packages/components/src/gis-map/utils/signal-control-area/signal-renderer.mjs +0 -123
- package/es/packages/components/src/gis-map/utils/signal-control-area/sub-district-renderer.mjs +0 -367
- package/es/packages/components/src/gis-map/utils/signal-system/signal-system-controller.mjs +0 -137
- package/es/packages/components/src/gis-map/utils/sketchViewTool.mjs +0 -503
- package/es/packages/components/src/gis-map-ol/gis-map-ol.vue.mjs +0 -67
- package/es/packages/components/src/gis-map-ol/gis-map-ol.vue2.mjs +0 -4
- package/es/packages/components/src/gis-map-ol/gis-map-ol.vue3.mjs +0 -5
- package/es/packages/components/src/gis-map-ol/index.mjs +0 -8
- package/es/packages/components/src/gis-map-ol/utils/ol-map-initializer.mjs +0 -131
- package/es/packages/components/src/gis-map-ol/utils/signal-control/signal-cross-controller.mjs +0 -263
- package/es/packages/components/src/index.mjs +0 -6
- package/es/packages/components/src/types/index.mjs +0 -5
- package/es/src/gis-map/utils/holo-flow/signal-countdown-panel.vue.d.ts +0 -125
- package/es/src/gis-map-ol/gis-map-ol.vue.d.ts +0 -50
- package/es/src/gis-map-ol/utils/ol-map-initializer.d.ts +0 -28
- package/es/src/gis-map-ol/utils/signal-control/signal-cross-controller.d.ts +0 -42
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Collection.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/CollectionEventType.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/DataTile.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Disposable.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Feature.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Image.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/ImageState.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/ImageTile.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Kinetic.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Map.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/MapBrowserEvent.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/MapBrowserEventHandler.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/MapBrowserEventType.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/MapEvent.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/MapEventType.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/MapProperty.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Object.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/ObjectEventType.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Observable.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/Tile.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/TileQueue.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/TileRange.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/TileState.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/View.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/ViewHint.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/ViewProperty.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/array.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/asserts.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/centerconstraint.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/color.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/colorlike.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/console.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/control/Attribution.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/control/Control.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/control/Rotate.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/control/Zoom.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/control/defaults.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/coordinate.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/css.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/dom.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/easing.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/events/Event.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/events/EventType.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/events/Key.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/events/Target.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/events/condition.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/events.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/expr/cpu.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/expr/expression.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/extent/Relationship.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/extent.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/featureloader.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/functions.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/Geometry.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/LinearRing.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/Point.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/Polygon.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/SimpleGeometry.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/area.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/center.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/closest.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/contains.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/deflate.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/inflate.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/interiorpoint.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/interpolate.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/intersectsextent.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/length.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/linechunk.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/orient.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/reverse.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/segments.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/simplify.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/straightchunk.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/textpath.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/flat/transform.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/has.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/DoubleClickZoom.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/DragBox.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/DragPan.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/DragRotate.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/DragZoom.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/Interaction.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/KeyboardPan.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/KeyboardZoom.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/MouseWheelZoom.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/PinchRotate.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/PinchZoom.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/Pointer.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/Property.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/interaction/defaults.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Base.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/BaseTile.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/BaseVector.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Group.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Layer.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Property.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Tile.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/TileProperty.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Vector.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/loadingstrategy.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/math.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/obj.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/ol.css.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/pointer/EventType.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/Projection.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/Units.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/epsg3857.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/epsg4326.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/projections.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/transforms.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/utm.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/Box.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/Event.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/EventType.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/Feature.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/VectorContext.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/Builder.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/BuilderGroup.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/Executor.js +0 -4
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/ExecutorGroup.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/ImageBuilder.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/Immediate.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/Instruction.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/LineStringBuilder.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/PolygonBuilder.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/TextBuilder.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/ZIndexContext.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/hitdetect.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas/style.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/render/canvas.js +0 -3
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/Composite.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/Layer.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/Map.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/canvas/Layer.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/canvas/TileLayer.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/canvas/VectorLayer.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/renderer/vector.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/reproj/Tile.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/reproj/Triangulation.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/reproj/common.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/reproj.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/resolutionconstraint.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/rotationconstraint.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/size.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/Source.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/Tile.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/TileEventType.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/TileImage.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/TileWMS.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/UrlTile.js +0 -2
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/Vector.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/VectorEventType.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/WMTS.js +0 -2
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/common.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/wms.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/sphere.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/string.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/structs/LRUCache.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/structs/PriorityQueue.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/structs/RBush.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Circle.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Fill.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Icon.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/IconImage.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/IconImageCache.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Image.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/RegularShape.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Stroke.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Style.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Text.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/tilecoord.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/tilegrid/TileGrid.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/tilegrid/WMTS.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/tilegrid/common.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/tilegrid.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/tileurlfunction.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/transform.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/uri.js +0 -1
- package/lib/node_modules/.pnpm/ol@10.7.0/node_modules/ol/util.js +0 -1
- package/lib/node_modules/.pnpm/quickselect@3.0.0/node_modules/quickselect/index.js +0 -1
- package/lib/node_modules/.pnpm/rbush@4.0.1/node_modules/rbush/index.js +0 -1
- package/lib/packages/components/index.js +0 -1
- package/lib/packages/components/src/gis-map/gis-map.vue.js +0 -1
- package/lib/packages/components/src/gis-map/utils/edpass-device-controller.js +0 -1
- package/lib/packages/components/src/gis-map/utils/green-wave-band-controller/index.js +0 -1
- package/lib/packages/components/src/gis-map/utils/holo-flow/index.js +0 -1
- package/lib/packages/components/src/gis-map/utils/holo-flow/signal-countdown-panel.vue.js +0 -1
- package/lib/packages/components/src/gis-map/utils/holo-flow/signal-countdown-panel.vue2.js +0 -1
- package/lib/packages/components/src/gis-map/utils/holo-flow/signal-holo-flow-lsr.js +0 -1
- package/lib/packages/components/src/gis-map/utils/holo-flow/signal-holo-flow.js +0 -1
- package/lib/packages/components/src/gis-map/utils/holo-flow/trace-holo-flow.js +0 -2
- package/lib/packages/components/src/gis-map/utils/holo-flow/trace-renderer-external.js +0 -1
- package/lib/packages/components/src/gis-map/utils/holo-flow/trace-renderer-layer.js +0 -1
- package/lib/packages/components/src/gis-map/utils/index.js +0 -1
- package/lib/packages/components/src/gis-map/utils/police-jurisdiction.js +0 -1
- package/lib/packages/components/src/gis-map/utils/road-config-tool/cross.js +0 -1
- package/lib/packages/components/src/gis-map/utils/road-config-tool/entrance.js +0 -1
- package/lib/packages/components/src/gis-map/utils/road-config-tool/exit.js +0 -1
- package/lib/packages/components/src/gis-map/utils/road-config-tool/index.js +0 -1
- package/lib/packages/components/src/gis-map/utils/road-config-tool/indicator-area.js +0 -1
- package/lib/packages/components/src/gis-map/utils/road-config-tool/lane.js +0 -1
- package/lib/packages/components/src/gis-map/utils/road-config-tool/search-nearby-lanes.js +0 -1
- package/lib/packages/components/src/gis-map/utils/signal-control-area/cross-renderer.js +0 -1
- package/lib/packages/components/src/gis-map/utils/signal-control-area/district-controller.js +0 -1
- package/lib/packages/components/src/gis-map/utils/signal-control-area/district-renderer.js +0 -1
- package/lib/packages/components/src/gis-map/utils/signal-control-area/edit-area.js +0 -1
- package/lib/packages/components/src/gis-map/utils/signal-control-area/layer-symbol.js +0 -1
- package/lib/packages/components/src/gis-map/utils/signal-control-area/signal-area-controller.js +0 -1
- package/lib/packages/components/src/gis-map/utils/signal-control-area/signal-cross-controller.js +0 -1
- package/lib/packages/components/src/gis-map/utils/signal-control-area/signal-renderer.js +0 -1
- package/lib/packages/components/src/gis-map/utils/signal-control-area/sub-district-renderer.js +0 -1
- package/lib/packages/components/src/gis-map/utils/signal-system/signal-system-controller.js +0 -1
- package/lib/packages/components/src/gis-map/utils/sketchViewTool.js +0 -1
- package/lib/packages/components/src/gis-map-ol/gis-map-ol.vue.js +0 -1
- package/lib/packages/components/src/gis-map-ol/gis-map-ol.vue2.js +0 -1
- package/lib/packages/components/src/gis-map-ol/gis-map-ol.vue3.js +0 -1
- package/lib/packages/components/src/gis-map-ol/index.js +0 -1
- package/lib/packages/components/src/gis-map-ol/utils/ol-map-initializer.js +0 -1
- package/lib/packages/components/src/gis-map-ol/utils/signal-control/signal-cross-controller.js +0 -1
- package/lib/packages/components/src/index.js +0 -1
- package/lib/packages/components/src/types/index.js +0 -1
- package/lib/src/gis-map/utils/holo-flow/signal-countdown-panel.vue.d.ts +0 -125
- package/lib/src/gis-map-ol/gis-map-ol.vue.d.ts +0 -50
- package/lib/src/gis-map-ol/utils/ol-map-initializer.d.ts +0 -28
- package/lib/src/gis-map-ol/utils/signal-control/signal-cross-controller.d.ts +0 -42
- /package/es/{packages/components/src → src}/gis-map/gis-map.vue2.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/gis-map.vue3.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/index.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/FlyToPoints.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/GreenWaveline.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/Layers.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/common-utils.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/custom-layer/custom-wmts-layer.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/dbscan-cluster/index.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/detect-gpu.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/map-initializer.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/open-drive-renderer/index.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/overlay.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/queue-length.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/renderer/greenWaveline.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/sketchView.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/syncMapView.mjs +0 -0
- /package/es/{packages/components/src → src}/gis-map/utils/traffic-flow.mjs +0 -0
- /package/es/{packages/components/src → src}/stores/appData.mjs +0 -0
- /package/es/{packages/components/src → src}/stores/index.mjs +0 -0
- /package/lib/{packages/components/src → src}/gis-map/gis-map.vue2.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/gis-map.vue3.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/index.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/FlyToPoints.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/GreenWaveline.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/Layers.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/common-utils.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/custom-layer/custom-wmts-layer.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/dbscan-cluster/index.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/detect-gpu.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/map-initializer.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/open-drive-renderer/index.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/overlay.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/queue-length.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/renderer/greenWaveline.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/sketchView.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/syncMapView.js +0 -0
- /package/lib/{packages/components/src → src}/gis-map/utils/traffic-flow.js +0 -0
- /package/lib/{packages/components/src → src}/stores/appData.js +0 -0
- /package/lib/{packages/components/src → src}/stores/index.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("@arcgis/core/geometry"),E=require("@arcgis/core/geometry/geometryEngine.js"),c=require("@arcgis/core/Graphic"),L=require("@arcgis/core/layers/GraphicsLayer"),f=require("axios"),S=require("vue"),b=require("../../stores/index.js"),w=require("./common-utils.js");function F(n){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const e in n)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(s,e,r.get?r:{enumerable:!0,get:()=>n[e]})}}return s.default=n,Object.freeze(s)}const d=F(E);class C{constructor(s){this.view=s,this.maskLayer=new L({id:"police-jurisdiction"}),this.view.map.add(this.maskLayer);const e=b.default.useAppDataStore,r=S.toRaw(e.mapConfig);this.geoServer=r.geoServer}async showJurisdiction(s){return this.geoServer?s.type.toLowerCase()==="zd"?await this.showZD(s.id):s.type.toLowerCase()==="dd"?await this.showDD(s.id):{status:0,message:"ok"}:{status:-1,message:"未配置GeoServer"}}async showZD(s){let e=await f.get(`${this.geoServer}/zd_edpass/wms`,{params:{service:"WFS",version:"1.1.0",request:"GetFeature",typename:"zd_edpass:VIEW_SH_ZD",outputFormat:"application/json",CQL_FILTER:`ZD_CODE = ${s}`}});if(e.status!==200)return{status:-1,message:e.status+" "+e.statusText};const{features:r}=e.data;if(!r||r.length===0)return{status:-1,message:"未查询到数据"};this.maskLayer.removeAll();const m=r[0].geometry.coordinates,o=[];m.forEach(t=>{const i=new h.Polygon({rings:t});o.push(i)});const p=o[0].centroid,y=d.geodesicBuffer(p,100,"kilometers");let a=d.difference(y,o[0]);for(let t=1;t<o.length;t++)a=d.difference(a,o[t]);const g=new c({geometry:a,symbol:{type:"simple-fill",color:[100,100,100,.8],outline:{width:0}},attributes:{type:"mask"}});this.maskLayer.add(g);const l=o.map(t=>new c({geometry:t,symbol:{type:"simple-line",style:"solid",color:[240,156,69],width:2}}));if(this.maskLayer.addMany(l),await w.default.viewGoto(this.view,l),e=await f.get(`${this.geoServer}/zd_edpass/wms`,{params:{service:"WFS",version:"1.1.0",request:"GetFeature",typename:"zd_edpass:VW_DWD_GEO_SH_DD",outputFormat:"application/json",CQL_FILTER:`ZD_CODE = ${s}`}}),e.status===200){const{features:t}=e.data;if(t&&t.length>0){const i=[];t.forEach(u=>{u.geometry.coordinates.forEach(D=>{const k=new h.Polygon({rings:D}),G=new c({geometry:k,symbol:{type:"simple-line",style:"dash",color:[240,156,69],width:1}});i.push(G)});const _=u.properties.DD_NAME,v=new c({geometry:{type:"point",longitude:u.properties.CENTER_X,latitude:u.properties.CENTER_Y},symbol:{type:"text",color:[240,156,69],haloColor:[255,255,255],haloSize:"2px",text:_,font:{size:"14px",weight:"bold",family:"msyh"}}});i.push(v)}),this.maskLayer.addMany(i)}}return{status:0,message:"ok"}}async showDD(s){this.maskLayer.removeAll();const e=await f.get(`${this.geoServer}/zd_edpass/wms`,{params:{service:"WFS",version:"1.1.0",request:"GetFeature",typename:"zd_edpass:VW_DWD_GEO_SH_DD",outputFormat:"application/json",CQL_FILTER:`DD_CODE = ${s}`}});if(console.log(e),e.status!==200)return{status:-1,message:e.status+" "+e.statusText};const{features:r}=e.data;if(!r||r.length===0)return{status:-1,message:"未查询到数据"};const m=r[0].geometry.coordinates,o=[];m.forEach(t=>{const i=new h.Polygon({rings:t});o.push(i)});const p=o[0].centroid,y=d.geodesicBuffer(p,100,"kilometers");let a=d.difference(y,o[0]);for(let t=1;t<o.length;t++)a=d.difference(a,o[t]);const g=new c({geometry:a,symbol:{type:"simple-fill",color:[100,100,100,.8],outline:{width:0}}});this.maskLayer.add(g);const l=o.map(t=>new c({geometry:t,symbol:{type:"simple-line",style:"dash",color:[240,156,69],width:1}}));return this.maskLayer.addMany(l),await w.default.viewGoto(this.view,l),{status:0,message:"ok"}}clearJurisdiction(){this.maskLayer.removeAll()}}exports.default=C;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("@arcgis/core/geometry"),d=require("../common-utils.js"),u=require("./entrance.js"),f=require("./exit.js");class g{constructor(n){this.nearbyFeatures=new Map,this.entrances=[],this.exits=[],this.initialized=!1,this.id=n.id,this.crossCenter=new a.Point({x:n.center[0],y:n.center[1]})}async initialize(n){n.lanes.forEach(e=>{const t=e.getAttribute("RoadSecID"),s=e.geometry,i=this.nearbyFeatures.get(t);i?i.lanes.push(s):this.nearbyFeatures.set(t,{lanes:[s],stopLines:[]})}),n.stopLines.forEach(e=>{const t=e.getAttribute("RoadSecID"),s=e.geometry,i=this.nearbyFeatures.get(t);i?i.stopLines.push(s):this.nearbyFeatures.set(t,{lanes:[],stopLines:[s]})}),await this.createEntranceAndExit(),console.log(`${this.id} has ${this.entrances.length} entrance`),this.entrances.forEach(e=>{console.log(`${e.id} has ${e.lanes.length} lanes`)}),this.orderEntrance(),this.initialized=!0}getLaneNumberInfo(){const n=[];return this.entrances.forEach(e=>{e.lanes.forEach((t,s)=>{n.push({crossId:this.id,laneNumber:e.id+String(s+1),stopLineCenter:[t.stopLineCenter.x,t.stopLineCenter.y],laneDirection:t.laneDirection-180})})}),this.exits.forEach(e=>{e.lanes.forEach((t,s)=>{n.push({crossId:this.id,laneNumber:"-"+e.id+String(s+1),stopLineCenter:[t.stopLineCenter.x,t.stopLineCenter.y],laneDirection:t.laneDirection-180})})}),n}async calCrossIndicatorArea(){const n=[];for(let e=0;e<this.entrances.length;e++){const t=this.entrances[e],s=this.entrances[(e+1)%this.entrances.length],i=t.furthestLane.extendedStopLine,c=s.furthestLane.extendedStopLine,o=await d.default.getIntersectPointOfTwoLines(i,c);if(o)n.push(o);else{const r=this.findExitOfEntrance(t),h=(r?r.lanes[r.lanes.length-1]:t.lanes[t.lanes.length-1]).stopLine.getPoint(0,1);n.push(h);const l=s.lanes[s.lanes.length-1].stopLine.getPoint(0,1);n.push(l)}}if(n.length>2)return new a.Polygon({rings:[n.map(e=>[e.x,e.y])]})}async createEntranceAndExit(){for(const n of this.nearbyFeatures){const e=n[0],t=n[1];if(t.stopLines.length===0){const s=new f.default(e);s.addLanes(t),this.exits.push(s)}else{const s=new u.default(e);await s.addLanes(t),this.entrances.push(s)}}for(const n of this.exits)await n.findCorrespondingEntrance(this.entrances)}orderEntrance(){this.entrances.sort((n,e)=>{let t=n.dir,s=e.dir;return t<225&&(t+=360),s<225&&(s+=360),t-s}),this.entrances.forEach((n,e)=>{n.id=String(e+1);const t=this.findExitOfEntrance(n);t&&(t.id=String(e+1))})}findExitOfEntrance(n){for(const e of this.exits)if(e.entrance===n)return e}}exports.default=g;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../../../types/index.js"),a=require("../common-utils.js"),h=require("./lane.js"),d=require("@arcgis/core/geometry");class u{constructor(e){this.lanes=[],this.id=e}async addLanes(e){for(const i of e.lanes)for(const s of e.stopLines){const t=await a.default.getIntersectPointsOfStopLineAndLane(s,i,[.5,-.5]);if(t.length===0)continue;const n=new d.Polyline({paths:[t]}),o=new h.default;o.lanePolygon=i,o.stopLine=n,o.isEntry=!0,await o.getLaneDirection(),this.addLane(o);break}}addLane(e){this.furthestLane||(this.furthestLane=e),this.dir||(this.dir=e.laneDirection,this.dir<45||this.dir>315?this.quadrantCode=r.QuadrantCode.North:this.dir<135?this.quadrantCode=r.QuadrantCode.East:this.dir<225?this.quadrantCode=r.QuadrantCode.South:this.quadrantCode=r.QuadrantCode.West);const i=e.stopLine,s=i.paths[0];switch(this.quadrantCode){case r.QuadrantCode.West:e.stopLineCenter.x<this.furthestLane.stopLineCenter.x&&(this.furthestLane=e),s[0][1]<s[1][1]&&(i.paths=[s.reverse()]);for(let t=0;t<this.lanes.length;t++){const n=this.lanes[t];if(e.stopLineCenter.y>n.stopLineCenter.y){this.lanes.splice(t,0,e);return}}break;case r.QuadrantCode.North:e.stopLineCenter.y>this.furthestLane.stopLineCenter.y&&(this.furthestLane=e),s[0][0]<s[1][0]&&(i.paths=[s.reverse()]);for(let t=0;t<this.lanes.length;t++){const n=this.lanes[t];if(e.stopLineCenter.x>n.stopLineCenter.x){this.lanes.splice(t,0,e);return}}break;case r.QuadrantCode.East:e.stopLineCenter.x>this.furthestLane.stopLineCenter.x&&(this.furthestLane=e),s[0][1]>s[1][1]&&(i.paths=[s.reverse()]);for(let t=0;t<this.lanes.length;t++){const n=this.lanes[t];if(e.stopLineCenter.y<n.stopLineCenter.y){this.lanes.splice(t,0,e);return}}break;case r.QuadrantCode.South:e.stopLineCenter.y<this.furthestLane.stopLineCenter.y&&(this.furthestLane=e),s[0][0]>s[1][0]&&(i.paths=[s.reverse()]);for(let t=0;t<this.lanes.length;t++){const n=this.lanes[t];if(e.stopLineCenter.x<n.stopLineCenter.x){this.lanes.splice(t,0,e);return}}break}this.lanes.push(e)}}exports.default=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("../common-utils.js"),h=require("./lane.js"),p=require("@arcgis/core/geometry"),g=require("@arcgis/core/geometry/geometryEngineAsync"),s=require("../../../types/index.js");function L(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const e in a)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(a,e);Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:()=>a[e]})}}return t.default=a,Object.freeze(t)}const x=L(g);class C{constructor(t){this.lanes=[],this.id=t}async findCorrespondingEntrance(t){var c;const e=this.lanes[0],n=e.lanePolygon.centroid;let o,i=1/0,r;for(const l of t){o=l.lanes[0].lanePolygon.centroid;const y=new p.Polyline({paths:[[[o.x,o.y],[n.x,n.y]]]}),d=await x.geodesicLength(y,"meters");d<i&&(i=d,r=l)}const f=r.furthestLane.extendedStopLine;(await u.default.getIntersectPointsOfStopLineAndLane(f,e.lanePolygon,[5])).length&&(this.entrance=r,await this.splitStopLine(),console.log(`${this.id}的对应进口道是${(c=this.entrance)==null?void 0:c.id}`))}addLanes(t){for(const e of t.lanes){const n=new h.default;n.lanePolygon=e,n.isEntry=!1,this.lanes.push(n)}}async splitStopLine(){if(this.entrance){for(const t of this.lanes){const e=await u.default.getIntersectPointsOfStopLineAndLane(this.entrance.furthestLane.extendedStopLine,t.lanePolygon,[.5,1,2,3,4,5,6,7,8]);if(e.length!==0){switch(this.entrance.quadrantCode){case s.QuadrantCode.West:e.sort((n,o)=>n[1]-o[1]);break;case s.QuadrantCode.North:e.sort((n,o)=>n[0]-o[0]);break;case s.QuadrantCode.East:e.sort((n,o)=>o[1]-n[1]);break;case s.QuadrantCode.South:e.sort((n,o)=>o[0]-n[0]);break}t.stopLine=new p.Polyline({paths:[e]}),await t.getLaneDirection()}}this.lanes.sort((t,e)=>{switch(this.entrance.quadrantCode){case s.QuadrantCode.West:return t.stopLine.extent.center.y-e.stopLine.extent.center.y;case s.QuadrantCode.North:return t.stopLine.extent.center.x-e.stopLine.extent.center.x;case s.QuadrantCode.East:return e.stopLine.extent.center.y-t.stopLine.extent.center.y;case s.QuadrantCode.South:return e.stopLine.extent.center.x-t.stopLine.extent.center.x}})}}}exports.default=C;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@arcgis/core/Graphic"),w=require("@arcgis/core/geometry"),h=require("@arcgis/core/layers/GraphicsLayer"),u=require("@arcgis/core/symbols"),L=require("../common-utils.js"),f=require("./cross.js"),g=require("./search-nearby-lanes.js"),A=require("./indicator-area.js");class N{constructor(e){this.view=e,this.laneNumberLayer=new h({minScale:2257}),this.view.map.add(this.laneNumberLayer),this.crossIndicatorAreaLayer=new h,this.view.map.add(this.crossIndicatorAreaLayer)}showLaneNumber(e){const{lanes:i}=e,a=[],o=[];for(const d of i){const{crossId:n,laneNumber:s,stopLineCenter:t,laneDirection:c}=d;if(!t[0]||!t[1])continue;let r=new w.Point({longitude:t[0],latitude:t[1]});c&&(r=L.default.destinationWithPoint(r,c,-3));const m={type:"laneNumber",id:`${n}_${s}`,crossId:n,laneNumber:s},b=new l({geometry:r,symbol:new u.TextSymbol({text:s,color:"red",verticalAlignment:"middle",font:{size:10}})});o.push(b);const y=new l({geometry:r,symbol:new u.SimpleMarkerSymbol({style:"circle",color:[255,255,255,.8],size:14,outline:{color:"white",width:1}}),attributes:m});a.push(y)}return this.laneNumberLayer.addMany(a),this.laneNumberLayer.addMany(o),{status:0,message:"车道序号显示成功"}}clearLaneNumber(){this.laneNumberLayer.removeAll()}async initializeSearch(e){var i;return this.searchLaneTool||(this.searchLaneTool=new g.default(this.view)),this.cross=new f.default({id:e.crossId,center:e.crossCenter}),(i=this.indicatorAreaTool)==null||i.clearIndicatorArea(),this.searchLaneTool.initializeSearch(e)}async calCrossIndicatorArea(){this.cross.initialized||await this.initializeCross(),this.indicatorAreaTool||(this.indicatorAreaTool=new A.default(this.view)),await this.indicatorAreaTool.showCrossIndicatorArea(this.cross)}async initializeCross(){if(!this.searchLaneTool)return{status:-1,message:"算法区域生成工具未初始化, 请先执行initializeSearch"};const e=await this.searchLaneTool.getCurrentSearchResult();this.searchLaneTool.clearResult(),await this.cross.initialize(e);const i=this.cross.getLaneNumberInfo();this.showLaneNumber({lanes:i})}}exports.default=N;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("@arcgis/core/layers/GraphicsLayer"),a=require("@arcgis/core/Graphic"),t=require("@arcgis/core/symbols"),o=require("@arcgis/core/widgets/Sketch/SketchViewModel");class s{constructor(e){this.view=e,this.indicatorAreaLayer=new i,this.view.map.add(this.indicatorAreaLayer),this.sketchViewModel=new o({view:this.view,layer:this.indicatorAreaLayer,defaultUpdateOptions:{tool:"reshape"},snappingOptions:{enabled:!0}})}async showCrossIndicatorArea(e){this.indicatorAreaLayer.removeAll();const r=await e.calCrossIndicatorArea();r?(this.crossIndicatorAreaGraphic=new a({geometry:r,symbol:new t.SimpleFillSymbol({color:[255,0,0,.5],outline:{color:[255,0,0]}})}),this.indicatorAreaLayer.add(this.crossIndicatorAreaGraphic)):this.sketchViewModel.create("polygon")}clearIndicatorArea(){this.indicatorAreaLayer.removeAll()}}exports.default=s;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@turf/bearing"),n=require("../common-utils.js");class d{set stopLine(e){this._stopLine=e,this.stopLineCenter=e.extent.center}get stopLine(){return this._stopLine}get extendedStopLine(){return this._extendedStopLine||(this._extendedStopLine=n.default.extendLineInTowDir(this._stopLine,100)),this._extendedStopLine}async getLaneDirection(){const e=n.default.extendLineInTowDir(this._stopLine,10),i=this._stopLine.paths[0];let t=await n.default.getIntersectPointOfLineAndPolygon(e,this.lanePolygon,5);t.length===0&&(t=await n.default.getIntersectPointOfLineAndPolygon(e,this.lanePolygon,-5)),(!i.length||!t.length)&&console.log("计算方位角失败",i,t);const s=t[0],r=i[0],o=l(r,s);this.laneDirection=o<0?o+360:o}}exports.default=d;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("@arcgis/core/Graphic"),w=require("@arcgis/core/core/promiseUtils"),f=require("@arcgis/core/geometry"),S=require("@arcgis/core/geometry/SpatialReference"),G=require("@arcgis/core/geometry/geometryEngineAsync"),d=require("@arcgis/core/layers/FeatureLayer"),m=require("@arcgis/core/layers/GraphicsLayer"),R=require("@arcgis/core/layers/support/FeatureEffect"),v=require("@arcgis/core/layers/support/FeatureFilter"),g=require("@arcgis/core/renderers/SimpleRenderer"),q=require("@arcgis/core/rest/support/Query"),y=require("@arcgis/core/symbols"),F=require("@arcgis/core/widgets/Sketch/SketchViewModel"),P=require("../../../stores/index.js"),A=require("../common-utils.js");function b(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const L=b(w),p=b(G);class M{constructor(e){this.geometryUnit="meters",this.view=e,this.pointLayer=new m,this.bufferAreaLayer=new m({blendMode:"color-burn"}),this.view.map.layers.addMany([this.bufferAreaLayer,this.pointLayer]);const t=L.debounce(async r=>{const i=await this.calculateBuffer(r);this.updateLayerFilter(i)});this.sketchViewModel=new F({view:e,layer:this.pointLayer}),this.sketchViewModel.on("update",r=>{var l,o;((o=(l=r.toolEventInfo)==null?void 0:l.mover)==null?void 0:o.attributes.type)==="edge"&&(r.toolEventInfo.type==="move-start"?this.centerGeometryAtStart=this.centerGraphic.geometry:this.centerGraphic.geometry=this.centerGeometryAtStart);const i=this.centerGraphic.geometry,a=this.edgeGraphic.geometry,c=[[i.x,i.y],[a.x,a.y]];t(c).catch(h=>{if(!L.isAbortError(h))throw h})})}async initializeSearch(e){if(this.laneLayer)this.laneLayer.visible=!0,this.stopLineLayer.visible=!0;else{const o=await this.loadLaneAndStopLineLayer();if(o.status!==0)return o}const{crossId:t,crossCenter:r}=e,i=new f.Point({longitude:r[0],latitude:r[1]});this.view.goTo({target:i,zoom:18},{duration:2e3}),this.centerGraphic=new u({geometry:i,symbol:new y.SimpleMarkerSymbol({style:"circle",color:[0,255,255,.5],size:10}),attributes:{crossId:t,type:"center"}});const a=A.default.destinationWithPoint(i,90,e.bufferRadius||70);this.edgeGraphic=new u({geometry:a,symbol:new y.SimpleMarkerSymbol({style:"circle",color:[0,255,255,.5],size:10}),attributes:{crossId:t,type:"edge"}});const c=new f.Polyline({paths:[[[i.x,i.y],[a.x,a.y]]]});this.radiusLineGraphic=new u({geometry:c,symbol:new y.SimpleLineSymbol({color:[0,255,255],width:2})}),this.pointLayer.addMany([this.centerGraphic,this.edgeGraphic,this.radiusLineGraphic]);const l=await p.geodesicBuffer(i,e.bufferRadius||70,this.geometryUnit);return this.bufferGraphic=new u({geometry:l,symbol:new y.SimpleFillSymbol({color:[150,150,150],outline:{color:"#FFEB00",width:"3px"}})}),this.bufferAreaLayer.add(this.bufferGraphic),this.sketchViewModel.update([this.edgeGraphic,this.centerGraphic],{tool:"move"}),{status:0,message:"初始化成功"}}async getCurrentSearchResult(){const e=new q;e.relationParameter="intersects",e.geometry=this.bufferGraphic.geometry,e.returnGeometry=!0,e.outSpatialReference=new S({wkid:4326}),e.outFields=["*"];const t=(await this.laneLayer.queryFeatures(e)).features,r=(await this.stopLineLayer.queryFeatures(e)).features;return{lanes:t,stopLines:r}}clearResult(){this.sketchViewModel.complete(),this.pointLayer.removeAll(),this.bufferAreaLayer.removeAll(),this.laneLayer.visible=!1,this.stopLineLayer.visible=!1}async calculateBuffer(e){this.radiusLineGraphic.geometry=new f.Polyline({paths:[e],spatialReference:this.view.spatialReference});const t=await p.geodesicLength(this.radiusLineGraphic.geometry,this.geometryUnit),r=await p.geodesicBuffer(this.centerGraphic.geometry,t,this.geometryUnit);return this.bufferGraphic.geometry=r,r}async loadLaneAndStopLineLayer(){var o,h;const e=P.default.useAppDataStore,t=JSON.parse(JSON.stringify(e.mapConfig));if(!((o=t.roadConfigTool)!=null&&o.initLanePolygonLayer))return{status:-1,message:"roadConfigTool.initLanePolygonLayer未配置"};if(!((h=t.roadConfigTool)!=null&&h.initStopLineLayer))return{status:-1,message:"roadConfigTool.initStopLineLayer"};const r=`${t.assetsRoot}${t.roadConfigTool.initLanePolygonLayer}`;let i;try{i=await(await fetch(r)).json()}catch(s){return{status:-2,message:`${r}读取失败`,result:s.message}}const a=i.features.filter(s=>s.attributes.RoadSecID!=="").map(s=>u.fromJSON(s));this.laneLayer=new d({objectIdField:"FID",spatialReference:i.spatialReference,geometryType:"polygon",source:a,fields:[{name:"RoadSecID",alias:"RoadSecID",type:"string"}],renderer:new g({symbol:new y.SimpleFillSymbol({color:[255,0,0,.3],outline:{color:"white"}})})}),this.view.map.layers.add(this.laneLayer);const c=`${t.assetsRoot}${t.roadConfigTool.initStopLineLayer}`;try{i=await(await fetch(c)).json()}catch(s){return{status:-2,message:`${c}读取失败`,result:s.message}}const l=i.features.filter(s=>s.attributes.RoadSecID!=="").map(s=>u.fromJSON(s));return this.stopLineLayer=new d({objectIdField:"FID",spatialReference:i.spatialReference,geometryType:"polyline",source:l,fields:[{name:"RoadSecID",alias:"RoadSecID",type:"string"}],renderer:new g({symbol:new y.SimpleLineSymbol({color:"red",width:4,cap:"butt",join:"miter"})})}),this.view.map.layers.add(this.stopLineLayer),{status:0,message:"ok"}}updateLayerFilter(e){const t=new v({geometry:e,spatialRelationship:"intersects"}),r=new R({filter:t,excludedEffect:"opacity(0%)"});this.laneLayer.featureEffect=r,this.stopLineLayer.featureEffect=r}}exports.default=M;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("@arcgis/core/geometry"),y=require("@arcgis/core/Graphic"),p=require("@arcgis/core/layers/GraphicsLayer");class f{constructor(e){this.crossGraphicSymbol={type:"cim",data:{type:"CIMSymbolReference",primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"textGraphic",propertyName:"TextString",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Custom",expression:'Replace($feature.name, "与", "/") + " " + $feature.signalId',returnType:"Default"}}],symbol:{type:"CIMPointSymbol",symbolLayers:[{type:"CIMVectorMarker",size:32,colorLocked:!0,anchorPointUnits:"Relative",frame:{xmin:-16,ymin:-16,xmax:16,ymax:16},markerGraphics:[{type:"CIMMarkerGraphic",primitiveName:"textGraphic",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",height:12,horizontalAlignment:"Center",offsetX:0,offsetY:18,haloSize:1,haloSymbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[255,255,255,255]}]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[0,0,0,255]}]},verticalAlignment:"Center"},textString:""}],scaleSymbolsProportionally:!0,respectFrame:!0},{type:"CIMPictureMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",size:20,rotateClockwise:!0,textureFilter:"Picture",url:"/GisViewerAssets/Images/cross/gis_xhj_blue.png"}]}}},this.locations=[],this.clusteredLocations=[],this.filteredLocations=[],this.currentShowMode="scatter",this.symbolScale=5e3,this.oldScale=0,this.clusterRadius=120,this.minClusterPoints=2,this.maxClusterSymbolSize=50,this.minClusterSymbolSize=25,this.view=e,this.crossLayer=new p,this.view.map.add(this.crossLayer),this.oldScale=e.scale}async addCrosses(e){e.forEach(t=>{t.signals.forEach(i=>{i.longitude&&i.latitude&&!isNaN(i.longitude)&&!isNaN(i.latitude)&&this.locations.push({id:i.id,x:i.longitude,y:i.latitude,visited:!1,filtered:!1,clusterId:void 0,properties:{...i,districtId:t.id,districtName:t.name,subDistrictId:"",subDistrictName:""}})}),t.subDistricts.forEach(i=>{i.signals.forEach(s=>{s.longitude&&s.latitude&&!isNaN(s.longitude)&&!isNaN(s.latitude)&&this.locations.push({id:s.id,x:s.longitude,y:s.latitude,visited:!1,filtered:!1,clusterId:void 0,properties:{...s,districtId:t.id,districtName:t.name,subDistrictId:i.id,subDistrictName:i.name}})})})}),this.zoomWatchHandle=this.view.watch("stationary",()=>{if(this.view.stationary!==!1){if(this.currentShowMode==="scatter")(this.oldScale<this.symbolScale&&this.view.scale>=this.symbolScale||this.oldScale>=this.symbolScale&&this.view.scale<this.symbolScale)&&this.updateScatterSymbol(),this.oldScale=this.view.scale;else if(this.currentShowMode==="cluster"){this.locationToScreen(),console.time("cluster");const t=this.doPixelCluster(this.clusterRadius);console.timeEnd("cluster"),this.showClusterResult(t)}}})}clearCrosses(){var e;this.crossLayer.removeAll(),this.locations=[],this.clusteredLocations=[],(e=this.zoomWatchHandle)==null||e.remove()}updateScatterSymbol(){this.crossLayer.graphics.forEach(e=>{e.symbol=this.getCrossSymbol(e.attributes)})}locationToScreen(){this.clusteredLocations=[],this.locations.forEach(e=>{const t=this.view.toScreen(new h.Point({x:e.x,y:e.y}));e.filtered===!1&&t.x>0&&t.y>0&&(e.properties.screenX=t.x,e.properties.screenY=t.y,e.visited=!1,e.clusterId=void 0,this.clusteredLocations.push(e))})}showCluster(){this.crossLayer.removeAll(),this.currentShowMode="cluster",this.locationToScreen();const e=this.doPixelCluster(this.clusterRadius);this.showClusterResult(e)}showScatter(){this.crossLayer.removeAll(),this.currentShowMode="scatter";const e=[];this.locations.forEach(t=>{if(!t.filtered){const i=new y({geometry:{type:"point",longitude:t.x,latitude:t.y},symbol:this.getCrossSymbol(t.properties),attributes:t.properties,popupTemplate:{title:"{name}信号机",content:[{type:"fields",fieldInfos:[{fieldName:"signalId",label:"信号机编号"},{fieldName:"nodeId",label:"路口编号"},{fieldName:"districtName",label:"区控名称"},{fieldName:"subDistrictName",label:"子区名称"}]}]}});e.push(i)}}),this.crossLayer.addMany(e)}hideCrosses(){this.crossLayer.removeAll()}filter(e){this.locations.forEach(t=>{if(e.type==="district")t.filtered=t.properties.districtId!==e.id;else if(e.type==="subDistrict")t.filtered=t.properties.subDistrictId!==e.id;else if(e.type==="signal"&&(t.filtered=t.id!==e.id,t.filtered))return t.properties})}resetFilter(){this.locations.forEach(e=>{e.filtered=!1}),this.currentShowMode==="scatter"?this.showScatter():this.currentShowMode==="cluster"&&this.showCluster()}getCrossSymbol(e){if(this.view.scale>this.symbolScale)return e.isKey?{type:"picture-marker",url:"/GisViewerAssets/Images/icon_star.png",width:"20px",height:"20px"}:{type:"simple-marker",style:"circle",color:[5,116,255,.8],size:8,outline:{color:"white",width:0}};{const t=e.isKey?"/GisViewerAssets/Images/cross/gis_gjxklk_orange.png":"/GisViewerAssets/Images/cross/gis_xhj_blue.png";return{type:"cim",data:{type:"CIMSymbolReference",primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"textGraphic",propertyName:"TextString",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Custom",expression:'Replace($feature.name, "与", "/") + " " + $feature.signalId',returnType:"Default"}}],symbol:{type:"CIMPointSymbol",symbolLayers:[{type:"CIMVectorMarker",size:32,colorLocked:!0,anchorPointUnits:"Relative",frame:{xmin:-16,ymin:-16,xmax:16,ymax:16},markerGraphics:[{type:"CIMMarkerGraphic",primitiveName:"textGraphic",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",height:12,horizontalAlignment:"Center",offsetX:0,offsetY:20,haloSize:1,haloSymbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[255,255,255,255]}]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[0,0,0,255]}]},verticalAlignment:"Center"},textString:""}],scaleSymbolsProportionally:!0,respectFrame:!0},{type:"CIMPictureMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",size:20,rotateClockwise:!0,textureFilter:"Picture",url:t}]}}}}}getNeighbors(e,t){return this.clusteredLocations.filter(i=>i.id===e.id||i.visited?!1:this.getDistance(e,i)<=t)}getDistance(e,t){return Math.sqrt(Math.pow(e.properties.screenX-t.properties.screenX,2)+Math.pow(e.properties.screenY-t.properties.screenY,2))}createClusters(){const e={},t=[];for(const s of this.clusteredLocations)s.clusterId===void 0||s.clusterId===-1?t.push(s):(e[s.clusterId]||(e[s.clusterId]=[]),e[s.clusterId].push(s));const i=Object.keys(e).map((s,r)=>{const o=e[Number(s)],a=o.length,l=o.reduce((n,u)=>n+u.x,0),c=o.reduce((n,u)=>n+u.y,0),m=l/a,d=c/a;return{id:Number(s),items:o,count:a,center:{x:m,y:d}}});return t.length>0&&i.push({id:-1,items:t,count:t.length,center:null}),i}doPixelCluster(e){let t=0;for(let i=0;i<this.clusteredLocations.length;i++){const s=this.clusteredLocations[i];if(s.visited)continue;s.visited=!0;const r=this.getNeighbors(s,e);r.length<this.minClusterPoints?s.clusterId=-1:(r.forEach(o=>{o.visited=!0,o.clusterId=t}),s.clusterId=t,t++)}return this.createClusters()}showClusterResult(e){this.crossLayer.removeAll();let t=Number.MIN_VALUE,i=Number.MAX_VALUE;e.forEach(s=>{s.count>1&&(i=Math.min(i,s.count),t=Math.max(t,s.count))}),e.forEach(s=>{if(s.id!==-1){let r=i===t?(this.maxClusterSymbolSize+this.minClusterSymbolSize)/2:this.minClusterSymbolSize+(s.count-i)/(t-i)*(this.maxClusterSymbolSize-this.minClusterSymbolSize);r*=.75;const l=(s.count.toString().length*8+6)/2,c=new y({geometry:new h.Point({x:s.center.x,y:s.center.y}),attributes:{count:s.count},symbol:{type:"cim",data:{type:"CIMSymbolReference",primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"textGraphic",propertyName:"TextString",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Custom",expression:"$feature.count",returnType:"Default"}}],symbol:{type:"CIMPointSymbol",symbolLayers:[{type:"CIMVectorMarker",size:r,colorLocked:!0,anchorPointUnits:"Relative",frame:{xmin:-16,ymin:-16,xmax:16,ymax:16},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[-l,40],[l,40],[l,20],[-l,20],[-l,40]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[2,72,200,255]},{type:"CIMSolidStroke",enable:!0,width:5,color:[2,72,200,128]}]}},{type:"CIMMarkerGraphic",primitiveName:"textGraphic",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",height:16,horizontalAlignment:"Center",offsetX:0,offsetY:30,symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[255,255,255,255]}]},verticalAlignment:"Center"},textString:""}],scaleSymbolsProportionally:!0,respectFrame:!0},{type:"CIMPictureMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",size:r,rotateClockwise:!0,textureFilter:"Picture",url:"/GisViewerAssets/Images/cross/gis_xhj_blue.png"}]}}}});this.crossLayer.add(c)}else s.items.forEach(r=>{const o=new y({geometry:new h.Point({x:r.x,y:r.y}),attributes:{...r,...r.properties,type:"clusterPoint",id:r.id},symbol:this.crossGraphicSymbol,popupTemplate:{title:"{name}信号机",content:[{type:"fields",fieldInfos:[{fieldName:"signalId",label:"信号机编号"},{fieldName:"nodeId",label:"路口编号"},{fieldName:"districtName",label:"区控名称"},{fieldName:"subDistrictName",label:"子区名称"}]}]}});this.crossLayer.add(o)})})}}exports.default=f;
|
package/lib/packages/components/src/gis-map/utils/signal-control-area/district-controller.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("pako"),h=require("../common-utils.js");class d{constructor(o,s){if(this.parentName="",this.signals=[],this.subDistricts=[],this.areaColor=this.getDarkNonGrayColor(),this.signalCount=0,this.subDistrictCount=0,this.roadConnections=[],this.id=o.name,this.name=o.areaDesc,this.parentId=o.parentId,s==="alarm"&&(this.areaColor=[255,0,0]),o.mapConnectList)try{const t=o.mapConnectList,i=new Uint8Array(window.atob(t).split("").map(r=>r.charCodeAt(0))),a=c.inflate(i,{to:"string"}),n=JSON.parse(a);this.roadConnections.push(...n.map(r=>({id:r.roadsectId,coordinates:JSON.parse(r.geomData).coordinates,districtId:this.parentId,subDistrictId:this.id})))}catch(t){console.error("解压子区路段连接信息失败:",t)}for(const t of o.children)if(t.children){const i=new d(t,s);if(i.id=t.id,i.name=`SS ${t.name}`,i.parentId=this.id,i.parentName=this.name,i.areaColor=this.getDarkNonGrayColor(t.id),this.subDistricts.push(i),this.subDistrictCount++,this.signalCount+=i.signalCount,t.mapConnectList)try{const a=t.mapConnectList,n=new Uint8Array(window.atob(a).split("").map(e=>e.charCodeAt(0))),r=c.inflate(n,{to:"string"}),l=JSON.parse(r);i.roadConnections.push(...l.map(e=>({id:e.roadsectId,coordinates:JSON.parse(e.geomData).coordinates,districtId:i.parentId,subDistrictId:i.id})))}catch(a){console.error("解压子区路段连接信息失败:",a)}}else if(h.default.isCoordinateValid(t)){const i={id:t.id,name:t.name,parentId:t.parentId,latitude:Number(t.latitude),longitude:Number(t.longitude),signalId:t.signalId,nodeId:t.nodeId,isKey:t.isKey===1};this.signals.push(i),this.signalCount++}}getAllSignalCoordinates(){const o=[];for(const s of this.signals)o.push([s.longitude,s.latitude]);for(const s of this.subDistricts)o.push(...s.getAllSignalCoordinates());return o}getDarkNonGrayColor(o){let s,t,i;if(o){const a=this.cyrb53(o);s=((a&16711680)>>16)%200,t=((a&65280)>>8)%200,i=(a&255)%200}else s=Math.floor(Math.random()*256),t=Math.floor(Math.random()*256),i=Math.floor(Math.random()*256);return[s,t,i]}cyrb53(o,s=0){let t=3735928559^s,i=1103547991^s;for(let a=0,n;a<o.length;a++)n=o.charCodeAt(a),t=Math.imul(t^n,2654435761),i=Math.imul(i^n,1597334677);return t=Math.imul(t^t>>>16,2246822507),t^=Math.imul(i^i>>>13,3266489909),i=Math.imul(i^i>>>16,2246822507),i^=Math.imul(t^t>>>13,3266489909),4294967296*(2097151&i)+(t>>>0)}}exports.default=d;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const C=require("@arcgis/core/Graphic"),c=require("@arcgis/core/layers/FeatureLayer"),L=require("@turf/helpers"),d=require("@turf/turf"),l=require("../common-utils.js"),u=require("./layer-symbol.js");function g(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const e in o)if(e!=="default"){const i=Object.getOwnPropertyDescriptor(o,e);Object.defineProperty(t,e,i.get?i:{enumerable:!0,get:()=>o[e]})}}return t.default=o,Object.freeze(t)}const n=g(L);class D{constructor(t){this.style="",this.view=t,this.districtControllerDashLayer=new c(u.districtDashLineLayerOptions),this.districtControllerDashLayer.spatialReference=t.spatialReference,this.districtControllerSolidLayer=new c(u.districtSolidLineLayerOptions),this.districtControllerSolidLayer.spatialReference=t.spatialReference,this.districtControllerSolidLayer.popupEnabled=!0,this.view.map.addMany([this.districtControllerDashLayer,this.districtControllerSolidLayer])}async showDistricts(t){await this.clearDistricts();const e=[];for(let i=0;i<t.length;i++){const r=t[i],s=r.getAllSignalCoordinates();let a=null;if(s.length>=2)if(s.length===2)a=n.lineString(s);else{const f=n.featureCollection(s.map(p=>n.point(p)));a=d.convex(f),a||(a=n.lineString(s))}else if(s.length===1)a=n.point(s[0]);else continue;const h=d.buffer(a.geometry,200,{units:"meters"}),y=new C({geometry:{type:"polyline",paths:h.geometry.coordinates},attributes:{ObjectID:i,id:r.id,name:r.name,subDistrictCount:r.subDistrictCount,signalCount:r.signalCount,parentId:r.parentId,parentName:r.parentName,selected:this.style,type:"district"}});e.push(y)}await this.districtControllerDashLayer.applyEdits({addFeatures:e}),await this.districtControllerSolidLayer.applyEdits({addFeatures:e}),await l.default.viewGoto(this.view,e)}async clearDistricts(){let t=await this.districtControllerDashLayer.queryFeatures();await this.districtControllerDashLayer.applyEdits({deleteFeatures:t.features}),this.districtControllerDashLayer.definitionExpression="1=1",t=await this.districtControllerSolidLayer.queryFeatures(),await this.districtControllerSolidLayer.applyEdits({deleteFeatures:t.features}),this.districtControllerSolidLayer.definitionExpression="1=1"}setVisible(t){this.districtControllerDashLayer.visible=t,this.districtControllerSolidLayer.visible=t}async locateDistrict(t){const e=this.districtControllerDashLayer.createQuery();e.where=`id = '${t}'`,e.returnGeometry=!0,e.outFields=["*"];const i=await this.districtControllerDashLayer.queryFeatures(e);return i.features.length>0?(await l.default.viewGoto(this.view,i.features),{status:0,message:"ok"}):{status:1,message:"未找到区控"}}async highlightDistrict(t){const e=this.districtControllerDashLayer.definitionExpression;this.districtControllerDashLayer.definitionExpression=`id = '${t.id}'`;const i=await this.districtControllerDashLayer.queryFeatures(),r=i.features.length;return r>0?(this.districtControllerSolidLayer.definitionExpression=`id = '${t.id}'`,await l.default.viewGoto(this.view,i.features,t.needZoom!==!1)):this.districtControllerDashLayer.definitionExpression=e,r}filter(t){const e=`id = '${t}'`;this.districtControllerDashLayer.definitionExpression=e,this.districtControllerSolidLayer.definitionExpression=e}resetFilter(){this.districtControllerDashLayer.definitionExpression="1=1",this.districtControllerSolidLayer.definitionExpression="1=1"}}exports.default=D;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("@arcgis/core/Graphic"),d=require("@arcgis/core/layers/GraphicsLayer"),h=require("@turf/buffer"),p=require("@turf/convex"),b=require("@turf/helpers"),f=require("axios"),C=require("concaveman"),I=require("../../../stores/index.js");function S(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const o=S(b);class v{constructor(e){var i;this.crossScale=5e3,this.hasGpu=!1,this.crossIdsInDistrict=[],this.view=e,this.hasGpu=localStorage.getItem("gpu")!=="Unknown";const r=I.default.useAppDataStore.mapConfig;this.openDriveServer=(i=r.openDriveServer)==null?void 0:i.url,this.districtControllerLayer=new d({id:"districtControllerLayer"}),this.subDistrictControllerLayer=new d({id:"subDistrictControllerLayer"}),this.crossLayer=new d({id:"crossLayer"}),this.view.map.addMany([this.districtControllerLayer,this.subDistrictControllerLayer,this.crossLayer])}showSubSignalControlArea(e){this.crossLayer.removeAll(),this.crossLayer.visible=!0;const r=e.children.map(i=>{const s={...i,selected:!0};return new c({geometry:{type:"point",x:i.longitude,y:i.latitude},symbol:this.getCrossSymbolInSubDistrict(s),attributes:s})});return this.crossLayer.addMany(r),this.view.goTo(r,{duration:this.hasGpu?1e3:0}),{status:0,message:"ok"}}async handleViewClick(e){var s;const r=(s=(await this.view.hitTest(e,{include:[this.crossLayer]})).results)==null?void 0:s.filter(a=>a.type==="graphic");if(r.length===0)return;const i=r[0].graphic;i.getAttribute("selected")?i.getAttribute("signalId")&&(this.removeCrossCallback&&this.removeCrossCallback({id:i.getAttribute("id")}),i.setAttribute("selected",!1),i.symbol=this.getCrossSymbolInSubDistrict(i.attributes)):(i.getAttribute("signalId")&&(this.addCrossCallback&&this.addCrossCallback(i.attributes),i.setAttribute("selected",!0),i.symbol=this.getCrossSymbolInSubDistrict(i.attributes)),await this.showNearbyCrosses(i.getAttribute("id")))}async showNearbyCrosses(e){const t=await f.get(`http://${this.openDriveServer}/api/computable/getRelatedNodesForNode`,{params:{nodeIds:e}});if(t.status===200)if(t.data.status===0){const r=t.data.result,i=[];for(const s of r){const a=s.nodeId;if(a.startsWith("-"))continue;if(s.signalId&&!this.crossIdsInDistrict.includes(a)){console.log("不是此区控内的路口",a);continue}if(this.crossLayer.graphics.some(u=>u.getAttribute("id")===a))continue;const m=new c({geometry:{type:"point",x:s.lon,y:s.lat},symbol:this.getCrossSymbolInSubDistrict(s),attributes:{id:a,name:s.name,signalId:s.signalId,selected:!1}});i.push(m)}return this.crossLayer.addMany(i),{status:0,message:"ok"}}else return{status:-1,message:t.data.message};else return{status:-1,message:"请求失败"}}async editSubSignalControlArea(e){if(e.odrServer){this.openDriveServer=e.odrServer,this.crossIdsInDistrict=e.crossesInArea.map(s=>s.id);const t=o.featureCollection(e.crossesInArea.map(s=>o.point([s.longitude,s.latitude]))),r=p(t);r&&(this.districtControllerLayer.removeAll(),this.districtControllerLayer.add(new c({geometry:{type:"polygon",rings:r.geometry.coordinates},symbol:{type:"simple-fill",style:"none",outline:{color:[61,139,249],width:3,style:"long-dash"}}}))),this.addCrossCallback=e.addCrossCallback,this.removeCrossCallback=e.removeCrossCallback,this.viewClickWatcher||(this.viewClickWatcher=this.view.on("click",async s=>{await this.handleViewClick(s)}));const i=this.crossLayer.graphics.toArray().map(s=>s.getAttribute("id")).join(",");return await this.showNearbyCrosses(i)}else return{status:1,message:"未配置OpenDriveServer"}}stopEditSubSignalControlArea(){var t;(t=this.viewClickWatcher)==null||t.remove(),this.viewClickWatcher=void 0;const e=this.crossLayer.graphics.filter(r=>r.getAttribute("signalId")===""||!r.getAttribute("signalId")||!r.getAttribute("selected"));this.crossLayer.removeMany(e.toArray()),this.districtControllerLayer.removeAll()}selectSubSignalControlAreaCross(e){return this.crossLayer.graphics.forEach(t=>{if(t.getAttribute("id")===e&&!t.getAttribute("selected"))return t.setAttribute("selected",!0),t.symbol=this.getCrossSymbolInSubDistrict(t.attributes),{status:0,message:"ok"}}),{status:0,message:"未找到"}}unselectSubSignalControlAreaCross(e){return this.crossLayer.graphics.forEach(t=>{if(t.getAttribute("id")===e&&t.getAttribute("selected"))return t.setAttribute("selected",!1),t.symbol=this.getCrossSymbolInSubDistrict(t.attributes),{status:0,message:"ok"}}),{status:0,message:"未找到"}}findAreaGraphic(e){let t=this.districtControllerLayer.graphics.find(r=>r.attributes.id===e);return t||(t=this.subDistrictControllerLayer.graphics.find(r=>r.attributes.id===e)),t||(t=this.crossLayer.graphics.find(r=>r.attributes.id===e)),t}drawArea(e,t){const r=e.getAllSignalCoordinates();if(r.length>=2){let s=null;if(r.length===2)s=o.lineString(r);else{if(t){const y=o.featureCollection(r.map(g=>o.point(g)));s=p(y)}else{const y=C(r,.5);y.length>=4&&(s=o.polygon([y]))}s||(s=o.lineString(r))}const a=h(s.geometry,t?200:30,{units:"meters"});let l;t?l=[{fieldName:"id",label:"区控编号"},{fieldName:"crossCount",label:"路口数量"},{fieldName:"subDistrictCount",label:"子区数量"}]:l=[{fieldName:"parentName",label:"所属区控"},{fieldName:"crossCount",label:"路口数量"}];const m={type:"signalControlArea",id:e.id,name:e.name,parentId:e.parentId,parentName:e.parentName,crossCount:e.signalCount,subDistrictCount:e.subDistrictCount},u=new c({geometry:{type:"polygon",rings:a.geometry.coordinates},symbol:{type:"simple-fill",style:"none",outline:{color:t?[111,100,255]:[5,196,104],width:3,style:t?"long-dash":"solid"}},attributes:m,popupTemplate:{title:`${e.name}`,content:[{type:"fields",fieldInfos:l}]}});t?this.districtControllerLayer.add(u):this.subDistrictControllerLayer.add(u)}for(const s of e.subDistricts)this.drawArea(s,!1);const i=[];e.signals.forEach(s=>{const a={type:"cross",id:s.id,name:s.name,signalId:s.signalId,nodeId:s.nodeId,districtId:t?e.id:e.parentId,districtName:t?e.name:e.parentName,subDistrictId:t?"":e.id,subDistrictName:t?"":e.name,isKey:s.isKey},l=new c({geometry:{type:"point",x:s.longitude,y:s.latitude},symbol:this.getCrossGraphicSymbol(a,"marker"),attributes:a,popupTemplate:{title:s.name,content:[{type:"fields",fieldInfos:[{fieldName:"districtName",label:"区控名称"},{fieldName:"subDistrictName",label:"子区名称"},{fieldName:"signalId",label:"信号机编号"},{fieldName:"nodeId",label:"路口编号"}]}]}});i.push(l)}),this.crossLayer.addMany(i)}getCrossSymbolInSubDistrict(e){return e.signalId&&e.signalId!==""?{type:"cim",data:{type:"CIMSymbolReference",primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"textGraphic",propertyName:"TextString",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Custom",expression:'Replace($feature.name, "与", "/") + " " + $feature.signalId',returnType:"Default"}}],symbol:{type:"CIMPointSymbol",symbolLayers:[{type:"CIMVectorMarker",size:32,colorLocked:!0,anchorPointUnits:"Relative",frame:{xmin:-16,ymin:-16,xmax:16,ymax:16},markerGraphics:[{type:"CIMMarkerGraphic",primitiveName:"textGraphic",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",height:12,horizontalAlignment:"Center",offsetX:0,offsetY:20,haloSize:1,haloSymbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[255,255,255,255]}]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[0,0,0,255]}]},verticalAlignment:"Center"},textString:""}],scaleSymbolsProportionally:!0,respectFrame:!0},{type:"CIMPictureMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",size:30,rotateClockwise:!0,textureFilter:"Picture",url:`/GisViewerAssets/Images/cross/${e.selected?"gis_xhj_blue":"gis_xhj_gray"}.png`}]}}}:{type:"picture-marker",url:"/GisViewerAssets/Images/cross/gis_lkcz.png",width:"20px",height:"20px"}}getCrossGraphicSymbol(e,t){const r=e.isKey;if(t==="marker")return{type:"simple-marker",style:"circle",color:r?[254,172,22]:[5,116,255],size:r?12:8,outline:{color:"white",width:1}};if(t==="picture")return{type:"cim",data:{type:"CIMSymbolReference",primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"textGraphic",propertyName:"TextString",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Custom",expression:'Replace($feature.name, "与", "/") + " " + $feature.signalId',returnType:"Default"}}],symbol:{type:"CIMPointSymbol",symbolLayers:[{type:"CIMVectorMarker",size:32,colorLocked:!0,anchorPointUnits:"Relative",frame:{xmin:-16,ymin:-16,xmax:16,ymax:16},markerGraphics:[{type:"CIMMarkerGraphic",primitiveName:"textGraphic",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",height:12,horizontalAlignment:"Center",offsetX:0,offsetY:r?30:15,haloSize:1,haloSymbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[255,255,255,255]}]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[0,0,0,255]}]},verticalAlignment:"Center"},textString:""}],scaleSymbolsProportionally:!0,respectFrame:!0},{type:"CIMPictureMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",size:r?40:20,rotateClockwise:!0,textureFilter:"Picture",url:`/GisViewerAssets/Images/cross/${r?"gis_gjxklk_orange":"gis_xhj_blue"}.png`}]}}}}}exports.default=v;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={id:"districtController",source:[],objectIdField:"ObjectID",geometryType:"polyline",outFields:["*"],fields:[{name:"ObjectID",type:"oid"},{name:"id",type:"string"},{name:"name",type:"string"},{name:"subDistrictCount",type:"integer"},{name:"signalCount",type:"integer"},{name:"selected",type:"string"}],renderer:{type:"unique-value",field:"selected",defaultSymbol:{type:"simple-line",style:"long-dash",color:[111,100,255],width:2},uniqueValueInfos:[{value:"false",symbol:{type:"simple-line",style:"long-dash",color:[180,180,180],width:1}}]}},t={id:"districtController",source:[],objectIdField:"ObjectID",outFields:["*"],geometryType:"polyline",fields:[{name:"ObjectID",type:"oid"},{name:"id",type:"string"},{name:"name",type:"string"},{name:"subDistrictCount",type:"integer"},{name:"signalCount",type:"integer"},{name:"type",type:"string"},{name:"selected",type:"string"}],renderer:{type:"unique-value",field:"selected",defaultSymbol:{type:"simple-line",style:"solid",color:[111,100,255,.4],width:2},uniqueValueInfos:[{value:"false",symbol:{type:"simple-line",style:"solid",color:[180,180,180,.4],width:1}}]}},i={id:"subDistrictPointController",source:[],objectIdField:"ObjectID",outFields:["*"],geometryType:"point",fields:[{name:"ObjectID",type:"oid"},{name:"id",type:"string"},{name:"name",type:"string"},{name:"districtId",type:"string"},{name:"districtName",type:"string"},{name:"subDistrictId",type:"string"},{name:"subDistrictName",type:"string"},{name:"signalCount",type:"integer"},{name:"selected",type:"string"},{name:"type",type:"string"},{name:"color",type:"string"}],popupTemplate:{title:"{subDistrictName} 子区",content:[{type:"fields",fieldInfos:[{fieldName:"subDistrictId",label:"子区编号"},{fieldName:"districtName",label:"所属区控"},{fieldName:"signalCount",label:"信号机数量"}]}]}},r={id:"subDistrictLineController",source:[],objectIdField:"ObjectID",outFields:["*"],geometryType:"polyline",fields:[{name:"ObjectID",type:"oid"},{name:"id",type:"string"},{name:"districtId",type:"string"},{name:"districtName",type:"string"},{name:"subDistrictId",type:"string"},{name:"subDistrictName",type:"string"},{name:"signalCount",type:"integer"},{name:"fromNode",type:"string"},{name:"toNode",type:"string"},{name:"color",type:"string"}],popupTemplate:{title:"{subDistrictName} 子区",content:[{type:"fields",fieldInfos:[{fieldName:"subDistrictId",label:"子区编号"},{fieldName:"districtName",label:"所属区控"},{fieldName:"signalCount",label:"信号机数量"}]}]}},s={id:"signalLayer",source:[],objectIdField:"ObjectID",outFields:["*"],geometryType:"point",maxScale:5e3,fields:[{name:"ObjectID",type:"oid"},{name:"id",type:"string"},{name:"name",type:"string"},{name:"signalId",type:"string"},{name:"nodeId",type:"string"},{name:"isKey",type:"string"},{name:"districtId",type:"string"},{name:"districtName",type:"string"},{name:"subDistrictId",type:"string"},{name:"subDistrictName",type:"string"},{name:"type",type:"string"},{name:"selected",type:"string"}],popupTemplate:{title:"{name}信号机",content:[{type:"fields",fieldInfos:[{fieldName:"districtName",label:"区控名称"},{fieldName:"subDistrictName",label:"子区名称"},{fieldName:"signalId",label:"信号机编号"},{fieldName:"nodeId",label:"路口编号"}]}]},renderer:{type:"unique-value",field:"isKey",field2:"selected",defaultSymbol:{type:"simple-marker",style:"circle",color:"gray",size:4,outline:{color:"white",width:0}},uniqueValueInfos:[{value:"true,true",symbol:{type:"picture-marker",url:"/GisViewerAssets/Images/icon_star.png",width:"20px",height:"20px"}},{value:"false,true",symbol:{type:"simple-marker",style:"circle",color:[5,116,255,.8],size:8,outline:{color:"white",width:0}}},{value:"true,false",symbol:{type:"simple-marker",style:"circle",color:[180,180,180,.8],size:8,outline:{color:"white",width:0}}},{value:"false,false",symbol:{type:"simple-marker",style:"circle",color:[180,180,180,.8],size:8,outline:{color:"white",width:0}}}]}},l={id:"signalLayer",source:[],objectIdField:"ObjectID",outFields:["*"],geometryType:"point",minScale:5e3,fields:[{name:"ObjectID",type:"oid"},{name:"id",type:"string"},{name:"name",type:"string"},{name:"signalId",type:"string"},{name:"nodeId",type:"string"},{name:"isKey",type:"string"},{name:"districtId",type:"string"},{name:"districtName",type:"string"},{name:"subDistrictId",type:"string"},{name:"subDistrictName",type:"string"},{name:"type",type:"string"},{name:"selected",type:"string"}],popupTemplate:{title:"{name}信号机",content:[{type:"fields",fieldInfos:[{fieldName:"districtName",label:"区控名称"},{fieldName:"subDistrictName",label:"子区名称"},{fieldName:"signalId",label:"信号机编号"},{fieldName:"nodeId",label:"路口编号"}]}]},renderer:{type:"unique-value",field:"isKey",field2:"selected",defaultSymbol:{type:"simple-marker",style:"circle",color:"gray",size:4,outline:{color:"white",width:1}},uniqueValueInfos:[{value:"true,true",symbol:{type:"cim",data:{type:"CIMSymbolReference",primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"textGraphic",propertyName:"TextString",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Custom",expression:'Replace($feature.name, "与", "/") + " " + $feature.signalId',returnType:"Default"}}],symbol:{type:"CIMPointSymbol",symbolLayers:[{type:"CIMVectorMarker",size:32,colorLocked:!0,anchorPointUnits:"Relative",frame:{xmin:-16,ymin:-16,xmax:16,ymax:16},markerGraphics:[{type:"CIMMarkerGraphic",primitiveName:"textGraphic",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",height:12,horizontalAlignment:"Center",offsetX:0,offsetY:30,haloSize:1,haloSymbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[255,255,255,255]}]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[0,0,0,255]}]},verticalAlignment:"Center"},textString:""}],scaleSymbolsProportionally:!0,respectFrame:!0},{type:"CIMPictureMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",size:20,rotateClockwise:!0,textureFilter:"Picture",url:"/GisViewerAssets/Images/cross/gis_gjxklk_orange.png"}]}}}},{value:"false,true",symbol:{type:"cim",data:{type:"CIMSymbolReference",primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"textGraphic",propertyName:"TextString",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Custom",expression:'Replace($feature.name, "与", "/") + " " + $feature.signalId',returnType:"Default"}}],symbol:{type:"CIMPointSymbol",symbolLayers:[{type:"CIMVectorMarker",size:32,colorLocked:!0,anchorPointUnits:"Relative",frame:{xmin:-16,ymin:-16,xmax:16,ymax:16},markerGraphics:[{type:"CIMMarkerGraphic",primitiveName:"textGraphic",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",height:12,horizontalAlignment:"Center",offsetX:0,offsetY:15,haloSize:1,haloSymbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[255,255,255,255]}]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[0,0,0,255]}]},verticalAlignment:"Center"},textString:""}],scaleSymbolsProportionally:!0,respectFrame:!0},{type:"CIMPictureMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",size:20,rotateClockwise:!0,textureFilter:"Picture",url:"/GisViewerAssets/Images/cross/gis_xhj_blue.png"}]}}}},{value:"true,false",symbol:{type:"picture-marker",url:"/GisViewerAssets/Images/cross/gis_gjxk_gray.png",width:20,height:20}},{value:"false,false",symbol:{type:"picture-marker",url:"/GisViewerAssets/Images/cross/gis_xhj_gray.png",width:20,height:20}}],visualVariables:[{type:"size",valueExpression:"$view.scale",stops:[{size:28,value:2250},{size:24,value:4500}]}]}},n={id:"signalLayer",source:[],objectIdField:"ObjectID",outFields:["*"],geometryType:"point",maxScale:5e3,fields:[{name:"ObjectID",type:"oid"},{name:"id",type:"string"},{name:"name",type:"string"},{name:"signalId",type:"string"},{name:"nodeId",type:"string"},{name:"isKey",type:"string"},{name:"districtId",type:"string"},{name:"districtName",type:"string"},{name:"subDistrictId",type:"string"},{name:"subDistrictName",type:"string"},{name:"type",type:"string"},{name:"type",type:"string"},{name:"selected",type:"string"}],featureReduction:{type:"cluster",clusterRadius:"120px",clusterMaxSize:"50px",clusterMinSize:"30px",symbol:{type:"cim",data:{type:"CIMSymbolReference",primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"textGraphic",propertyName:"TextString",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Custom",expression:"$feature.cluster_count",returnType:"Default"}}],symbol:{type:"CIMPointSymbol",symbolLayers:[{type:"CIMVectorMarker",size:32,colorLocked:!0,anchorPointUnits:"Relative",frame:{xmin:-16,ymin:-16,xmax:16,ymax:16},markerGraphics:[{type:"CIMMarkerGraphic",primitiveName:"textGraphic",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",height:16,horizontalAlignment:"Center",offsetX:0,offsetY:30,symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[255,255,255,255]}]},verticalAlignment:"Center"},textString:""},{type:"CIMMarkerGraphic",geometry:{rings:[[[-15,40],[15,40],[15,20],[-15,20],[-15,40]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[2,72,200,255]},{type:"CIMSolidStroke",enable:!0,width:5,color:[2,72,200,128]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0},{type:"CIMPictureMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",size:40,rotateClockwise:!0,textureFilter:"Picture",url:"/GisViewerAssets/Images/cross/gis_xhj_blue.png"}]}}}},popupTemplate:{title:"{name}信号机",content:[{type:"fields",fieldInfos:[{fieldName:"districtName",label:"区控名称"},{fieldName:"subDistrictName",label:"子区名称"},{fieldName:"signalId",label:"信号机编号"},{fieldName:"nodeId",label:"路口编号"}]}]},renderer:{type:"simple",symbol:{type:"simple-marker",style:"circle",color:[5,116,255],size:8,outline:{color:"white",width:1}}}};exports.districtDashLineLayerOptions=e;exports.districtSolidLineLayerOptions=t;exports.signalClusterLayerOptions=n;exports.signalMarkerLayerOptions=s;exports.signalPictureLayerOptions=l;exports.subDistrictLineLayerOptions=r;exports.subDistrictPointLayerOptions=i;
|
package/lib/packages/components/src/gis-map/utils/signal-control-area/signal-area-controller.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("../../../stores/index.js"),a=require("./cross-renderer.js"),r=require("./district-controller.js"),l=require("./district-renderer.js"),o=require("./signal-renderer.js"),d=require("./sub-district-renderer.js");class u{constructor(e){this.view=e;const t=c.default.useAppDataStore;this.mapConfig=JSON.parse(JSON.stringify(t.mapConfig)),this.districtRenderer=new l.default(e),this.subDistrictRenderer=new d.default(e),this.signalRenderer=new o.default(e),this.crossRenderer=new a.default(e)}async showSignalControlArea(e){await this.clearSignalControlArea(),this.districtRenderer.setVisible(!1),this.subDistrictRenderer.setVisible(!1),this.signalRenderer.setClusterVisible(!1),this.signalRenderer.setPointVisible(!1);const t=[],s=[];for(const i of e.areaList){const n=new r.default(i,e.style||"");t.push(n),s.push(...n.subDistricts)}return this.districtRenderer.style=e.style||"",await this.districtRenderer.showDistricts(t),await this.subDistrictRenderer.showSubDistricts(s),this.crossRenderer.addCrosses(t),{status:0,message:"ok"}}async showDistrict(e){this.setLayerVisibility({id:"district",visible:!0}),this.setLayerVisibility({id:"subDistrict",visible:!0});const t=new r.default(e.areaList,e.style||"");await this.districtRenderer.showDistricts([t]),await this.subDistrictRenderer.showSubDistricts(t.subDistricts),await this.subDistrictRenderer.showRoads({id:t.id,type:"district"})}async showSubDistrict(e){this.setLayerVisibility({id:"subDistrict",visible:!0});const t=new r.default(e.areaList,e.style||"");await this.subDistrictRenderer.showSubDistricts([t]),await this.subDistrictRenderer.showRoads({id:t.id,type:"subDistrict"})}async clearSignalControlArea(){return this.crossRenderer.clearCrosses(),await this.districtRenderer.clearDistricts(),await this.subDistrictRenderer.clearSubDistricts(),this.crossRenderer.clearCrosses(),{status:0,message:"ok"}}setLayerVisibility(e){switch(e.visible===!1&&this.view.closePopup(),e.id){case"district":this.districtRenderer.setVisible(e.visible);break;case"subDistrict":this.subDistrictRenderer.setVisible(e.visible);break;case"signal":e.visible===!1?this.crossRenderer.hideCrosses():this.crossRenderer.showScatter();break;case"signalCluster":e.visible===!1?this.crossRenderer.hideCrosses():this.crossRenderer.showCluster();break}return{status:0,message:"ok"}}async locateSignalControlArea(e){switch(e.type){case"district":return await this.districtRenderer.locateDistrict(e.id);case"subDistrict":return await this.subDistrictRenderer.locateSubDistrict(e.id);case"signal":return await this.signalRenderer.locateSignal(e.id);default:return{status:1,message:"未知类型"}}}async highlightSignalControlArea(e){switch(this.view.closePopup(),e.type){case"district":return await this.districtRenderer.highlightDistrict(e)?(this.subDistrictRenderer.filter(e),this.crossRenderer.filter(e),await this.subDistrictRenderer.showRoads(e),{status:0,message:"ok"}):{status:1,message:"未找到区控"};case"subDistrict":{const{count:t,parentId:s}=await this.subDistrictRenderer.highlightSubDistrict(e);return t>0?(this.districtRenderer.filter(s),this.crossRenderer.filter(e),{status:0,message:"ok"}):{status:1,message:"未找到子区"}}case"signal":{const{districtId:t,subDistrictId:s,count:i}=await this.signalRenderer.highlightSignal(e.id);return i>0?(this.districtRenderer.filter(t),this.subDistrictRenderer.filter(e),{status:0,message:"ok"}):{status:1,message:"未找到信号机"}}default:return{status:1,message:"未知类型"}}}async resetHighlight(){return this.districtRenderer.resetFilter(),this.subDistrictRenderer.resetFilter(),this.crossRenderer.resetFilter(),{status:0,message:"ok"}}}exports.default=u;
|
package/lib/packages/components/src/gis-map/utils/signal-control-area/signal-cross-controller.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("@arcgis/core/geometry"),y=require("@arcgis/core/Graphic"),p=require("@arcgis/core/layers/GraphicsLayer");class S{constructor(t){this.iconSymbolScale=1e4,this.largeMarkerScale=4e4,this.oldScale=0,this.showName="detail",this.showStyle="scatter",this.clusterRadius=120,this.minClusterPoints=2,this.maxClusterSymbolSize=50,this.minClusterSymbolSize=25,this.clusteredLocations=[],this.locations=[],this.view=t,this.crossLayer=new p({id:"signal-control-cross-layer",title:"信控路口图层"}),this.view.map.add(this.crossLayer)}didCrossScaleThreshold(t,s,i){return t<i&&s>=i||t>=i&&s<i}locationToScreen(){this.clusteredLocations=[],this.locations.forEach(t=>{const s=this.view.toScreen(new u.Point({x:t.x,y:t.y}));s.x>0&&s.y>0&&(t.properties.screenX=s.x,t.properties.screenY=s.y,t.visited=!1,t.clusterId=void 0,this.clusteredLocations.push(t))})}showSignalCross(t){if(this.crossLayer.removeAll(),this.showName=t.showName||"detail",this.showStyle=t.style||"scatter",this.oldScale=this.view.scale,this.scaleWatchHandle||(this.scaleWatchHandle=this.view.watch("stationary",()=>{if(this.showStyle==="scatter"){const s=this.view.scale,i=this.didCrossScaleThreshold(this.oldScale,s,this.iconSymbolScale),e=this.didCrossScaleThreshold(this.oldScale,s,this.largeMarkerScale);(i||e)&&this.updateScatterSymbol(),this.oldScale=s}else{this.locationToScreen();const s=this.doPixelCluster(this.clusterRadius);this.showClusterResult(s)}})),this.showStyle==="scatter"){const s=[],i=[];t.points.forEach(e=>{const r=this.getCrossSymbol(e),o=this.getBrandLabel(e.brand),n=this.getOnlineLabel(e.isOnline),l=this.getMalfunctionLabel(e.isMalfunction),a=new y({geometry:{type:"point",longitude:e.x,latitude:e.y},symbol:r,attributes:{type:"signal-cross",id:e.crossId,brandLabel:o,isOnlineLabel:n,isMalfunctionLabel:l,...e}});e.isMalfunction===!0||e.isOnline===!1?i.push(a):s.push(a)}),this.crossLayer.addMany(s),this.crossLayer.addMany(i)}else{this.locations=t.points.map(i=>({id:i.crossId,x:i.x,y:i.y,visited:!1,clusterId:void 0,properties:i})),this.locationToScreen();const s=this.doPixelCluster(this.clusterRadius);this.showClusterResult(s)}return{status:0,message:"ok"}}clearSignalCross(){var t;this.crossLayer.removeAll(),(t=this.scaleWatchHandle)==null||t.remove(),this.scaleWatchHandle=null}changeShowName(t){this.showName=t,this.showStyle==="scatter"&&this.updateScatterSymbol()}updateScatterSymbol(){this.crossLayer.graphics.forEach(t=>{t.symbol=this.getCrossSymbol(t.attributes)})}doPixelCluster(t){let s=0;for(let i=0;i<this.clusteredLocations.length;i++){const e=this.clusteredLocations[i];if(e.visited)continue;e.visited=!0;const r=this.getNeighbors(e,t);r.length<this.minClusterPoints?e.clusterId=-1:(r.forEach(o=>{o.visited=!0,o.clusterId=s}),e.clusterId=s,s++)}return this.createClusters()}getNeighbors(t,s){return this.clusteredLocations.filter(i=>i.id===t.id||i.visited?!1:this.getDistance(t,i)<=s)}getDistance(t,s){return Math.sqrt(Math.pow(t.properties.screenX-s.properties.screenX,2)+Math.pow(t.properties.screenY-s.properties.screenY,2))}createClusters(){const t={},s=[];for(const e of this.clusteredLocations)e.clusterId===void 0||e.clusterId===-1?s.push(e):(t[e.clusterId]||(t[e.clusterId]=[]),t[e.clusterId].push(e));const i=Object.keys(t).map((e,r)=>{const o=t[Number(e)],n=o.length,l=o.reduce((c,h)=>c+h.x,0),a=o.reduce((c,h)=>c+h.y,0),m=l/n,d=a/n;return{id:Number(e),items:o,count:n,center:{x:m,y:d}}});return s.length>0&&i.push({id:-1,items:s,count:s.length,center:null}),i}showClusterResult(t){this.crossLayer.removeAll();let s=Number.MIN_VALUE,i=Number.MAX_VALUE;t.forEach(e=>{e.count>1&&(i=Math.min(i,e.count),s=Math.max(s,e.count))}),t.forEach(e=>{if(e.id!==-1){let r=i===s?(this.maxClusterSymbolSize+this.minClusterSymbolSize)/2:this.minClusterSymbolSize+(e.count-i)/(s-i)*(this.maxClusterSymbolSize-this.minClusterSymbolSize);r*=.75;const l=(e.count.toString().length*8+6)/2,a=new y({geometry:new u.Point({x:e.center.x,y:e.center.y}),attributes:{count:e.count},symbol:{type:"cim",data:{type:"CIMSymbolReference",primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"textGraphic",propertyName:"TextString",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Custom",expression:"$feature.count",returnType:"Default"}}],symbol:{type:"CIMPointSymbol",symbolLayers:[{type:"CIMVectorMarker",size:r,colorLocked:!0,anchorPointUnits:"Relative",frame:{xmin:-16,ymin:-16,xmax:16,ymax:16},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[-l,40],[l,40],[l,20],[-l,20],[-l,40]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[2,72,200,255]},{type:"CIMSolidStroke",enable:!0,width:5,color:[2,72,200,128]}]}},{type:"CIMMarkerGraphic",primitiveName:"textGraphic",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",height:16,horizontalAlignment:"Center",offsetX:0,offsetY:30,symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[255,255,255,255]}]},verticalAlignment:"Center"},textString:""}],scaleSymbolsProportionally:!0,respectFrame:!0},{type:"CIMPictureMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",size:r,rotateClockwise:!0,textureFilter:"Picture",url:"/GisViewerAssets/Images/cross/gis_xhj_blue.png"}]}}}});this.crossLayer.add(a)}else e.items.forEach(r=>{const o=new y({geometry:new u.Point({x:r.x,y:r.y}),attributes:{...r,...r.properties,type:"signal-cross",id:r.id},symbol:this.getCrossSymbol(r.properties)});this.crossLayer.add(o)})})}getBrandLabel(t){const s=(t??"").toLowerCase();return s==="scats"?"SCATS":s==="gc"?"国产":t??""}getOnlineLabel(t){return t?"在线":"离线"}getMalfunctionLabel(t){return t?"故障":"正常"}getCrossSymbol(t){var s,i;if(this.view.scale<=this.iconSymbolScale){let e="/GisViewerAssets/Images/cross/ic_";return e+=((s=t.brand)==null?void 0:s.toLowerCase())==="scats"?"scats_":"gc_",e+=t.isOnline?"online_":"offline_",e+=t.isMalfunction?"malfunction.png":"normal.png",{type:"cim",data:{type:"CIMSymbolReference",primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"textGraphic",propertyName:"TextString",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Custom",expression:this.showName==="crossName"?'Replace($feature.name, "与", "/")':this.showName==="signalId"?"$feature.signalId":'Replace($feature.name, "与", "/") + " " + $feature.signalId',returnType:"Default"}}],symbol:{type:"CIMPointSymbol",symbolLayers:[{type:"CIMVectorMarker",size:25,colorLocked:!0,anchorPointUnits:"Relative",frame:{xmin:-16,ymin:-16,xmax:16,ymax:16},markerGraphics:[{type:"CIMMarkerGraphic",primitiveName:"textGraphic",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",height:12,horizontalAlignment:"Center",offsetX:0,offsetY:20,haloSize:1,haloSymbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[255,255,255,255]}]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[0,0,0,255]}]},verticalAlignment:"Center"},textString:""}],scaleSymbolsProportionally:!0,respectFrame:!0},{type:"CIMPictureMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",size:20,rotateClockwise:!0,textureFilter:"Picture",url:e}]}}}}else{const e={type:"simple-marker",style:"circle",size:this.view.scale>this.largeMarkerScale?3:6,outline:{width:1}};return((i=t.brand)==null?void 0:i.toLowerCase())==="scats"?t.isOnline?(e.color=[68,203,188],e.outline.color=[59,176,163]):(e.color=[100,100,100],e.outline.color=[150,150,150]):t.isOnline?(e.color=[129,226,73],e.outline.color=[108,189,61]):(e.color=[100,100,100],e.outline.color=[150,150,150]),e}}}exports.default=S;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("@arcgis/core/Graphic"),u=require("@arcgis/core/layers/FeatureLayer"),y=require("../common-utils.js"),l=require("./layer-symbol.js");class o{constructor(e){this.view=e,this.signalMarkerLayer=new u(l.signalMarkerLayerOptions),this.signalMarkerLayer.spatialReference=e.spatialReference,this.signalMarkerLayer.popupEnabled=!0,this.signalPictureLayer=new u(l.signalPictureLayerOptions),this.signalPictureLayer.spatialReference=e.spatialReference,this.signalPictureLayer.popupEnabled=!0,this.signalClusterLayer=new u(l.signalClusterLayerOptions),this.signalClusterLayer.spatialReference=e.spatialReference,this.signalClusterLayer.popupEnabled=!0,this.view.map.addMany([this.signalMarkerLayer,this.signalPictureLayer,this.signalClusterLayer])}async showSignals(e){await this.clearSignals();let r=0;const a=[];e.forEach(s=>{s.signals.forEach(i=>{const t=new d({geometry:{type:"point",longitude:i.longitude,latitude:i.latitude},attributes:{ObjectID:r++,id:i.id,name:i.name,signalId:i.signalId,nodeId:i.nodeId||i.id,districtId:s.id,districtName:s.name,subDistrictId:"",subDistrictName:"",isKey:i.isKey,type:"signal",selected:!0}});a.push(t)}),s.subDistricts.forEach(i=>{i.signals.forEach(t=>{const n=new d({geometry:{type:"point",longitude:t.longitude,latitude:t.latitude},attributes:{ObjectID:r++,id:t.id,name:t.name,signalId:t.signalId,nodeId:t.nodeId||t.id,districtId:s.id,districtName:s.name,subDistrictId:i.id,subDistrictName:i.name,isKey:t.isKey,type:"signal",selected:!0}});a.push(n)})})}),await this.signalMarkerLayer.applyEdits({addFeatures:a}),await this.signalPictureLayer.applyEdits({addFeatures:a}),await this.signalClusterLayer.applyEdits({addFeatures:a})}async clearSignals(){let e=await this.signalMarkerLayer.queryFeatures();await this.signalMarkerLayer.applyEdits({deleteFeatures:e.features}),this.signalMarkerLayer.definitionExpression="1=1",e=await this.signalPictureLayer.queryFeatures(),await this.signalPictureLayer.applyEdits({deleteFeatures:e.features}),this.signalPictureLayer.definitionExpression="1=1",e=await this.signalClusterLayer.queryFeatures(),await this.signalClusterLayer.applyEdits({deleteFeatures:e.features}),this.signalClusterLayer.definitionExpression="1=1"}async setPointVisible(e){this.signalMarkerLayer.visible=e,this.signalPictureLayer.visible=e}setClusterVisible(e){this.signalClusterLayer.visible=e}async locateSignal(e){return{status:0,message:"ok"}}async highlightSignal(e){let r="",a="";const s=this.signalMarkerLayer.definitionExpression;this.signalMarkerLayer.definitionExpression=`signalId = '${e}'`;const i=await this.signalMarkerLayer.queryFeatures(),t=i.features.length;if(t>0){const n=i.features[0].attributes.districtId||"",c=i.features[0].attributes.subDistrictId||"";return await y.default.viewGoto(this.view,i.features),{districtId:n,subDistrictId:c,count:t}}else this.signalMarkerLayer.definitionExpression=s;return{districtId:r,subDistrictId:a,count:t}}filter(e){const{id:r,type:a}=e,s=`${a==="district"?"districtId":"subDistrictId"} = '${r}'`;this.signalClusterLayer.definitionExpression=s,this.signalMarkerLayer.definitionExpression=s,this.signalPictureLayer.definitionExpression=s}resetFilter(){const e="1=1";this.signalClusterLayer.definitionExpression=e,this.signalMarkerLayer.definitionExpression=e,this.signalPictureLayer.definitionExpression=e}}exports.default=o;
|
package/lib/packages/components/src/gis-map/utils/signal-control-area/sub-district-renderer.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const m=require("@arcgis/core/Graphic"),w=require("@arcgis/core/layers/FeatureLayer"),D=require("../common-utils.js"),I=require("./layer-symbol.js");class P{constructor(t){this.roadConnections=[],this.view=t,this.subDistrictPointLayer=new w(I.subDistrictPointLayerOptions),this.subDistrictPointLayer.spatialReference=t.spatialReference,this.subDistrictPointLayer.popupEnabled=!0,this.subDistrictLineLayer=new w(I.subDistrictLineLayerOptions),this.subDistrictLineLayer.spatialReference=t.spatialReference,this.subDistrictLineLayer.popupEnabled=!0,this.view.map.addMany([this.subDistrictLineLayer,this.subDistrictPointLayer])}async showSubDistricts(t){var n;await this.clearSubDistricts(),(n=this.clickHandler)==null||n.remove(),this.clickHandler=this.view.on("click",this.viewHitTest.bind(this));let s=0;const i=[],r=[];t.forEach(e=>{e.roadConnections.length>0&&this.roadConnections.push(...e.roadConnections),r.push({value:e.id,label:e.name,symbol:{type:"simple-marker",style:"circle",color:[...e.areaColor,.8],size:"8px",outline:{color:[...e.areaColor],width:4}}}),e.signals.forEach(a=>{const d=new m({geometry:{type:"point",longitude:a.longitude,latitude:a.latitude},attributes:{ObjectID:s++,id:a.nodeId,name:a.name,subDistrictId:e.id,subDistrictName:e.name,districtId:e.parentId,districtName:e.parentName,signalCount:e.signalCount,color:e.areaColor.join(","),type:"subDistrict"}});i.push(d)})}),this.subDistrictPointLayer.renderer={type:"simple",symbol:{type:"simple-marker",color:[23,151,255,.8],size:"8px",outline:{color:"white",width:1}}},this.currentPointRenderer=this.subDistrictPointLayer.renderer.clone(),await this.subDistrictPointLayer.applyEdits({addFeatures:i}),await D.default.viewGoto(this.view,i)}async showRoads(t){const{type:s,id:i}=t,r=this.subDistrictPointLayer.createQuery(),n=s==="district"?"districtId":"subDistrictId";i!==""?r.where=`${n} = '${i}'`:r.where="1=1";const e=await this.subDistrictPointLayer.queryFeatures(r),a=new Map;e.features.forEach(o=>{var p;const{subDistrictId:u,color:c,id:h,districtName:y,subDistrictName:f,signalCount:b}=o.attributes;a.has(u)||a.set(u,{color:c,signalIds:[],districtName:y,subDistrictName:f,signalCount:b}),(p=a.get(u))==null||p.signalIds.push(h)});const d=[],L=[];for(const o of a){let u=0;const c=o[0];d.push({value:c,symbol:{type:"simple-line",color:o[1].color.split(",").map(Number),width:2,style:"solid"}});const{districtName:h,subDistrictName:y,signalIds:f,signalCount:b}=o[1];this.roadConnections.filter(l=>l.subDistrictId===c).forEach(l=>{const g=new m({geometry:{type:"polyline",paths:l.coordinates},attributes:{ObjectID:u++,id:l.id,districtId:l.districtId,subDistrictId:c,subDistrictName:y,districtName:h,signalCount:b,color:o[1].color}});L.push(g)})}this.subDistrictLineLayer.renderer={type:"simple",symbol:{type:"simple-line",color:[23,151,255],width:2}},this.currentLineRenderer=this.subDistrictLineLayer.renderer.clone(),await this.subDistrictLineLayer.applyEdits({addFeatures:L})}async clearSubDistricts(){var i;const t=await this.subDistrictPointLayer.queryFeatures();t.features.length>0&&await this.subDistrictPointLayer.applyEdits({deleteFeatures:t.features}),this.subDistrictPointLayer.definitionExpression="1=1";const s=await this.subDistrictLineLayer.queryFeatures();s.features.length>0&&await this.subDistrictLineLayer.applyEdits({deleteFeatures:s.features}),this.subDistrictLineLayer.definitionExpression="1=1",this.roadConnections=[],(i=this.clickHandler)==null||i.remove()}setVisible(t){this.showRoads({type:"district",id:""}),this.subDistrictPointLayer.visible=t,this.subDistrictLineLayer.visible=t}async locateSubDistrict(t){const s=this.subDistrictPointLayer.createQuery();s.where=`subDistrictId = '${t}'`,s.returnGeometry=!0;const i=await this.subDistrictPointLayer.queryFeatures(s);return i.features.length>0?(await D.default.viewGoto(this.view,i.features,!1),{status:0,message:"ok"}):{status:1,message:"未找到子区"}}async highlightSubDistrict(t){let s="";const i=this.subDistrictPointLayer.definitionExpression;this.subDistrictPointLayer.definitionExpression=`subDistrictId = '${t.id}'`;const r=await this.subDistrictPointLayer.queryFeatures(),n=r.features.length;return n>0?(this.subDistrictLineLayer.definitionExpression=`subDistrictId = '${t.id}'`,s=r.features[0].attributes.districtId,await D.default.viewGoto(this.view,r.features,t.needZoom!==!1)):this.subDistrictPointLayer.definitionExpression=i,{count:n,parentId:s}}filter(t){const{type:s,id:i}=t,r=`${s==="district"?"districtId":"subDistrictId"} = '${i}'`;this.subDistrictPointLayer.definitionExpression=r,this.subDistrictLineLayer.definitionExpression=r}resetFilter(){this.subDistrictPointLayer.definitionExpression="1=1",this.subDistrictLineLayer.definitionExpression="1=1"}async viewHitTest(t){var r;const i=(r=(await this.view.hitTest(t,{include:[this.subDistrictPointLayer,this.subDistrictLineLayer]})).results)==null?void 0:r.filter(n=>n.type==="graphic");if(i.length===0)console.time("resetRenderer"),this.subDistrictPointLayer.renderer=this.currentPointRenderer,this.subDistrictLineLayer.renderer=this.currentLineRenderer;else{const n=i[0].graphic,e=n.attributes.color.split(",").map(Number);this.subDistrictPointLayer.renderer={type:"unique-value",field:"subDistrictId",defaultSymbol:{type:"simple-marker",style:"circle",color:[0,0,0,0],size:"8px",outline:{color:[180,180,180,.5],width:4}},defaultLabel:"其他子区",uniqueValueInfos:[{value:n.attributes.subDistrictId,symbol:{type:"simple-marker",style:"circle",color:[...e,.8],size:"8px",outline:{color:e,width:4}}}]},this.subDistrictLineLayer.renderer={type:"unique-value",field:"subDistrictId",defaultSymbol:{type:"simple-line",style:"solid",color:[180,180,180,.5],width:"8px"},defaultLabel:"其他子区",uniqueValueInfos:[{value:n.attributes.subDistrictId,symbol:{type:"simple-line",style:"solid",color:n.attributes.color.split(",").map(Number),width:"8px"}}]}}}}exports.default=P;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("@arcgis/core/Graphic"),n=require("@arcgis/core/layers/GraphicsLayer"),o=require("../common-utils.js");class h{constructor(e){this.view=e,this.signalSystemLayer=new n({title:"信控系统图层"}),this.view.map.add(this.signalSystemLayer)}async showSignalSystems(e){return e.areaList.forEach(s=>{this.showSystem(s)}),await o.default.viewGoto(this.view,this.signalSystemLayer.graphics.toArray()),{status:0,message:"success"}}async showSubSignalSystems(e){return e.areaList.forEach(s=>{this.showSubSystem(s)}),await o.default.viewGoto(this.view,this.signalSystemLayer.graphics.toArray()),{status:0,message:"success"}}removeSubSignalSystems(e){return e?this.signalSystemLayer.graphics.filter(s=>s.getAttribute("subCode")===e).forEach(s=>{this.signalSystemLayer.remove(s)}):this.signalSystemLayer.removeAll(),{status:0,message:"success"}}removeSignalSystems(e){return e?this.signalSystemLayer.graphics.filter(s=>s.getAttribute("areaCode")===e).forEach(s=>{this.signalSystemLayer.remove(s)}):this.signalSystemLayer.removeAll(),{status:0,message:"success"}}showSystem(e){if(e.shape){let s;if(typeof e.shape=="string"?s=JSON.parse(e.shape):s=e.shape,s){const t=new i({geometry:{type:"polyline",paths:[s]},symbol:e.lineSymbol||{type:"simple-line",style:"dash",color:[17,113,191],width:2},attributes:{areaCode:e.areaCode,type:"signal-system-border"}});this.signalSystemLayer.add(t)}}e.children.forEach(s=>{this.showSubSystem(s,e.areaCode)})}showSubSystem(e,s){if(e.subShape){let t;typeof e.subShape=="string"?t=JSON.parse(e.subShape):t=e.subShape;const a=t.map((r,l)=>new i({geometry:{type:"polyline",paths:[r]},symbol:e.roadSymbol||{type:"simple-line",color:[23,151,255],width:3},attributes:{type:"signal-sub-system",id:e.subAreaCode+"_"+l,subCode:e.subAreaCode,areaCode:s||""}}));this.signalSystemLayer.addMany(a)}if(e.children){const t=e.children.map(a=>new i({geometry:{type:"point",longitude:a.x,latitude:a.y},symbol:a.symbol||e.nodeSymbol||{type:"simple-marker",color:[23,151,255,.8],size:10,outline:{color:[23,151,255],width:2}},attributes:{...a,type:"signal-sub-system-node",subCode:e.subAreaCode,areaCode:s||""}}));this.signalSystemLayer.addMany(t)}}}exports.default=h;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const P=require("@arcgis/core/geometry/geometryEngine.js"),u=require("@arcgis/core/geometry/Polyline.js"),M=require("@arcgis/core/geometry/support/webMercatorUtils.js"),m=require("@arcgis/core/Graphic.js"),f=require("@arcgis/core/layers/GraphicsLayer"),b=require("@arcgis/core/widgets/Sketch"),L=require("@arcgis/core/widgets/Sketch/SketchViewModel"),D=require("@turf/turf");function g(d){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(d){for(const e in d)if(e!=="default"){const i=Object.getOwnPropertyDescriptor(d,e);Object.defineProperty(t,e,i.get?i:{enumerable:!0,get:()=>d[e]})}}return t.default=d,Object.freeze(t)}const w=g(P),p=g(M),h=g(D),k={maxAllowedGraphics:0,GraphicsLayer:{},sketchVisibleElements:{},sketchPosition:"top-left",defaultSketchVisible:!0,sketchViewModelItemSymbol:{}},G={type:"simple-line",color:"#556DEA",width:2},S={type:"simple-fill",color:[227,139,79,.4],outline:{color:[255,255,255],width:1}};class T{constructor(t,e){this.isDraw=!1,this.drawStartGraphicId=null,this.drawPointGraphic=new Map,this.dimensionType=null,this.viewer=t,this.options={...k,...e},this.graphicsLayer=new f({...this.options.GraphicsLayer}),this.textGraphicsLayer=new f,this.viewer.map.layers.add(this.graphicsLayer),this.viewer.map.layers.add(this.textGraphicsLayer),this.init()}init(){this.sketchViewModel=new L({layer:this.graphicsLayer,view:this.viewer,updateOnGraphicClick:!0,polylineSymbol:G,polygonSymbol:S,...this.options.sketchViewModelItemSymbol});const t=this.findLayerById("TrafficToolMarkings"),e=[];t&&e.push({layer:t,enabled:!0}),this.sketch=new b({view:this.viewer,viewModel:this.sketchViewModel,layer:this.graphicsLayer,visible:this.options.defaultSketchVisible,snappingOptions:{enabled:!0,featureSources:e}}),this.sketch.visibleElements={...this.options.sketchVisibleElements},this.viewer.ui.add(this.sketch,this.options.sketchPosition);const i=this;this.viewer.on("pointer-move",function(s){const r={x:s.x,y:s.y};if(i.isDraw&&i.dimensionType=="distance"){i.tipsDom||(i.tipsDom=i.createDom());const o=i.getDrawGraphicLength();i.tipsDom.innerText=`${o}米`,i.tipsDom.style.left=`${r.x}px`,i.tipsDom.style.top=`${r.y+3}px`,i.tipsDom.style.pointerEvents="none"}})}on(t){const e=this;this.sketch.on("create",function(i){e.onCreate(i,t)}),this.sketch.on("update",function(i){e.onUpdate(i,t)}),this.sketch.on("delete",function(i){e.onDelete(i,t)}),this.sketch.on("redo",function(i){console.log("redo",i),t&&t("redo","complete",i)}),this.sketch.on("undo",function(i){console.log("undo",i),t&&t("undo","complete",i)})}onCreate(t,e){if(console.log("create",t),this.drawStartGraphicId||(this.drawStartGraphicId=new Date().getTime().toString()),t.graphic.getAttribute("id")||(t.graphic.setAttribute("type","draw"),t.graphic.setAttribute("id",this.drawStartGraphicId)),t.state==="start"&&t.graphic.geometry.type==="polyline"&&(this.isDraw=!0,this.drawStartGraphic=p.webMercatorToGeographic(t.graphic.geometry),this.dimensionType=="distance")){const i=this.getGeometryXY(this.drawStartGraphic,0),s=`${this.drawStartGraphicId}-start`;this.addOrUpdateMarkPoint("起点",i,s)}if(t.state==="active"&&t.graphic.geometry.type==="polyline"){const i=p.webMercatorToGeographic(t.graphic.geometry),s=this.drawStartGraphicId;this.dimensionType=="distance"&&(this.drawPolylinePoint(i,s),this.drawStartGraphic=i)}if(t.state==="complete"&&t.graphic.geometry.type==="polyline"&&this.dimensionType=="distance"){const i=this.getDrawGraphicLength(),s=`${this.drawStartGraphicId}-end`,r=p.webMercatorToGeographic(t.graphic.geometry),o=r.paths[0],n=this.getGeometryXY(r,o.length-1);this.addOrUpdateMarkPoint(`总长度:${i}米`,n,s),this.drawStartGraphic=null,this.removeDom(),this.isDraw=!1,this.drawStartGraphicId=null}t.state==="cancel"&&t.graphic.geometry.type==="polyline"&&this.onCreateToCancel(),e&&e("create",t.state,t.graphic)}onCreateToCancel(){this.removeDom(),this.isDraw=!1,this.drawStartGraphic=null;const t=this.drawStartGraphicId;this.drawPointGraphic.forEach((e,i)=>{new RegExp(`^${t}-`).test(i)&&(this.textGraphicsLayer.remove(e),this.drawPointGraphic.delete(i))}),this.drawStartGraphicId=null}onUpdate(t,e){console.log("update",t),this.updatePolylinePoint(t.graphics.filter(i=>i.geometry.type==="polyline")),e&&e("update",t.state,t.graphics)}onDelete(t,e){console.log("delete",t),this.deletePolylinePoint(t.graphics.filter(i=>i.geometry.type==="polyline")),e&&e("delete","complete",t.graphics)}addPolyline(t){const e=[],i={type:"draw",id:new Date().getTime().toString()};t.map(s=>{e.push(this.createPolylineGraphic(s,G,{...i}))}),this.graphicsLayer.addMany(e)}createPolylineGraphic(t,e,i){const s=new u({paths:[t]}),r=p.geographicToWebMercator(s);return new m({geometry:r,symbol:e,attributes:i})}createDom(){const t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.width="100px",t.style.height="80px",t.style.zIndex="999",t.style.display="flex",t.style.justifyContent="center",t.style.alignItems="center",t.style.color="#fff",t.style.fontSize="20px",t.style.fontWeight="bold",t.innerText="";const e=document.getElementsByClassName("esri-view-root");if(e.length>0)return e[0].appendChild(t),t}removeDom(){this.tipsDom&&(this.tipsDom.remove(),this.tipsDom=null)}sketchCreate(t,e){this.sketchViewModel.create(t,e)}sketchCancel(){this.sketchViewModel.cancel()}getCalculateDistance(t="meters"){const e=[];return this.graphicsLayer.graphics.map(i=>{i.geometry.type==="polyline"&&e.push(this.calculateDistance(i.geometry,t))}),e}getCalculateHeading(t="north"){const e=[];return this.graphicsLayer.graphics.map(i=>{i.geometry.type==="polyline"&&e.push(this.calculateHeading(i.geometry,t))}),e}getAllPolylineGraphicPath(t="meters"){const e=[];return this.graphicsLayer.graphics.map(i=>{i.geometry.type==="polyline"&&e.push({paths:p.webMercatorToGeographic(i.geometry).paths[0],distance:this.calculateDistance(i.geometry,t)})}),e}close(){this.sketch.visible=!1}show(){this.sketch.visible=!0}removeAll(){this.graphicsLayer.removeAll(),this.textGraphicsLayer.removeAll(),this.drawPointGraphic.clear()}calculateDistance(t,e="meters"){return w.geodesicLength(t,e)}calculateHeading(t,e="north"){const s=p.webMercatorToGeographic(t).paths[0];return this.calculatePointHeading(s,e)}calculatePointHeading(t,e="north"){const i={longitude:t[0][0],latitude:t[0][1]},s={longitude:t[t.length-1][0],latitude:t[t.length-1][1]},r=i.longitude,o=i.latitude,n=s.longitude,a=s.latitude,c=n-r,y=Math.sin(c)*Math.cos(a),x=Math.cos(o)*Math.sin(a)-Math.sin(o)*Math.cos(a)*Math.cos(c);let l=(Math.atan2(y,x)*(180/Math.PI)+360)%360;return e==="east"?l=(l+90)%360:e==="south"?l=(l+180)%360:e==="west"&&(l=(l+270)%360),l}drawPolylinePoint(t,e,i="add"){const s=t==null?void 0:t.paths[0],r=[];for(let o=0;o<s.length-1;o++){const n=s[o];r.push([...n]);const a={x:n[0],y:n[1]};if(o==0){i=="update"&&this.addOrUpdateMarkPoint("起点",a,`${e}-start`);continue}const c=`${e}-${o+1}`,y=this.getPointLength(r,"meters");this.addOrUpdateMarkPoint(`${y.toFixed(2)}米`,a,c)}if(i=="update"&&s.length>1){const o=this.getGeometryXY(t,s.length-1);r.push([o.x,o.y]);const n=this.getPointLength(r,"meters");this.addOrUpdateMarkPoint(`总长度:${n.toFixed(2)}米`,o,`${e}-end`)}}updatePolylinePoint(t){for(let e=0;e<t.length;e++){console.log(t[e]);const i=t[e].getAttribute("id"),s=p.webMercatorToGeographic(t[e].geometry);this.drawPolylinePoint(s,i,"update")}}deletePolylinePoint(t){var e;for(let i=0;i<t.length;i++){const s=t[i].getAttribute("id"),r=`${s}-start`,o=`${s}-end`,n=[r,o];(e=t[i].geometry)==null||e.paths[0].map((a,c)=>{n.push(`${s}-${c+1}`)}),n.map(a=>{const c=this.drawPointGraphic.get(a);c&&(this.textGraphicsLayer.remove(c),this.drawPointGraphic.delete(a))})}}addOrUpdateMarkPoint(t,e,i,s={}){if(this.drawPointGraphic.has(i)){const o=this.drawPointGraphic.get(i);this.textGraphicsLayer.remove(o);const n=this.createTextGraphic(t,e,{...s,id:i});this.drawPointGraphic.set(i,n),this.textGraphicsLayer.add(n);return}const r=this.createTextGraphic(t,e,{...s,id:i});this.drawPointGraphic.set(i,r),this.textGraphicsLayer.add(r)}getGeometryXY(t,e=0){const i=t==null?void 0:t.paths[0];return{x:i[e][0],y:i[e][1]}}createTextGraphic(t,e,i={}){return new m({geometry:{type:"point",x:e.x,y:e.y},symbol:{type:"text",text:t,color:"white",haloColor:"black",haloSize:"1px",xoffset:3,yoffset:3},attributes:{...i}})}getDrawGraphicLength(){return this.drawStartGraphic?this.calculateDistance(this.drawStartGraphic,"meters").toFixed(2):0}getAngle(t,e){const i=e.x-t.x,s=e.y-t.y;return Math.atan2(s,i)*180/Math.PI}getBearing(t,e){return h.bearing(h.point([t.x,t.y]),h.point([e.x,e.y]))}getPointLength(t,e="meters"){const i=new u({paths:[t]});return w.geodesicLength(i,e)}featureCollection(t){const e=h.featureCollection(t.map(s=>h.point([s.x,s.y])));return h.center(e)}midpoint(t,e){return h.midpoint(h.point([t.x,t.y]),h.point([e.x,e.y]))}getDirection(t,e){const i=e.x-t.x,s=e.y-t.y,o=Math.atan2(s,i)*180/Math.PI;return o>=-45&&o<=45?0:o>45&&o<=135?1:o>135||o<=-135?2:3}findLayerById(t){return this.viewer.map.findLayerById(t)}turnOnLayerSnap(){this.sketchViewModel.snappingOptions.enabled=!0}turnOffLayerSnap(){this.sketchViewModel.snappingOptions.enabled=!1}setDimensionType(t){this.dimensionType=t}remove(t){this.graphicsLayer.remove(t)}destroy(){var t,e;this.viewer.map.remove(this.graphicsLayer),this.viewer.map.remove(this.textGraphicsLayer),(t=this.sketch)==null||t.destroy(),(e=this.sketchViewModel)==null||e.destroy()}}exports.default=T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),x=require("../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/Observable.js"),z=require("../stores/index.js"),E=require("./utils/ol-map-initializer.js"),I=require("./utils/signal-control/signal-cross-controller.js"),V={class:"gis-viewer"},B=t.defineComponent({__name:"gis-map-ol",props:{config:{},assetsRoot:{}},emits:["mapLoaded","markerClick","mapClick","update:zoom"],setup(C,{expose:d,emit:f}){const l=t.ref(null);let s,a,r=[],c=null;const u=e=>{if(!Number.isFinite(e))return;const n=Math.round(e);n!==c&&(c=n,i("update:zoom",n))};let o;t.onMounted(async()=>{z.registerStore();const e=t.getCurrentInstance(),{$gisviewerAssetsRoot:n}=e.appContext.config.globalProperties,p=await(await fetch(m.config)).json();p.assetsRoot=m.assetsRoot||n,s=new E.default,a=s.initialize({container:l.value,mapConfig:p,markerClickCallback:(_,b,Z,q)=>{i("markerClick",_,b,Z,q)}});const g=a.getView();r.push(g.on("change:resolution",()=>{u(g.getZoom())})),u(a.getView().getZoom()),i("mapLoaded")});const w=async e=>await s.setMapCenter(e),h=async e=>await s.setMapCamera(e),v=async e=>await s.setLayerVisibility(e),y=e=>s.setMapZoom({zoom:e}),M=e=>(o||(o=new I.default(a)),o.showSignalCross(e)),k=e=>o?o.changeShowName(e):{success:!1,message:"SignalCrossController未初始化"},S=()=>{o&&o.clearSignalCross()};t.onBeforeUnmount(()=>{r.forEach(e=>x.unByKey(e)),r=[]});const m=C,i=f;return d({setMapCenter:w,setMapCamera:h,setMapZoom:y,setLayerVisibility:v,showSignalCross:M,clearSignalCross:S,changeSignalCrossShowName:k}),(e,n)=>(t.openBlock(),t.createElementBlock("div",V,[t.createElementVNode("div",{id:"divCMap",class:"gis-viewer-main",ref_key:"mapContainer",ref:l},null,512)]))}});exports.default=B;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./gis-map-ol.vue.js");require("./gis-map-ol.vue2.js");exports.default=e.default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("@easyest/utils"),u=require("./gis-map-ol.vue.js");require("./gis-map-ol.vue2.js");const e=t.withInstall(u.default);exports.GisMapOl=e;exports.default=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Tile.js"),u=require("../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/Map.js");require("../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/ol.css.js");require("../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj.js");const m=require("../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/tilegrid/TileGrid.js"),h=require("../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/tilegrid/WMTS.js"),l=require("../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/View.js"),d=require("../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/WMTS.js"),p=require("../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/proj/Projection.js"),f=require("../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/TileWMS.js");class g{constructor(){this.mapConfig={}}initialize(e){return this.mapConfig=e.mapConfig||{},this.markerClick=e.markerClickCallback,this.map=this.createMap(e.container),this.mapConfig.baseLayers&&this.loadLayers(this.mapConfig.baseLayers),this.map}processUrl(e){return e&&(e.startsWith("http://")||e.startsWith("https://")?e:e.startsWith("{{")?e.replace("{{geoServer}}",this.mapConfig.geoServer):this.mapConfig.assetsRoot+e)}loadLayers(e){if(!this.map)return;const i=1/0,r=16384;e.forEach(t=>{var a,o;(a=t.source)!=null&&a.url&&(t.source.url=this.processUrl(t.source.url));let s;switch(t.type){case"gwc-wms":{s=new n.default({preload:i,cacheSize:r,source:new f.default({...t.source,tileGrid:new m.default({...t.source.tileGrid})}),...t.options});break}case"wmts":{s=new n.default({preload:i,cacheSize:r,source:new d.default({...t.source,tileGrid:new h.default({...t.source.tileGrid}),projection:new p.default({code:t.source.projection||"EPSG:4326"})}),...t.options});break}}s&&(s.set("id",t.id),(o=this.map)==null||o.addLayer(s))})}createMap(e){const i=this.mapConfig.view;this.mapView=new l.default({...i}),this.mapConfig.camera?this.mapConfig.camera.home=i:this.mapConfig.camera={home:i};const r=new u.default({target:e,view:this.mapView});return r.on("pointermove",t=>{if(t.dragging)return;const s=r.hasFeatureAtPixel(t.pixel),a=r.getTargetElement();a&&(a.style.cursor=s?"pointer":"")}),r.on("click",t=>{const s=r.forEachFeatureAtPixel(t.pixel,a=>a);if(s&&this.markerClick){const a=s.get("type")??"",o=s.get("id")??"",c=s.getProperties();this.markerClick(a,o,c,t)}}),r}async setMapCenter(e){return this.map?new Promise(i=>{e.duration&&e.duration>0?this.mapView.animate({center:e.center||this.mapView.getCenter(),zoom:e.zoom||this.mapView.getZoom(),duration:e.duration*1e3},()=>{i({status:0,message:"成功"})}):(e.zoom&&this.mapView.setZoom(e.zoom),e.center&&this.mapView.setCenter(e.center),i({status:0,message:"成功"}))}):{status:-1,message:"地图未初始化"}}setMapZoom(e){return this.map?(this.mapView.setZoom(e.zoom),{status:0,message:"成功"}):{status:-1,message:"地图未初始化"}}async setMapCamera(e){if(!this.map)return{status:-1,message:"地图未初始化"};const i=this.mapConfig.camera[e.name];return i?await this.setMapCenter({center:i.center,zoom:e.zoom||i.zoom,duration:e.duration||0}):{status:-1,message:`未找到名称为 ${e.name} 的相机视图`}}async setLayerVisibility(e){const i=this.map.getLayers().getArray().find(r=>r.get("id")===e.id);return i?(i.setVisible(e.visible),{status:0,message:"成功"}):{status:-1,message:`未找到ID为 ${e.id} 的图层`}}}exports.default=g;
|
package/lib/packages/components/src/gis-map-ol/utils/signal-control/signal-cross-controller.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const N=require("../../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/Feature.js"),v=require("../../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/geom/Point.js"),X=require("../../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/layer/Vector.js"),E=require("../../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/Observable.js"),Y=require("../../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/source/Vector.js"),V=require("../../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Circle.js"),m=require("../../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Fill.js"),F=require("../../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Icon.js"),b=require("../../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Stroke.js"),f=require("../../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Style.js"),K=require("../../../../../../node_modules/.pnpm/ol@10.7.0/node_modules/ol/style/Text.js");class k{constructor(e){this.showName="detail",this.showStyle="scatter",this.viewChangeKey=null,this.mapMoveKey=null,this.resolutionChangeTimeout=null,this.clusterRadius=120,this.minClusterPoints=2,this.maxClusterSymbolSize=50,this.minClusterSymbolSize=25,this.clusteredLocations=[],this.locations=[],this.map=e,this.view=e.getView(),this.source=new Y.default,this.crossLayer=new X.default({source:this.source}),this.crossLayer.set("id","signal-control-cross-layer"),this.map.addLayer(this.crossLayer),this.configureVectorLayerStyle()}showSignalCross(e){if(this.source.clear(),this.showName=e.showName||"detail",this.showStyle=e.style||"scatter",this.viewChangeKey||(this.viewChangeKey=this.view.on("change:resolution",()=>{this.showStyle==="cluster"&&(this.resolutionChangeTimeout&&clearTimeout(this.resolutionChangeTimeout),this.resolutionChangeTimeout=setTimeout(()=>{this.calculateCluster(),this.resolutionChangeTimeout=null},150))})),this.mapMoveKey||(this.mapMoveKey=this.map.on("moveend",()=>{this.showStyle==="cluster"&&this.calculateCluster()})),this.showStyle==="scatter"){const s=[],n=[];e.points.forEach(t=>{const o=this.createCrossFeature(t);t.isMalfunction===!0||t.isOnline===!1?n.push(o):s.push(o)}),this.source.addFeatures(s),this.source.addFeatures(n),this.crossLayer.changed()}else this.locations=e.points.map(s=>({id:s.crossId,x:s.x,y:s.y,visited:!1,clusterId:void 0,properties:s})),this.calculateCluster();return{status:0,message:"success"}}calculateCluster(){console.time("cluster"),this.locationToScreen();const e=this.doPixelCluster(this.clusterRadius);this.showClusterResult(e),console.timeEnd("cluster")}clearSignalCross(){this.source.clear(),this.viewChangeKey&&(E.unByKey(this.viewChangeKey),this.viewChangeKey=null),this.mapMoveKey&&(E.unByKey(this.mapMoveKey),this.mapMoveKey=null),this.resolutionChangeTimeout&&(clearTimeout(this.resolutionChangeTimeout),this.resolutionChangeTimeout=null)}changeShowName(e){this.showName=e,this.showStyle==="scatter"&&this.updateScatterSymbol()}updateScatterSymbol(){this.crossLayer.changed()}configureVectorLayerStyle(){const r=this.map.getView(),w=r.getResolutionForZoom(13),S=r.getResolutionForZoom(15),C=r.getResolutionForZoom(17),p=(i,c,l)=>`/GisViewerAssets/Images/cross/ic_${(i??"gc").toLowerCase()==="scats"?"scats":"gc"}_${c===!1?"offline":"online"}_${l?"malfunction":"normal"}.png`,u=new Map,h=new Map,O=new WeakMap,I=new Map,M={gc:"#86efac",scats:"#16a34a"},z=new b.default({color:"#ffffff",width:1.5}),R=(i,c)=>{const l=M[i]?i:"gc",a=I.get(l);if(a)return a;const d=[new f.default({image:new V.default({radius:c>w?3:8,fill:new m.default({color:M[l]}),stroke:z}),zIndex:1})];return I.set(l,d),d},q=new m.default({color:"#1f2937"}),P=new b.default({color:"#ffffff",width:3}),x=i=>{const c=u.get(i);if(c)return c;const l=new f.default({image:new F.default({src:i,scale:.5,anchor:[.5,1],anchorXUnits:"fraction",anchorYUnits:"fraction"}),zIndex:1});return u.set(i,l),l},Z=i=>{const c=h.get(i);if(c)return c;const l=[x(i)];return h.set(i,l),l};this.crossLayer.setStyle((i,c)=>{if((i.get("type")??"")==="signal-cluster")return this.getClusterStyle(i.getProperties());const a=this.showName==="crossName"?i.get("name"):this.showName==="signalId"?i.get("signalId"):`${i.get("name")}(${i.get("signalId")})`,d=i.get("brand")??"gc",L=i.get("isOnline"),T=i.get("isMalfunction"),g=p(d,L,T);if(c>S)return R(d,c);if(c>C)return Z(g);const y=O.get(i);if(y&&y.label===a&&y.iconKey===g)return y.styles;const A=x(g),B=new f.default({text:new K.default({text:a,font:'12px "Microsoft YaHei"',textAlign:"center",textBaseline:"bottom",offsetY:-28,fill:q,stroke:P}),zIndex:2}),_=[A,B];return O.set(i,{label:a,iconKey:g,styles:_}),_})}createCrossFeature(e){return e.brand=e.brand.toLowerCase(),new N.default({geometry:new v.default([e.x,e.y]),type:"signal-cross",id:e.crossId,brandLabel:this.getBrandLabel(e.brand),isOnlineLabel:this.getOnlineLabel(e.isOnline),isMalfunctionLabel:this.getMalfunctionLabel(e.isMalfunction),...e})}getClusterStyle(e){const s=e.clusterSymbolSize,n=new F.default({src:"/GisViewerAssets/Images/cross/gis_xhj_blue.png",scale:s/32}),t=-(s+10),o=new K.default({text:String(e.count??0),font:"16px sans-serif",fill:new m.default({color:[255,255,255,255]}),backgroundFill:new m.default({color:[2,72,200,255]}),backgroundStroke:new b.default({color:[2,72,200,128],width:2}),padding:[3,6,3,6],offsetY:t,textAlign:"center"});return[new f.default({image:n}),new f.default({text:o})]}getBrandLabel(e){const s=(e??"").toLowerCase();return s==="scats"?"SCATS":s==="gc"?"国产":e??""}getOnlineLabel(e){return e?"在线":"离线"}getMalfunctionLabel(e){return e?"故障":"正常"}locationToScreen(){this.clusteredLocations=[],this.locations.forEach(e=>{const s=this.map.getPixelFromCoordinate([e.x,e.y]),[n,t]=s||[NaN,NaN];Number.isFinite(n)&&Number.isFinite(t)&&n>0&&t>0&&(e.properties=e.properties||{},e.properties.screenX=n,e.properties.screenY=t,e.visited=!1,e.clusterId=void 0,this.clusteredLocations.push(e))})}doPixelCluster(e){let s=0;for(let n=0;n<this.clusteredLocations.length;n++){const t=this.clusteredLocations[n];if(t.visited)continue;t.visited=!0;const o=this.getNeighbors(t,e);o.length<this.minClusterPoints?t.clusterId=-1:(o.forEach(r=>{r.visited=!0,r.clusterId=s}),t.clusterId=s,s++)}return this.createClusters()}getNeighbors(e,s){return this.clusteredLocations.filter(n=>n.id===e.id||n.visited?!1:this.getDistance(e,n)<=s)}getDistance(e,s){var n,t,o,r;return Math.sqrt(Math.pow((((n=e.properties)==null?void 0:n.screenX)??0)-(((t=s.properties)==null?void 0:t.screenX)??0),2)+Math.pow((((o=e.properties)==null?void 0:o.screenY)??0)-(((r=s.properties)==null?void 0:r.screenY)??0),2))}createClusters(){const e={},s=[];for(const t of this.clusteredLocations)t.clusterId===void 0||t.clusterId===-1?s.push(t):(e[t.clusterId]||(e[t.clusterId]=[]),e[t.clusterId].push(t));const n=Object.keys(e).map(t=>{const o=e[Number(t)],r=o.length,w=o.reduce((u,h)=>u+h.x,0),S=o.reduce((u,h)=>u+h.y,0),C=w/r,p=S/r;return{id:Number(t),items:o,count:r,center:{x:C,y:p}}});return s.length>0&&n.push({id:-1,items:s,count:s.length,center:null}),n}showClusterResult(e){this.source.clear();let s=Number.MIN_VALUE,n=Number.MAX_VALUE;e.forEach(t=>{t.count>1&&(n=Math.min(n,t.count),s=Math.max(s,t.count))}),e.forEach(t=>{if(t.id!==-1&&t.center){let o=n===s?(this.maxClusterSymbolSize+this.minClusterSymbolSize)/2:this.minClusterSymbolSize+(t.count-n)/(s-n)*(this.maxClusterSymbolSize-this.minClusterSymbolSize);o*=.75;const r=new N.default({geometry:new v.default([t.center.x,t.center.y]),type:"signal-cluster",count:t.count,clusterSymbolSize:o});this.source.addFeature(r)}else t.items.forEach(o=>{const r=this.createCrossFeature({...o.properties,x:o.x,y:o.y});this.source.addFeature(r)})}),this.crossLayer.changed()}}exports.default=k;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./gis-map/index.js"),i=require("./gis-map-ol/index.js");exports.GisMap=e.GisMap;exports.GisMapOl=i.GisMapOl;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var o=(r=>(r.West="1",r.North="2",r.East="3",r.South="4",r))(o||{}),u=(r=>(r[r.None=0]="None",r[r.PlateNumber=1]="PlateNumber",r[r.Id=2]="Id",r[r.Mix=3]="Mix",r))(u||{});exports.EVehiclePlateState=u;exports.QuadrantCode=o;
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
displayMode: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
flash: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
crossId: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
roadId: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
mapPoint: {
|
|
19
|
-
type: ArrayConstructor;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
stopLine: {
|
|
23
|
-
type: ArrayConstructor;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
scale: {
|
|
27
|
-
type: NumberConstructor;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
position: {
|
|
31
|
-
type: ObjectConstructor;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
rotation: {
|
|
35
|
-
type: NumberConstructor;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
lampStatus: {
|
|
39
|
-
type: ObjectConstructor;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
}, {
|
|
43
|
-
colors: string[];
|
|
44
|
-
props: any;
|
|
45
|
-
panelStyle: import("vue").ComputedRef<{
|
|
46
|
-
top: string;
|
|
47
|
-
left: string;
|
|
48
|
-
'transform-origin': string;
|
|
49
|
-
transform: string;
|
|
50
|
-
}>;
|
|
51
|
-
blImage: import("vue").ComputedRef<string>;
|
|
52
|
-
blNumberStyle: import("vue").ComputedRef<any>;
|
|
53
|
-
blLampStyle: import("vue").ComputedRef<{
|
|
54
|
-
display: string;
|
|
55
|
-
animation: string;
|
|
56
|
-
}>;
|
|
57
|
-
uImage: import("vue").ComputedRef<string>;
|
|
58
|
-
uNumberStyle: import("vue").ComputedRef<any>;
|
|
59
|
-
uLampStyle: import("vue").ComputedRef<{
|
|
60
|
-
display: string;
|
|
61
|
-
animation: string;
|
|
62
|
-
}>;
|
|
63
|
-
lImage: import("vue").ComputedRef<string>;
|
|
64
|
-
lNumberStyle: import("vue").ComputedRef<any>;
|
|
65
|
-
lLampStyle: import("vue").ComputedRef<{
|
|
66
|
-
display: string;
|
|
67
|
-
animation: string;
|
|
68
|
-
}>;
|
|
69
|
-
sImage: import("vue").ComputedRef<string>;
|
|
70
|
-
sNumberStyle: import("vue").ComputedRef<any>;
|
|
71
|
-
sLampStyle: import("vue").ComputedRef<{
|
|
72
|
-
display: string;
|
|
73
|
-
animation: string;
|
|
74
|
-
}>;
|
|
75
|
-
rImage: import("vue").ComputedRef<string>;
|
|
76
|
-
rNumberStyle: import("vue").ComputedRef<any>;
|
|
77
|
-
rLampStyle: import("vue").ComputedRef<{
|
|
78
|
-
display: string;
|
|
79
|
-
animation: string;
|
|
80
|
-
}>;
|
|
81
|
-
getColorString: (color: string | undefined) => "red" | "rgb(255, 192, 2)" | "lime" | "white";
|
|
82
|
-
getNumberStyle: (color: string | undefined) => any;
|
|
83
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
|
-
displayMode: {
|
|
85
|
-
type: StringConstructor;
|
|
86
|
-
required: true;
|
|
87
|
-
};
|
|
88
|
-
flash: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
required: true;
|
|
91
|
-
};
|
|
92
|
-
crossId: {
|
|
93
|
-
type: StringConstructor;
|
|
94
|
-
required: true;
|
|
95
|
-
};
|
|
96
|
-
roadId: {
|
|
97
|
-
type: StringConstructor;
|
|
98
|
-
required: true;
|
|
99
|
-
};
|
|
100
|
-
mapPoint: {
|
|
101
|
-
type: ArrayConstructor;
|
|
102
|
-
required: true;
|
|
103
|
-
};
|
|
104
|
-
stopLine: {
|
|
105
|
-
type: ArrayConstructor;
|
|
106
|
-
required: true;
|
|
107
|
-
};
|
|
108
|
-
scale: {
|
|
109
|
-
type: NumberConstructor;
|
|
110
|
-
required: true;
|
|
111
|
-
};
|
|
112
|
-
position: {
|
|
113
|
-
type: ObjectConstructor;
|
|
114
|
-
required: true;
|
|
115
|
-
};
|
|
116
|
-
rotation: {
|
|
117
|
-
type: NumberConstructor;
|
|
118
|
-
required: true;
|
|
119
|
-
};
|
|
120
|
-
lampStatus: {
|
|
121
|
-
type: ObjectConstructor;
|
|
122
|
-
required: true;
|
|
123
|
-
};
|
|
124
|
-
}>>, {}, {}>;
|
|
125
|
-
export default _sfc_main;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { default as OlMap } from 'ol/Map';
|
|
2
|
-
import type { EventsKey } from 'ol/events';
|
|
3
|
-
import { ILayerVisibleParams, ISetMapCameraParams, ISetMapCenterParams, IShowSignalCrossParams } from '../types';
|
|
4
|
-
import OlMapInitializer from './utils/ol-map-initializer';
|
|
5
|
-
import SignalCrossController from './utils/signal-control/signal-cross-controller';
|
|
6
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
7
|
-
config: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
assetsRoot: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
required: false;
|
|
14
|
-
};
|
|
15
|
-
}, {
|
|
16
|
-
mapContainer: import("vue").Ref<any>;
|
|
17
|
-
mapInitializer: OlMapInitializer;
|
|
18
|
-
map: OlMap;
|
|
19
|
-
viewEventKeys: EventsKey[];
|
|
20
|
-
lastEmittedZoomInt: number | null;
|
|
21
|
-
emitZoomIfChanged: (z: number) => void;
|
|
22
|
-
signalCrossController: SignalCrossController;
|
|
23
|
-
setMapCenter: (params: ISetMapCenterParams) => Promise<import("../types").IResult>;
|
|
24
|
-
setMapCamera: (params: ISetMapCameraParams) => Promise<import("../types").IResult>;
|
|
25
|
-
setLayerVisibility: (params: ILayerVisibleParams) => Promise<import("../types").IResult>;
|
|
26
|
-
setMapZoom: (zoom: number) => import("../types").IResult;
|
|
27
|
-
showSignalCross: (params: IShowSignalCrossParams) => import("../types").IResult;
|
|
28
|
-
changeSignalCrossShowName: (showName: 'detail' | 'crossName' | 'signalId') => void | {
|
|
29
|
-
success: boolean;
|
|
30
|
-
message: string;
|
|
31
|
-
};
|
|
32
|
-
clearSignalCross: () => void;
|
|
33
|
-
props: any;
|
|
34
|
-
emit: (event: "mapLoaded" | "markerClick" | "mapClick" | "update:zoom", ...args: any[]) => void;
|
|
35
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("mapLoaded" | "markerClick" | "mapClick" | "update:zoom")[], "mapLoaded" | "markerClick" | "mapClick" | "update:zoom", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
-
config: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
assetsRoot: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
required: false;
|
|
43
|
-
};
|
|
44
|
-
}>> & {
|
|
45
|
-
onMapLoaded?: ((...args: any[]) => any) | undefined;
|
|
46
|
-
onMarkerClick?: ((...args: any[]) => any) | undefined;
|
|
47
|
-
onMapClick?: ((...args: any[]) => any) | undefined;
|
|
48
|
-
"onUpdate:zoom"?: ((...args: any[]) => any) | undefined;
|
|
49
|
-
}, {}, {}>;
|
|
50
|
-
export default _sfc_main;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { default as OlMap } from 'ol/Map';
|
|
2
|
-
import { ILayerVisibleParams, IMapInitializerParams, IResult, ISetMapCameraParams, ISetMapCenterParams } from '../../types';
|
|
3
|
-
export default class OlMapInitializer {
|
|
4
|
-
private mapConfig;
|
|
5
|
-
private map;
|
|
6
|
-
private mapView;
|
|
7
|
-
private markerClick;
|
|
8
|
-
initialize(params: IMapInitializerParams): OlMap;
|
|
9
|
-
private processUrl;
|
|
10
|
-
private loadLayers;
|
|
11
|
-
private createMap;
|
|
12
|
-
/**
|
|
13
|
-
* 设置地图中心点和缩放级别
|
|
14
|
-
* @param params
|
|
15
|
-
* @returns
|
|
16
|
-
*/
|
|
17
|
-
setMapCenter(params: ISetMapCenterParams): Promise<IResult>;
|
|
18
|
-
setMapZoom(params: {
|
|
19
|
-
zoom: number;
|
|
20
|
-
}): IResult;
|
|
21
|
-
/**
|
|
22
|
-
* 设置地图预存的相机视图
|
|
23
|
-
* @param params
|
|
24
|
-
* @returns
|
|
25
|
-
*/
|
|
26
|
-
setMapCamera(params: ISetMapCameraParams): Promise<IResult>;
|
|
27
|
-
setLayerVisibility(params: ILayerVisibleParams): Promise<IResult>;
|
|
28
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { default as OlMap } from 'ol/Map';
|
|
2
|
-
import { IResult, IShowSignalCrossParams } from '../../../types';
|
|
3
|
-
export default class SignalCrossController {
|
|
4
|
-
private map;
|
|
5
|
-
private crossLayer;
|
|
6
|
-
private source;
|
|
7
|
-
private view;
|
|
8
|
-
private showName;
|
|
9
|
-
private showStyle;
|
|
10
|
-
private viewChangeKey;
|
|
11
|
-
private mapMoveKey;
|
|
12
|
-
private resolutionChangeTimeout;
|
|
13
|
-
private readonly clusterRadius;
|
|
14
|
-
private readonly minClusterPoints;
|
|
15
|
-
private readonly maxClusterSymbolSize;
|
|
16
|
-
private readonly minClusterSymbolSize;
|
|
17
|
-
private clusteredLocations;
|
|
18
|
-
private locations;
|
|
19
|
-
constructor(map: OlMap);
|
|
20
|
-
showSignalCross(params: IShowSignalCrossParams): IResult;
|
|
21
|
-
private calculateCluster;
|
|
22
|
-
clearSignalCross(): void;
|
|
23
|
-
changeShowName(showName: string): void;
|
|
24
|
-
private updateScatterSymbol;
|
|
25
|
-
/**
|
|
26
|
-
* 配置矢量图层样式:复用 Icon,并为不同 feature 渲染不同 Text。
|
|
27
|
-
* - 使用 resolution 判断是否显示文字(在指定缩放级别后才显示)
|
|
28
|
-
* - 使用缓存避免每次渲染都创建新的 Style/Icon/数组对象
|
|
29
|
-
*/
|
|
30
|
-
private configureVectorLayerStyle;
|
|
31
|
-
private createCrossFeature;
|
|
32
|
-
private getClusterStyle;
|
|
33
|
-
private getBrandLabel;
|
|
34
|
-
private getOnlineLabel;
|
|
35
|
-
private getMalfunctionLabel;
|
|
36
|
-
private locationToScreen;
|
|
37
|
-
private doPixelCluster;
|
|
38
|
-
private getNeighbors;
|
|
39
|
-
private getDistance;
|
|
40
|
-
private createClusters;
|
|
41
|
-
private showClusterResult;
|
|
42
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|