@artstesh/maps 5.1.8 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -13
- package/dist/README.md +24 -24
- package/dist/esm2022/map/common/destructible.component.mjs +18 -18
- package/dist/esm2022/map/common/id.generator.mjs +14 -14
- package/dist/esm2022/map/helpers/index.mjs +4 -4
- package/dist/esm2022/map/helpers/marker-style.helper.mjs +54 -54
- package/dist/esm2022/map/helpers/polygon-style.helper.mjs +53 -53
- package/dist/esm2022/map/helpers/stringify-feature.helper.mjs +61 -61
- package/dist/esm2022/map/helpers/text-style.helper.mjs +24 -24
- package/dist/esm2022/map/map-plate/controls/index.mjs +2 -2
- package/dist/esm2022/map/map-plate/controls/map-control-zoom/map-control-zoom.component.mjs +69 -69
- package/dist/esm2022/map/map-plate/controls/map-control-zoom/zoom-control.factory.mjs +12 -12
- package/dist/esm2022/map/map-plate/controls/map-control-zoom/zoom-control.settings.mjs +115 -115
- package/dist/esm2022/map/map-plate/features/index.mjs +2 -2
- package/dist/esm2022/map/map-plate/features/markers/markers.component.mjs +52 -52
- package/dist/esm2022/map/map-plate/features/polygons/polygons.component.mjs +52 -52
- package/dist/esm2022/map/map-plate/layers/cluster-layer/cluster-layer-factory.service.mjs +59 -59
- package/dist/esm2022/map/map-plate/layers/cluster-layer/cluster-layer.component.mjs +60 -60
- package/dist/esm2022/map/map-plate/layers/cluster-layer/cluster-layer.manager.mjs +38 -38
- package/dist/esm2022/map/map-plate/layers/cluster-layer/cluster-layer.settings.mjs +144 -144
- package/dist/esm2022/map/map-plate/layers/feature-layer/feature-layer.component.mjs +52 -52
- package/dist/esm2022/map/map-plate/layers/feature-layer/feature-layer.factory.mjs +28 -28
- package/dist/esm2022/map/map-plate/layers/feature-layer/feature-layer.settings.mjs +111 -111
- package/dist/esm2022/map/map-plate/layers/index.mjs +7 -7
- package/dist/esm2022/map/map-plate/layers/osm-tile-layer/osm-tile-layer.component.mjs +57 -57
- package/dist/esm2022/map/map-plate/layers/tile-layer/tile-layer.component.mjs +52 -52
- package/dist/esm2022/map/map-plate/layers/tile-layer/tile-layer.factory.mjs +50 -50
- package/dist/esm2022/map/map-plate/layers/tile-layer/tile-layer.settings.mjs +119 -119
- package/dist/esm2022/map/map-plate/map-plate.component.mjs +102 -102
- package/dist/esm2022/map/map-plate/map-plate.factory.service.mjs +27 -27
- package/dist/esm2022/map/map-plate/tooltips/index.mjs +2 -2
- package/dist/esm2022/map/map-plate/tooltips/tooltip/tooltip.component.mjs +81 -81
- package/dist/esm2022/map/map-plate/tooltips/tooltip/tooltip.settings.mjs +30 -30
- package/dist/esm2022/map/map.module.mjs +63 -63
- package/dist/esm2022/map/messages/commands/add-control.command.mjs +12 -12
- package/dist/esm2022/map/messages/commands/add-layer.command.mjs +12 -12
- package/dist/esm2022/map/messages/commands/add-tile.command.mjs +12 -12
- package/dist/esm2022/map/messages/commands/cancel-drawing.command.mjs +7 -7
- package/dist/esm2022/map/messages/commands/cancel-feature-modification.command.mjs +7 -7
- package/dist/esm2022/map/messages/commands/close-tooltip.command.mjs +12 -12
- package/dist/esm2022/map/messages/commands/draw-selection-area.command.mjs +16 -16
- package/dist/esm2022/map/messages/commands/fit-to-features.command.mjs +14 -14
- package/dist/esm2022/map/messages/commands/fit-to-polygons.command.mjs +14 -14
- package/dist/esm2022/map/messages/commands/modify-feature.command.mjs +17 -17
- package/dist/esm2022/map/messages/commands/place-layer-features.command.mjs +14 -14
- package/dist/esm2022/map/messages/commands/remove-control.command.mjs +12 -12
- package/dist/esm2022/map/messages/commands/remove-layer.command.mjs +12 -12
- package/dist/esm2022/map/messages/commands/remove-tile.command.mjs +12 -12
- package/dist/esm2022/map/messages/commands/set-map-center.command.mjs +25 -25
- package/dist/esm2022/map/messages/commands/start-drawing.command.mjs +17 -17
- package/dist/esm2022/map/messages/events/drawing-finished.event.mjs +10 -10
- package/dist/esm2022/map/messages/events/map-click.event.mjs +16 -16
- package/dist/esm2022/map/messages/events/map-move-end.event.mjs +14 -14
- package/dist/esm2022/map/messages/events/map-rendered.event.mjs +12 -12
- package/dist/esm2022/map/messages/executors/calculate-area.executor.mjs +12 -12
- package/dist/esm2022/map/messages/executors/filter-features-in-area.executor.mjs +14 -14
- package/dist/esm2022/map/messages/executors/generate-draw.executor.mjs +16 -16
- package/dist/esm2022/map/messages/executors/generate-zoom-control.executor.mjs +12 -12
- package/dist/esm2022/map/messages/index.mjs +14 -14
- package/dist/esm2022/map/messages/queries/get-features-in-area.query.mjs +14 -14
- package/dist/esm2022/map/messages/queries/get-layer.query.mjs +12 -12
- package/dist/esm2022/map/models/drawing-type.enum.mjs +7 -7
- package/dist/esm2022/map/models/feature-format.enum.mjs +5 -5
- package/dist/esm2022/map/models/i-identified.mjs +1 -1
- package/dist/esm2022/map/models/index.mjs +7 -7
- package/dist/esm2022/map/models/map-control.mjs +14 -14
- package/dist/esm2022/map/models/map-lyrs.enum.mjs +18 -18
- package/dist/esm2022/map/models/map-settings.mjs +50 -50
- package/dist/esm2022/map/models/map.constants.mjs +4 -4
- package/dist/esm2022/map/models/marker-model.mjs +28 -28
- package/dist/esm2022/map/models/polygon.model.mjs +32 -32
- package/dist/esm2022/map/public-api.mjs +15 -15
- package/dist/esm2022/map/services/controls/controls.service.mjs +39 -39
- package/dist/esm2022/map/services/drawing/drawing-generation.service.mjs +25 -25
- package/dist/esm2022/map/services/drawing/drawing.service.mjs +101 -101
- package/dist/esm2022/map/services/drawing/feature-modification.service.mjs +103 -103
- package/dist/esm2022/map/services/feature.service.mjs +21 -21
- package/dist/esm2022/map/services/map-click.service.mjs +55 -55
- package/dist/esm2022/map/services/map-feature.service.mjs +55 -55
- package/dist/esm2022/map/services/map-management.service.mjs +103 -103
- package/dist/esm2022/map/services/map-postboy.service.mjs +18 -18
- package/dist/esm2022/map/services/map-state.service.mjs +42 -42
- package/dist/esm2022/map/services/message-registrator.service.mjs +82 -82
- package/dist/esm2022/maps-components.mjs +4 -4
- package/dist/esm2022/public-api.mjs +4 -4
- package/dist/esm2022/src/map/common/destructible.component.mjs +18 -18
- package/dist/esm2022/src/map/common/id.generator.mjs +14 -14
- package/dist/esm2022/src/map/helpers/index.mjs +4 -4
- package/dist/esm2022/src/map/helpers/marker-style.helper.mjs +54 -54
- package/dist/esm2022/src/map/helpers/polygon-style.helper.mjs +53 -53
- package/dist/esm2022/src/map/helpers/stringify-feature.helper.mjs +61 -61
- package/dist/esm2022/src/map/helpers/text-style.helper.mjs +24 -24
- package/dist/esm2022/src/map/map-plate/controls/index.mjs +2 -2
- package/dist/esm2022/src/map/map-plate/controls/map-control-zoom/map-control-zoom.component.mjs +69 -69
- package/dist/esm2022/src/map/map-plate/controls/map-control-zoom/zoom-control.factory.mjs +12 -12
- package/dist/esm2022/src/map/map-plate/controls/map-control-zoom/zoom-control.settings.mjs +115 -115
- package/dist/esm2022/src/map/map-plate/features/index.mjs +2 -2
- package/dist/esm2022/src/map/map-plate/features/markers/markers.component.mjs +52 -52
- package/dist/esm2022/src/map/map-plate/features/polygons/polygons.component.mjs +52 -52
- package/dist/esm2022/src/map/map-plate/layers/cluster-layer/cluster-layer-factory.service.mjs +59 -59
- package/dist/esm2022/src/map/map-plate/layers/cluster-layer/cluster-layer.component.mjs +60 -60
- package/dist/esm2022/src/map/map-plate/layers/cluster-layer/cluster-layer.manager.mjs +38 -38
- package/dist/esm2022/src/map/map-plate/layers/cluster-layer/cluster-layer.settings.mjs +144 -144
- package/dist/esm2022/src/map/map-plate/layers/feature-layer/feature-layer.component.mjs +52 -52
- package/dist/esm2022/src/map/map-plate/layers/feature-layer/feature-layer.factory.mjs +28 -28
- package/dist/esm2022/src/map/map-plate/layers/feature-layer/feature-layer.settings.mjs +111 -111
- package/dist/esm2022/src/map/map-plate/layers/index.mjs +7 -7
- package/dist/esm2022/src/map/map-plate/layers/osm-tile-layer/osm-tile-layer.component.mjs +57 -57
- package/dist/esm2022/src/map/map-plate/layers/tile-layer/tile-layer.component.mjs +52 -52
- package/dist/esm2022/src/map/map-plate/layers/tile-layer/tile-layer.factory.mjs +50 -50
- package/dist/esm2022/src/map/map-plate/layers/tile-layer/tile-layer.settings.mjs +119 -119
- package/dist/esm2022/src/map/map-plate/map-plate.component.mjs +102 -102
- package/dist/esm2022/src/map/map-plate/map-plate.factory.service.mjs +27 -27
- package/dist/esm2022/src/map/map-plate/tooltips/index.mjs +2 -2
- package/dist/esm2022/src/map/map-plate/tooltips/tooltip/tooltip.component.mjs +81 -81
- package/dist/esm2022/src/map/map-plate/tooltips/tooltip/tooltip.settings.mjs +30 -30
- package/dist/esm2022/src/map/map.module.mjs +63 -63
- package/dist/esm2022/src/map/maps-components-src-map.mjs +4 -4
- package/dist/esm2022/src/map/messages/commands/add-control.command.mjs +12 -12
- package/dist/esm2022/src/map/messages/commands/add-layer.command.mjs +12 -12
- package/dist/esm2022/src/map/messages/commands/add-tile.command.mjs +12 -12
- package/dist/esm2022/src/map/messages/commands/cancel-drawing.command.mjs +7 -7
- package/dist/esm2022/src/map/messages/commands/cancel-feature-modification.command.mjs +7 -7
- package/dist/esm2022/src/map/messages/commands/close-tooltip.command.mjs +12 -12
- package/dist/esm2022/src/map/messages/commands/draw-selection-area.command.mjs +16 -16
- package/dist/esm2022/src/map/messages/commands/fit-to-features.command.mjs +14 -14
- package/dist/esm2022/src/map/messages/commands/fit-to-polygons.command.mjs +14 -14
- package/dist/esm2022/src/map/messages/commands/modify-feature.command.mjs +17 -17
- package/dist/esm2022/src/map/messages/commands/place-layer-features.command.mjs +14 -14
- package/dist/esm2022/src/map/messages/commands/remove-control.command.mjs +12 -12
- package/dist/esm2022/src/map/messages/commands/remove-layer.command.mjs +12 -12
- package/dist/esm2022/src/map/messages/commands/remove-tile.command.mjs +12 -12
- package/dist/esm2022/src/map/messages/commands/set-map-center.command.mjs +25 -25
- package/dist/esm2022/src/map/messages/commands/start-drawing.command.mjs +17 -17
- package/dist/esm2022/src/map/messages/events/drawing-finished.event.mjs +10 -10
- package/dist/esm2022/src/map/messages/events/map-click.event.mjs +16 -16
- package/dist/esm2022/src/map/messages/events/map-move-end.event.mjs +14 -14
- package/dist/esm2022/src/map/messages/events/map-rendered.event.mjs +12 -12
- package/dist/esm2022/src/map/messages/executors/calculate-area.executor.mjs +12 -12
- package/dist/esm2022/src/map/messages/executors/filter-features-in-area.executor.mjs +14 -14
- package/dist/esm2022/src/map/messages/executors/generate-draw.executor.mjs +16 -16
- package/dist/esm2022/src/map/messages/executors/generate-zoom-control.executor.mjs +12 -12
- package/dist/esm2022/src/map/messages/index.mjs +14 -14
- package/dist/esm2022/src/map/messages/queries/get-features-in-area.query.mjs +14 -14
- package/dist/esm2022/src/map/messages/queries/get-layer.query.mjs +12 -12
- package/dist/esm2022/src/map/models/drawing-type.enum.mjs +7 -7
- package/dist/esm2022/src/map/models/feature-format.enum.mjs +5 -5
- package/dist/esm2022/src/map/models/i-identified.mjs +1 -1
- package/dist/esm2022/src/map/models/index.mjs +7 -7
- package/dist/esm2022/src/map/models/map-control.mjs +14 -14
- package/dist/esm2022/src/map/models/map-lyrs.enum.mjs +18 -18
- package/dist/esm2022/src/map/models/map-settings.mjs +50 -50
- package/dist/esm2022/src/map/models/map.constants.mjs +4 -4
- package/dist/esm2022/src/map/models/marker-model.mjs +28 -28
- package/dist/esm2022/src/map/models/polygon.model.mjs +32 -32
- package/dist/esm2022/src/map/public-api.mjs +15 -15
- package/dist/esm2022/src/map/services/controls/controls.service.mjs +39 -39
- package/dist/esm2022/src/map/services/drawing/drawing-generation.service.mjs +25 -25
- package/dist/esm2022/src/map/services/drawing/drawing.service.mjs +101 -101
- package/dist/esm2022/src/map/services/drawing/feature-modification.service.mjs +103 -103
- package/dist/esm2022/src/map/services/feature.service.mjs +21 -21
- package/dist/esm2022/src/map/services/map-click.service.mjs +55 -55
- package/dist/esm2022/src/map/services/map-feature.service.mjs +55 -55
- package/dist/esm2022/src/map/services/map-management.service.mjs +103 -103
- package/dist/esm2022/src/map/services/map-postboy.service.mjs +18 -18
- package/dist/esm2022/src/map/services/map-state.service.mjs +42 -42
- package/dist/esm2022/src/map/services/message-registrator.service.mjs +82 -82
- package/dist/fesm2022/maps-components-src-map.mjs +2460 -2460
- package/dist/fesm2022/maps-components-src-map.mjs.map +1 -1
- package/dist/fesm2022/maps-components.mjs +2462 -2462
- package/dist/fesm2022/maps-components.mjs.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/map/common/destructible.component.d.ts +10 -10
- package/dist/map/common/id.generator.d.ts +4 -4
- package/dist/map/helpers/index.d.ts +4 -4
- package/dist/map/helpers/marker-style.helper.d.ts +33 -33
- package/dist/map/helpers/polygon-style.helper.d.ts +26 -26
- package/dist/map/helpers/stringify-feature.helper.d.ts +26 -26
- package/dist/map/helpers/text-style.helper.d.ts +15 -15
- package/dist/map/map-plate/controls/index.d.ts +2 -2
- package/dist/map/map-plate/controls/map-control-zoom/map-control-zoom.component.d.ts +36 -36
- package/dist/map/map-plate/controls/map-control-zoom/zoom-control.factory.d.ts +5 -5
- package/dist/map/map-plate/controls/map-control-zoom/zoom-control.settings.d.ts +85 -85
- package/dist/map/map-plate/features/index.d.ts +2 -2
- package/dist/map/map-plate/features/markers/markers.component.d.ts +26 -26
- package/dist/map/map-plate/features/polygons/polygons.component.d.ts +26 -26
- package/dist/map/map-plate/layers/cluster-layer/cluster-layer-factory.service.d.ts +11 -11
- package/dist/map/map-plate/layers/cluster-layer/cluster-layer.component.d.ts +29 -29
- package/dist/map/map-plate/layers/cluster-layer/cluster-layer.manager.d.ts +13 -13
- package/dist/map/map-plate/layers/cluster-layer/cluster-layer.settings.d.ts +100 -100
- package/dist/map/map-plate/layers/feature-layer/feature-layer.component.d.ts +22 -22
- package/dist/map/map-plate/layers/feature-layer/feature-layer.factory.d.ts +9 -9
- package/dist/map/map-plate/layers/feature-layer/feature-layer.settings.d.ts +81 -81
- package/dist/map/map-plate/layers/index.d.ts +7 -7
- package/dist/map/map-plate/layers/osm-tile-layer/osm-tile-layer.component.d.ts +19 -19
- package/dist/map/map-plate/layers/tile-layer/tile-layer.component.d.ts +21 -21
- package/dist/map/map-plate/layers/tile-layer/tile-layer.factory.d.ts +11 -11
- package/dist/map/map-plate/layers/tile-layer/tile-layer.settings.d.ts +89 -89
- package/dist/map/map-plate/map-plate.component.d.ts +27 -27
- package/dist/map/map-plate/map-plate.factory.service.d.ts +8 -8
- package/dist/map/map-plate/tooltips/index.d.ts +2 -2
- package/dist/map/map-plate/tooltips/tooltip/tooltip.component.d.ts +26 -26
- package/dist/map/map-plate/tooltips/tooltip/tooltip.settings.d.ts +11 -11
- package/dist/map/map.module.d.ts +17 -17
- package/dist/map/messages/commands/add-control.command.d.ts +8 -8
- package/dist/map/messages/commands/add-layer.command.d.ts +10 -10
- package/dist/map/messages/commands/add-tile.command.d.ts +9 -9
- package/dist/map/messages/commands/cancel-drawing.command.d.ts +5 -5
- package/dist/map/messages/commands/cancel-feature-modification.command.d.ts +5 -5
- package/dist/map/messages/commands/close-tooltip.command.d.ts +7 -7
- package/dist/map/messages/commands/draw-selection-area.command.d.ts +13 -13
- package/dist/map/messages/commands/fit-to-features.command.d.ts +10 -10
- package/dist/map/messages/commands/fit-to-polygons.command.d.ts +9 -9
- package/dist/map/messages/commands/modify-feature.command.d.ts +11 -11
- package/dist/map/messages/commands/place-layer-features.command.d.ts +10 -10
- package/dist/map/messages/commands/remove-control.command.d.ts +8 -8
- package/dist/map/messages/commands/remove-layer.command.d.ts +8 -8
- package/dist/map/messages/commands/remove-tile.command.d.ts +9 -9
- package/dist/map/messages/commands/set-map-center.command.d.ts +18 -18
- package/dist/map/messages/commands/start-drawing.command.d.ts +11 -11
- package/dist/map/messages/events/drawing-finished.event.d.ts +6 -6
- package/dist/map/messages/events/map-click.event.d.ts +20 -20
- package/dist/map/messages/events/map-move-end.event.d.ts +8 -8
- package/dist/map/messages/events/map-rendered.event.d.ts +8 -8
- package/dist/map/messages/executors/calculate-area.executor.d.ts +10 -10
- package/dist/map/messages/executors/filter-features-in-area.executor.d.ts +10 -10
- package/dist/map/messages/executors/generate-draw.executor.d.ts +14 -14
- package/dist/map/messages/executors/generate-zoom-control.executor.d.ts +9 -9
- package/dist/map/messages/index.d.ts +14 -14
- package/dist/map/messages/queries/get-features-in-area.query.d.ts +11 -11
- package/dist/map/messages/queries/get-layer.query.d.ts +10 -10
- package/dist/map/models/drawing-type.enum.d.ts +6 -6
- package/dist/map/models/feature-format.enum.d.ts +4 -4
- package/dist/map/models/i-identified.d.ts +3 -3
- package/dist/map/models/index.d.ts +7 -7
- package/dist/map/models/map-control.d.ts +13 -13
- package/dist/map/models/map-lyrs.enum.d.ts +10 -10
- package/dist/map/models/map-settings.d.ts +17 -17
- package/dist/map/models/map.constants.d.ts +4 -4
- package/dist/map/models/marker-model.d.ts +16 -16
- package/dist/map/models/polygon.model.d.ts +19 -19
- package/dist/map/public-api.d.ts +12 -12
- package/dist/map/services/controls/controls.service.d.ts +14 -14
- package/dist/map/services/drawing/drawing-generation.service.d.ts +6 -6
- package/dist/map/services/drawing/drawing.service.d.ts +19 -19
- package/dist/map/services/drawing/feature-modification.service.d.ts +22 -22
- package/dist/map/services/feature.service.d.ts +9 -9
- package/dist/map/services/map-click.service.d.ts +16 -16
- package/dist/map/services/map-feature.service.d.ts +16 -16
- package/dist/map/services/map-management.service.d.ts +20 -20
- package/dist/map/services/map-postboy.service.d.ts +7 -7
- package/dist/map/services/map-state.service.d.ts +13 -13
- package/dist/map/services/message-registrator.service.d.ts +17 -17
- package/dist/public-api.d.ts +1 -1
- package/dist/src/map/common/destructible.component.d.ts +10 -10
- package/dist/src/map/common/id.generator.d.ts +4 -4
- package/dist/src/map/helpers/index.d.ts +4 -4
- package/dist/src/map/helpers/marker-style.helper.d.ts +33 -33
- package/dist/src/map/helpers/polygon-style.helper.d.ts +26 -26
- package/dist/src/map/helpers/stringify-feature.helper.d.ts +26 -26
- package/dist/src/map/helpers/text-style.helper.d.ts +15 -15
- package/dist/src/map/index.d.ts +5 -5
- package/dist/src/map/map-plate/controls/index.d.ts +2 -2
- package/dist/src/map/map-plate/controls/map-control-zoom/map-control-zoom.component.d.ts +36 -36
- package/dist/src/map/map-plate/controls/map-control-zoom/zoom-control.factory.d.ts +5 -5
- package/dist/src/map/map-plate/controls/map-control-zoom/zoom-control.settings.d.ts +85 -85
- package/dist/src/map/map-plate/features/index.d.ts +2 -2
- package/dist/src/map/map-plate/features/markers/markers.component.d.ts +26 -26
- package/dist/src/map/map-plate/features/polygons/polygons.component.d.ts +26 -26
- package/dist/src/map/map-plate/layers/cluster-layer/cluster-layer-factory.service.d.ts +11 -11
- package/dist/src/map/map-plate/layers/cluster-layer/cluster-layer.component.d.ts +29 -29
- package/dist/src/map/map-plate/layers/cluster-layer/cluster-layer.manager.d.ts +13 -13
- package/dist/src/map/map-plate/layers/cluster-layer/cluster-layer.settings.d.ts +100 -100
- package/dist/src/map/map-plate/layers/feature-layer/feature-layer.component.d.ts +22 -22
- package/dist/src/map/map-plate/layers/feature-layer/feature-layer.factory.d.ts +9 -9
- package/dist/src/map/map-plate/layers/feature-layer/feature-layer.settings.d.ts +81 -81
- package/dist/src/map/map-plate/layers/index.d.ts +7 -7
- package/dist/src/map/map-plate/layers/osm-tile-layer/osm-tile-layer.component.d.ts +19 -19
- package/dist/src/map/map-plate/layers/tile-layer/tile-layer.component.d.ts +21 -21
- package/dist/src/map/map-plate/layers/tile-layer/tile-layer.factory.d.ts +11 -11
- package/dist/src/map/map-plate/layers/tile-layer/tile-layer.settings.d.ts +89 -89
- package/dist/src/map/map-plate/map-plate.component.d.ts +27 -27
- package/dist/src/map/map-plate/map-plate.factory.service.d.ts +8 -8
- package/dist/src/map/map-plate/tooltips/index.d.ts +2 -2
- package/dist/src/map/map-plate/tooltips/tooltip/tooltip.component.d.ts +26 -26
- package/dist/src/map/map-plate/tooltips/tooltip/tooltip.settings.d.ts +11 -11
- package/dist/src/map/map.module.d.ts +17 -17
- package/dist/src/map/messages/commands/add-control.command.d.ts +8 -8
- package/dist/src/map/messages/commands/add-layer.command.d.ts +10 -10
- package/dist/src/map/messages/commands/add-tile.command.d.ts +9 -9
- package/dist/src/map/messages/commands/cancel-drawing.command.d.ts +5 -5
- package/dist/src/map/messages/commands/cancel-feature-modification.command.d.ts +5 -5
- package/dist/src/map/messages/commands/close-tooltip.command.d.ts +7 -7
- package/dist/src/map/messages/commands/draw-selection-area.command.d.ts +13 -13
- package/dist/src/map/messages/commands/fit-to-features.command.d.ts +10 -10
- package/dist/src/map/messages/commands/fit-to-polygons.command.d.ts +9 -9
- package/dist/src/map/messages/commands/modify-feature.command.d.ts +11 -11
- package/dist/src/map/messages/commands/place-layer-features.command.d.ts +10 -10
- package/dist/src/map/messages/commands/remove-control.command.d.ts +8 -8
- package/dist/src/map/messages/commands/remove-layer.command.d.ts +8 -8
- package/dist/src/map/messages/commands/remove-tile.command.d.ts +9 -9
- package/dist/src/map/messages/commands/set-map-center.command.d.ts +18 -18
- package/dist/src/map/messages/commands/start-drawing.command.d.ts +11 -11
- package/dist/src/map/messages/events/drawing-finished.event.d.ts +6 -6
- package/dist/src/map/messages/events/map-click.event.d.ts +20 -20
- package/dist/src/map/messages/events/map-move-end.event.d.ts +8 -8
- package/dist/src/map/messages/events/map-rendered.event.d.ts +8 -8
- package/dist/src/map/messages/executors/calculate-area.executor.d.ts +10 -10
- package/dist/src/map/messages/executors/filter-features-in-area.executor.d.ts +10 -10
- package/dist/src/map/messages/executors/generate-draw.executor.d.ts +14 -14
- package/dist/src/map/messages/executors/generate-zoom-control.executor.d.ts +9 -9
- package/dist/src/map/messages/index.d.ts +14 -14
- package/dist/src/map/messages/queries/get-features-in-area.query.d.ts +11 -11
- package/dist/src/map/messages/queries/get-layer.query.d.ts +10 -10
- package/dist/src/map/models/drawing-type.enum.d.ts +6 -6
- package/dist/src/map/models/feature-format.enum.d.ts +4 -4
- package/dist/src/map/models/i-identified.d.ts +3 -3
- package/dist/src/map/models/index.d.ts +7 -7
- package/dist/src/map/models/map-control.d.ts +13 -13
- package/dist/src/map/models/map-lyrs.enum.d.ts +10 -10
- package/dist/src/map/models/map-settings.d.ts +17 -17
- package/dist/src/map/models/map.constants.d.ts +4 -4
- package/dist/src/map/models/marker-model.d.ts +16 -16
- package/dist/src/map/models/polygon.model.d.ts +19 -19
- package/dist/src/map/public-api.d.ts +12 -12
- package/dist/src/map/services/controls/controls.service.d.ts +14 -14
- package/dist/src/map/services/drawing/drawing-generation.service.d.ts +6 -6
- package/dist/src/map/services/drawing/drawing.service.d.ts +19 -19
- package/dist/src/map/services/drawing/feature-modification.service.d.ts +22 -22
- package/dist/src/map/services/feature.service.d.ts +9 -9
- package/dist/src/map/services/map-click.service.d.ts +16 -16
- package/dist/src/map/services/map-feature.service.d.ts +16 -16
- package/dist/src/map/services/map-management.service.d.ts +20 -20
- package/dist/src/map/services/map-postboy.service.d.ts +7 -7
- package/dist/src/map/services/map-state.service.d.ts +13 -13
- package/dist/src/map/services/message-registrator.service.d.ts +17 -17
- package/package.json +23 -24
- package/dist/package.json +0 -35
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Draw } from 'ol/interaction';
|
|
2
|
-
import { GenerateDrawExecutor } from '../../messages/executors/generate-draw.executor';
|
|
3
|
-
export declare class DrawingGenerationService {
|
|
4
|
-
static getDraw(ev: GenerateDrawExecutor): Draw;
|
|
5
|
-
private static geometryFunc;
|
|
6
|
-
}
|
|
1
|
+
import { Draw } from 'ol/interaction';
|
|
2
|
+
import { GenerateDrawExecutor } from '../../messages/executors/generate-draw.executor';
|
|
3
|
+
export declare class DrawingGenerationService {
|
|
4
|
+
static getDraw(ev: GenerateDrawExecutor): Draw;
|
|
5
|
+
private static geometryFunc;
|
|
6
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
-
import { MapPostboyService } from '../map-postboy.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DrawingService implements IPostboyDependingService {
|
|
5
|
-
private postboy;
|
|
6
|
-
private drawInteraction?;
|
|
7
|
-
private map?;
|
|
8
|
-
constructor(postboy: MapPostboyService);
|
|
9
|
-
up(): void;
|
|
10
|
-
private observeSelectArea;
|
|
11
|
-
private observeDrawing;
|
|
12
|
-
private onEnd;
|
|
13
|
-
private observeMapRender;
|
|
14
|
-
private draw;
|
|
15
|
-
private observeCancelation;
|
|
16
|
-
private clearInteraction;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DrawingService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DrawingService>;
|
|
19
|
-
}
|
|
1
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
+
import { MapPostboyService } from '../map-postboy.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DrawingService implements IPostboyDependingService {
|
|
5
|
+
private postboy;
|
|
6
|
+
private drawInteraction?;
|
|
7
|
+
private map?;
|
|
8
|
+
constructor(postboy: MapPostboyService);
|
|
9
|
+
up(): void;
|
|
10
|
+
private observeSelectArea;
|
|
11
|
+
private observeDrawing;
|
|
12
|
+
private onEnd;
|
|
13
|
+
private observeMapRender;
|
|
14
|
+
private draw;
|
|
15
|
+
private observeCancelation;
|
|
16
|
+
private clearInteraction;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrawingService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DrawingService>;
|
|
19
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
-
import { MapPostboyService } from '../map-postboy.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FeatureModificationService implements IPostboyDependingService {
|
|
5
|
-
private postboy;
|
|
6
|
-
private modify?;
|
|
7
|
-
private translate?;
|
|
8
|
-
private map?;
|
|
9
|
-
constructor(postboy: MapPostboyService);
|
|
10
|
-
up(): void;
|
|
11
|
-
private observeModification;
|
|
12
|
-
private initFeature;
|
|
13
|
-
private addModify;
|
|
14
|
-
private addDragging;
|
|
15
|
-
private onModified;
|
|
16
|
-
private observeMapRender;
|
|
17
|
-
private defineLayer;
|
|
18
|
-
private observeCancelation;
|
|
19
|
-
private clearInteraction;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureModificationService, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureModificationService>;
|
|
22
|
-
}
|
|
1
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
+
import { MapPostboyService } from '../map-postboy.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FeatureModificationService implements IPostboyDependingService {
|
|
5
|
+
private postboy;
|
|
6
|
+
private modify?;
|
|
7
|
+
private translate?;
|
|
8
|
+
private map?;
|
|
9
|
+
constructor(postboy: MapPostboyService);
|
|
10
|
+
up(): void;
|
|
11
|
+
private observeModification;
|
|
12
|
+
private initFeature;
|
|
13
|
+
private addModify;
|
|
14
|
+
private addDragging;
|
|
15
|
+
private onModified;
|
|
16
|
+
private observeMapRender;
|
|
17
|
+
private defineLayer;
|
|
18
|
+
private observeCancelation;
|
|
19
|
+
private clearInteraction;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureModificationService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureModificationService>;
|
|
22
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Geometry } from 'ol/geom';
|
|
2
|
-
import { Feature } from 'ol';
|
|
3
|
-
import { FilterFeaturesInAreaExecutor } from '../messages/executors/filter-features-in-area.executor';
|
|
4
|
-
export declare class FeatureService {
|
|
5
|
-
constructor();
|
|
6
|
-
static filterFeaturesInArea(query: FilterFeaturesInAreaExecutor): Feature<Geometry>[];
|
|
7
|
-
static calculateArea(g: Geometry | undefined): number;
|
|
8
|
-
private static booleanIntersects;
|
|
9
|
-
}
|
|
1
|
+
import { Geometry } from 'ol/geom';
|
|
2
|
+
import { Feature } from 'ol';
|
|
3
|
+
import { FilterFeaturesInAreaExecutor } from '../messages/executors/filter-features-in-area.executor';
|
|
4
|
+
export declare class FeatureService {
|
|
5
|
+
constructor();
|
|
6
|
+
static filterFeaturesInArea(query: FilterFeaturesInAreaExecutor): Feature<Geometry>[];
|
|
7
|
+
static calculateArea(g: Geometry | undefined): number;
|
|
8
|
+
private static booleanIntersects;
|
|
9
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
-
import { MapBrowserEvent } from 'ol';
|
|
3
|
-
import { MapPostboyService } from './map-postboy.service';
|
|
4
|
-
import { MapClickEvent } from '../messages/events/map-click.event';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class MapClickService implements IPostboyDependingService {
|
|
7
|
-
private postboy;
|
|
8
|
-
private map?;
|
|
9
|
-
constructor(postboy: MapPostboyService);
|
|
10
|
-
up(): void;
|
|
11
|
-
onClick(ev: MapBrowserEvent<UIEvent>): MapClickEvent;
|
|
12
|
-
private observeMapRender;
|
|
13
|
-
private getFeatureCollectionWithInner;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MapClickService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MapClickService>;
|
|
16
|
-
}
|
|
1
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
+
import { MapBrowserEvent } from 'ol';
|
|
3
|
+
import { MapPostboyService } from './map-postboy.service';
|
|
4
|
+
import { MapClickEvent } from '../messages/events/map-click.event';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MapClickService implements IPostboyDependingService {
|
|
7
|
+
private postboy;
|
|
8
|
+
private map?;
|
|
9
|
+
constructor(postboy: MapPostboyService);
|
|
10
|
+
up(): void;
|
|
11
|
+
onClick(ev: MapBrowserEvent<UIEvent>): MapClickEvent;
|
|
12
|
+
private observeMapRender;
|
|
13
|
+
private getFeatureCollectionWithInner;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapClickService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapClickService>;
|
|
16
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
-
import { MapPostboyService } from './map-postboy.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MapFeatureService implements IPostboyDependingService {
|
|
5
|
-
private postboy;
|
|
6
|
-
private map?;
|
|
7
|
-
private fitPolygonsWaiting?;
|
|
8
|
-
constructor(postboy: MapPostboyService);
|
|
9
|
-
up(): void;
|
|
10
|
-
private observeMapRender;
|
|
11
|
-
private observeFitToFeatures;
|
|
12
|
-
private observeFitToPolygons;
|
|
13
|
-
private fitToGeometries;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MapFeatureService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MapFeatureService>;
|
|
16
|
-
}
|
|
1
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
+
import { MapPostboyService } from './map-postboy.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MapFeatureService implements IPostboyDependingService {
|
|
5
|
+
private postboy;
|
|
6
|
+
private map?;
|
|
7
|
+
private fitPolygonsWaiting?;
|
|
8
|
+
constructor(postboy: MapPostboyService);
|
|
9
|
+
up(): void;
|
|
10
|
+
private observeMapRender;
|
|
11
|
+
private observeFitToFeatures;
|
|
12
|
+
private observeFitToPolygons;
|
|
13
|
+
private fitToGeometries;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapFeatureService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapFeatureService>;
|
|
16
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { MapPostboyService } from './map-postboy.service';
|
|
2
|
-
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MapManagementService implements IPostboyDependingService {
|
|
5
|
-
private postboy;
|
|
6
|
-
private map?;
|
|
7
|
-
private layers;
|
|
8
|
-
constructor(postboy: MapPostboyService);
|
|
9
|
-
up(): void;
|
|
10
|
-
private observeRemoveTile;
|
|
11
|
-
private observeLayerQuery;
|
|
12
|
-
private observeAddTile;
|
|
13
|
-
private observeMapRender;
|
|
14
|
-
private observeAddLayer;
|
|
15
|
-
private observePlaceFeatures;
|
|
16
|
-
private observeRemoveLayer;
|
|
17
|
-
private observeFeaturesInArea;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MapManagementService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MapManagementService>;
|
|
20
|
-
}
|
|
1
|
+
import { MapPostboyService } from './map-postboy.service';
|
|
2
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MapManagementService implements IPostboyDependingService {
|
|
5
|
+
private postboy;
|
|
6
|
+
private map?;
|
|
7
|
+
private layers;
|
|
8
|
+
constructor(postboy: MapPostboyService);
|
|
9
|
+
up(): void;
|
|
10
|
+
private observeRemoveTile;
|
|
11
|
+
private observeLayerQuery;
|
|
12
|
+
private observeAddTile;
|
|
13
|
+
private observeMapRender;
|
|
14
|
+
private observeAddLayer;
|
|
15
|
+
private observePlaceFeatures;
|
|
16
|
+
private observeRemoveLayer;
|
|
17
|
+
private observeFeaturesInArea;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapManagementService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapManagementService>;
|
|
20
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PostboyService } from '@artstesh/postboy';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MapPostboyService extends PostboyService {
|
|
4
|
-
constructor();
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MapPostboyService, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MapPostboyService>;
|
|
7
|
-
}
|
|
1
|
+
import { PostboyService } from '@artstesh/postboy';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MapPostboyService extends PostboyService {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapPostboyService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapPostboyService>;
|
|
7
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { MapPostboyService } from './map-postboy.service';
|
|
2
|
-
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MapStateService implements IPostboyDependingService {
|
|
5
|
-
private postboy;
|
|
6
|
-
private map?;
|
|
7
|
-
constructor(postboy: MapPostboyService);
|
|
8
|
-
up(): void;
|
|
9
|
-
private observeMapRendering;
|
|
10
|
-
private observeCenter;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MapStateService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MapStateService>;
|
|
13
|
-
}
|
|
1
|
+
import { MapPostboyService } from './map-postboy.service';
|
|
2
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MapStateService implements IPostboyDependingService {
|
|
5
|
+
private postboy;
|
|
6
|
+
private map?;
|
|
7
|
+
constructor(postboy: MapPostboyService);
|
|
8
|
+
up(): void;
|
|
9
|
+
private observeMapRendering;
|
|
10
|
+
private observeCenter;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapStateService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapStateService>;
|
|
13
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { MapPostboyService } from './map-postboy.service';
|
|
2
|
-
import { PostboyAbstractRegistrator } from '@artstesh/postboy';
|
|
3
|
-
import { MapManagementService } from './map-management.service';
|
|
4
|
-
import { MapStateService } from './map-state.service';
|
|
5
|
-
import { MapClickService } from './map-click.service';
|
|
6
|
-
import { MapFeatureService } from './map-feature.service';
|
|
7
|
-
import { DrawingService } from './drawing/drawing.service';
|
|
8
|
-
import { FeatureModificationService } from './drawing/feature-modification.service';
|
|
9
|
-
import { ControlsService } from './controls/controls.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class MessageRegistratorService extends PostboyAbstractRegistrator {
|
|
12
|
-
constructor(service: MapPostboyService, management: MapManagementService, state: MapStateService, mapFeature: MapFeatureService, interaction: MapClickService, drawing: DrawingService, featureModification: FeatureModificationService, controls: ControlsService);
|
|
13
|
-
protected _up(): void;
|
|
14
|
-
private setExecutors;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageRegistratorService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MessageRegistratorService>;
|
|
17
|
-
}
|
|
1
|
+
import { MapPostboyService } from './map-postboy.service';
|
|
2
|
+
import { PostboyAbstractRegistrator } from '@artstesh/postboy';
|
|
3
|
+
import { MapManagementService } from './map-management.service';
|
|
4
|
+
import { MapStateService } from './map-state.service';
|
|
5
|
+
import { MapClickService } from './map-click.service';
|
|
6
|
+
import { MapFeatureService } from './map-feature.service';
|
|
7
|
+
import { DrawingService } from './drawing/drawing.service';
|
|
8
|
+
import { FeatureModificationService } from './drawing/feature-modification.service';
|
|
9
|
+
import { ControlsService } from './controls/controls.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class MessageRegistratorService extends PostboyAbstractRegistrator {
|
|
12
|
+
constructor(service: MapPostboyService, management: MapManagementService, state: MapStateService, mapFeature: MapFeatureService, interaction: MapClickService, drawing: DrawingService, featureModification: FeatureModificationService, controls: ControlsService);
|
|
13
|
+
protected _up(): void;
|
|
14
|
+
private setExecutors;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageRegistratorService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MessageRegistratorService>;
|
|
17
|
+
}
|
package/dist/public-api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './map/public-api';
|
|
1
|
+
export * from './map/public-api';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DestructibleComponent implements OnDestroy {
|
|
5
|
-
protected subs: Subscription[];
|
|
6
|
-
protected onDestroy?: () => void;
|
|
7
|
-
ngOnDestroy(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DestructibleComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DestructibleComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DestructibleComponent implements OnDestroy {
|
|
5
|
+
protected subs: Subscription[];
|
|
6
|
+
protected onDestroy?: () => void;
|
|
7
|
+
ngOnDestroy(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DestructibleComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DestructibleComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class IdGenerator {
|
|
2
|
-
private static collection;
|
|
3
|
-
static get(): string;
|
|
4
|
-
}
|
|
1
|
+
export declare class IdGenerator {
|
|
2
|
+
private static collection;
|
|
3
|
+
static get(): string;
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './marker-style.helper';
|
|
2
|
-
export * from './polygon-style.helper';
|
|
3
|
-
export * from './text-style.helper';
|
|
4
|
-
export * from './stringify-feature.helper';
|
|
1
|
+
export * from './marker-style.helper';
|
|
2
|
+
export * from './polygon-style.helper';
|
|
3
|
+
export * from './text-style.helper';
|
|
4
|
+
export * from './stringify-feature.helper';
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import Style from 'ol/style/Style';
|
|
2
|
-
import { Text } from 'ol/style';
|
|
3
|
-
/**
|
|
4
|
-
* Helper class to create and modify marker styles.
|
|
5
|
-
*/
|
|
6
|
-
export declare class MarkerStyleHelper {
|
|
7
|
-
/**
|
|
8
|
-
* Creates a new Style object from an SVG.
|
|
9
|
-
* @param {string} svg - The SVG string.
|
|
10
|
-
* @param {Array<number>} [size=[30, 30]] - The size of the icon image.
|
|
11
|
-
* @param {number} [zIndex=400] - The zIndex of the style.
|
|
12
|
-
* @returns {Style} A new Style object.
|
|
13
|
-
*/
|
|
14
|
-
static fromSvg(svg: string, size?: [number, number], zIndex?: number): Style;
|
|
15
|
-
/**
|
|
16
|
-
* Returns a Style object with a circle style.
|
|
17
|
-
*
|
|
18
|
-
* @param {number} radius - The radius of the circle.
|
|
19
|
-
* @param {string} fill - The fill color of the circle. Format: '#RRGGBB' or 'rgba(R, G, B, A)'.
|
|
20
|
-
* @param {string} strokeColor - The stroke color of the circle. Format: '#RRGGBB' or 'rgba(R, G, B, A)'.
|
|
21
|
-
* @param {number} [strokeWidth=1] - The width of the stroke. Default is 1.
|
|
22
|
-
* @returns {Style} - A Style object with a Circle image.
|
|
23
|
-
*/
|
|
24
|
-
static circle(radius: number, fill: string, strokeColor: string, strokeWidth?: number): Style;
|
|
25
|
-
/**
|
|
26
|
-
* Applies the given Text to the provided Style.
|
|
27
|
-
*
|
|
28
|
-
* @param {Style} style - The Style to modify.
|
|
29
|
-
* @param {Text} text - The Text to apply to the Style.
|
|
30
|
-
* @return {Style} - The modified Style with the applied Text.
|
|
31
|
-
*/
|
|
32
|
-
static withText(style: Style, text: Text): Style;
|
|
33
|
-
}
|
|
1
|
+
import Style from 'ol/style/Style';
|
|
2
|
+
import { Text } from 'ol/style';
|
|
3
|
+
/**
|
|
4
|
+
* Helper class to create and modify marker styles.
|
|
5
|
+
*/
|
|
6
|
+
export declare class MarkerStyleHelper {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new Style object from an SVG.
|
|
9
|
+
* @param {string} svg - The SVG string.
|
|
10
|
+
* @param {Array<number>} [size=[30, 30]] - The size of the icon image.
|
|
11
|
+
* @param {number} [zIndex=400] - The zIndex of the style.
|
|
12
|
+
* @returns {Style} A new Style object.
|
|
13
|
+
*/
|
|
14
|
+
static fromSvg(svg: string, size?: [number, number], zIndex?: number): Style;
|
|
15
|
+
/**
|
|
16
|
+
* Returns a Style object with a circle style.
|
|
17
|
+
*
|
|
18
|
+
* @param {number} radius - The radius of the circle.
|
|
19
|
+
* @param {string} fill - The fill color of the circle. Format: '#RRGGBB' or 'rgba(R, G, B, A)'.
|
|
20
|
+
* @param {string} strokeColor - The stroke color of the circle. Format: '#RRGGBB' or 'rgba(R, G, B, A)'.
|
|
21
|
+
* @param {number} [strokeWidth=1] - The width of the stroke. Default is 1.
|
|
22
|
+
* @returns {Style} - A Style object with a Circle image.
|
|
23
|
+
*/
|
|
24
|
+
static circle(radius: number, fill: string, strokeColor: string, strokeWidth?: number): Style;
|
|
25
|
+
/**
|
|
26
|
+
* Applies the given Text to the provided Style.
|
|
27
|
+
*
|
|
28
|
+
* @param {Style} style - The Style to modify.
|
|
29
|
+
* @param {Text} text - The Text to apply to the Style.
|
|
30
|
+
* @return {Style} - The modified Style with the applied Text.
|
|
31
|
+
*/
|
|
32
|
+
static withText(style: Style, text: Text): Style;
|
|
33
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import Style from 'ol/style/Style';
|
|
2
|
-
/**
|
|
3
|
-
* A helper class for creating polygon styles.
|
|
4
|
-
* @class
|
|
5
|
-
*/
|
|
6
|
-
export declare class PolygonStyleHelper {
|
|
7
|
-
/**
|
|
8
|
-
* Creates a Style object with the given fill color, stroke color, and stroke width.
|
|
9
|
-
*
|
|
10
|
-
* @param {string} fill - The fill color in hexadecimal or RGB format.
|
|
11
|
-
* @param {string} stroke - The stroke color in hexadecimal or RGB format.
|
|
12
|
-
* @param {number} [strokeWidth=1] - The width of the stroke. Defaults to 1.
|
|
13
|
-
* @return {Style} The created Style object.
|
|
14
|
-
*/
|
|
15
|
-
static simple(fill: string, stroke: string, strokeWidth?: number): Style;
|
|
16
|
-
/**
|
|
17
|
-
* Creates a new Style object with the given fill, stroke, stroke width, and pin radius.
|
|
18
|
-
*
|
|
19
|
-
* @param {string} fill - The color to use for the fill of the style.
|
|
20
|
-
* @param {string} stroke - The color to use for the stroke of the style.
|
|
21
|
-
* @param {number} [strokeWidth=1] - The width of the stroke. Defaults to 1.
|
|
22
|
-
* @param {number} [pinRadius=5] - The radius of the circle used as the image for the style. Defaults to 5.
|
|
23
|
-
* @returns {Style} - The newly created Style object.
|
|
24
|
-
*/
|
|
25
|
-
static edit(fill: string, stroke: string, strokeWidth?: number, pinRadius?: number): Style;
|
|
26
|
-
}
|
|
1
|
+
import Style from 'ol/style/Style';
|
|
2
|
+
/**
|
|
3
|
+
* A helper class for creating polygon styles.
|
|
4
|
+
* @class
|
|
5
|
+
*/
|
|
6
|
+
export declare class PolygonStyleHelper {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a Style object with the given fill color, stroke color, and stroke width.
|
|
9
|
+
*
|
|
10
|
+
* @param {string} fill - The fill color in hexadecimal or RGB format.
|
|
11
|
+
* @param {string} stroke - The stroke color in hexadecimal or RGB format.
|
|
12
|
+
* @param {number} [strokeWidth=1] - The width of the stroke. Defaults to 1.
|
|
13
|
+
* @return {Style} The created Style object.
|
|
14
|
+
*/
|
|
15
|
+
static simple(fill: string, stroke: string, strokeWidth?: number): Style;
|
|
16
|
+
/**
|
|
17
|
+
* Creates a new Style object with the given fill, stroke, stroke width, and pin radius.
|
|
18
|
+
*
|
|
19
|
+
* @param {string} fill - The color to use for the fill of the style.
|
|
20
|
+
* @param {string} stroke - The color to use for the stroke of the style.
|
|
21
|
+
* @param {number} [strokeWidth=1] - The width of the stroke. Defaults to 1.
|
|
22
|
+
* @param {number} [pinRadius=5] - The radius of the circle used as the image for the style. Defaults to 5.
|
|
23
|
+
* @returns {Style} - The newly created Style object.
|
|
24
|
+
*/
|
|
25
|
+
static edit(fill: string, stroke: string, strokeWidth?: number, pinRadius?: number): Style;
|
|
26
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { Feature } from 'ol';
|
|
2
|
-
import { Geometry } from 'ol/geom';
|
|
3
|
-
import { FeatureOutputFormat } from '../models';
|
|
4
|
-
/**
|
|
5
|
-
* A helper class for converting and stringify features.
|
|
6
|
-
*/
|
|
7
|
-
export declare class StringifyFeatureHelper {
|
|
8
|
-
static polygon(feature: Feature<Geometry>, format?: FeatureOutputFormat): string;
|
|
9
|
-
/**
|
|
10
|
-
* Creates a polygon feature representing a circle based on a given feature with a circle geometry.
|
|
11
|
-
*
|
|
12
|
-
* @param {Feature<Geometry>} feature - The input feature with a circle geometry.
|
|
13
|
-
* @param {FeatureOutputFormat} format - The format for outputting the polygon feature. (default: FeatureOutputFormat.GeoJson)
|
|
14
|
-
*
|
|
15
|
-
* @return {string} - The string representation of the polygon feature.
|
|
16
|
-
*/
|
|
17
|
-
static circle(feature: Feature<Geometry>, format?: FeatureOutputFormat): string;
|
|
18
|
-
/**
|
|
19
|
-
* Draw a circle based on a center point and radius.
|
|
20
|
-
*
|
|
21
|
-
* @param {number[]} point - The center point coordinates in EPSG:4326 format.
|
|
22
|
-
* @param {number} radius - The radius of the circle in meters.
|
|
23
|
-
* @return {Coordinate[][]} - The coordinates of the circle boundary in EPSG:4326 format.
|
|
24
|
-
*/
|
|
25
|
-
private static drawCircle;
|
|
26
|
-
}
|
|
1
|
+
import { Feature } from 'ol';
|
|
2
|
+
import { Geometry } from 'ol/geom';
|
|
3
|
+
import { FeatureOutputFormat } from '../models';
|
|
4
|
+
/**
|
|
5
|
+
* A helper class for converting and stringify features.
|
|
6
|
+
*/
|
|
7
|
+
export declare class StringifyFeatureHelper {
|
|
8
|
+
static polygon(feature: Feature<Geometry>, format?: FeatureOutputFormat): string;
|
|
9
|
+
/**
|
|
10
|
+
* Creates a polygon feature representing a circle based on a given feature with a circle geometry.
|
|
11
|
+
*
|
|
12
|
+
* @param {Feature<Geometry>} feature - The input feature with a circle geometry.
|
|
13
|
+
* @param {FeatureOutputFormat} format - The format for outputting the polygon feature. (default: FeatureOutputFormat.GeoJson)
|
|
14
|
+
*
|
|
15
|
+
* @return {string} - The string representation of the polygon feature.
|
|
16
|
+
*/
|
|
17
|
+
static circle(feature: Feature<Geometry>, format?: FeatureOutputFormat): string;
|
|
18
|
+
/**
|
|
19
|
+
* Draw a circle based on a center point and radius.
|
|
20
|
+
*
|
|
21
|
+
* @param {number[]} point - The center point coordinates in EPSG:4326 format.
|
|
22
|
+
* @param {number} radius - The radius of the circle in meters.
|
|
23
|
+
* @return {Coordinate[][]} - The coordinates of the circle boundary in EPSG:4326 format.
|
|
24
|
+
*/
|
|
25
|
+
private static drawCircle;
|
|
26
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Text } from 'ol/style';
|
|
2
|
-
/**
|
|
3
|
-
* Helper class for creating text styles.
|
|
4
|
-
*/
|
|
5
|
-
export declare class TextStyleHelper {
|
|
6
|
-
/**
|
|
7
|
-
* Creates a new instance of the Text class with the specified properties.
|
|
8
|
-
*
|
|
9
|
-
* @param {string} text - The text content of the Text object.
|
|
10
|
-
* @param {string} font - The font style of the Text object.
|
|
11
|
-
* @param {string} color - The color of the Text object.
|
|
12
|
-
* @return {Text} A new instance of the Text class.
|
|
13
|
-
*/
|
|
14
|
-
static get(text: string, font: string, color: string): Text;
|
|
15
|
-
}
|
|
1
|
+
import { Text } from 'ol/style';
|
|
2
|
+
/**
|
|
3
|
+
* Helper class for creating text styles.
|
|
4
|
+
*/
|
|
5
|
+
export declare class TextStyleHelper {
|
|
6
|
+
/**
|
|
7
|
+
* Creates a new instance of the Text class with the specified properties.
|
|
8
|
+
*
|
|
9
|
+
* @param {string} text - The text content of the Text object.
|
|
10
|
+
* @param {string} font - The font style of the Text object.
|
|
11
|
+
* @param {string} color - The color of the Text object.
|
|
12
|
+
* @return {Text} A new instance of the Text class.
|
|
13
|
+
*/
|
|
14
|
+
static get(text: string, font: string, color: string): Text;
|
|
15
|
+
}
|
package/dist/src/map/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="maps-components/src/map" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="maps-components/src/map" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './map-control-zoom/zoom-control.settings';
|
|
2
|
-
export * from './map-control-zoom/map-control-zoom.component';
|
|
1
|
+
export * from './map-control-zoom/zoom-control.settings';
|
|
2
|
+
export * from './map-control-zoom/map-control-zoom.component';
|