@igo2/geo 19.0.2 → 20.0.0-next.1
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/fesm2022/igo2-geo.mjs +1269 -1908
- package/fesm2022/igo2-geo.mjs.map +1 -1
- package/index.d.ts +11894 -3
- package/package.json +13 -16
- package/lib/catalog/catalog-browser/catalog-browser-group.component.d.ts +0 -117
- package/lib/catalog/catalog-browser/catalog-browser-layer.component.d.ts +0 -77
- package/lib/catalog/catalog-browser/catalog-browser.component.d.ts +0 -99
- package/lib/catalog/catalog-browser/catalog-browser.module.d.ts +0 -10
- package/lib/catalog/catalog-library/add-catalog-dialog.component.d.ts +0 -40
- package/lib/catalog/catalog-library/catalog-library-item.component.d.ts +0 -25
- package/lib/catalog/catalog-library/catalog-library.component.d.ts +0 -68
- package/lib/catalog/catalog-library/catalog-library.module.d.ts +0 -14
- package/lib/catalog/catalog-library/index.d.ts +0 -3
- package/lib/catalog/catalog.module.d.ts +0 -14
- package/lib/catalog/index.d.ts +0 -5
- package/lib/catalog/shared/catalog.abstract.d.ts +0 -37
- package/lib/catalog/shared/catalog.enum.d.ts +0 -16
- package/lib/catalog/shared/catalog.interface.d.ts +0 -77
- package/lib/catalog/shared/catalog.service.d.ts +0 -38
- package/lib/catalog/shared/catalogs.d.ts +0 -35
- package/lib/catalog/shared/index.d.ts +0 -4
- package/lib/datasource/index.d.ts +0 -2
- package/lib/datasource/shared/capabilities.interface.d.ts +0 -24
- package/lib/datasource/shared/capabilities.service.d.ts +0 -36
- package/lib/datasource/shared/datasource.service.d.ts +0 -39
- package/lib/datasource/shared/datasources/any-datasource.d.ts +0 -16
- package/lib/datasource/shared/datasources/any-datasource.interface.d.ts +0 -16
- package/lib/datasource/shared/datasources/arcgisrest-datasource.d.ts +0 -14
- package/lib/datasource/shared/datasources/arcgisrest-datasource.interface.d.ts +0 -14
- package/lib/datasource/shared/datasources/carto-datasource.d.ts +0 -16
- package/lib/datasource/shared/datasources/carto-datasource.interface.d.ts +0 -11
- package/lib/datasource/shared/datasources/cluster-datasource.d.ts +0 -11
- package/lib/datasource/shared/datasources/cluster-datasource.interface.d.ts +0 -9
- package/lib/datasource/shared/datasources/data.service.d.ts +0 -3
- package/lib/datasource/shared/datasources/datasource.d.ts +0 -38
- package/lib/datasource/shared/datasources/datasource.interface.d.ts +0 -109
- package/lib/datasource/shared/datasources/feature-datasource.d.ts +0 -12
- package/lib/datasource/shared/datasources/feature-datasource.interface.d.ts +0 -19
- package/lib/datasource/shared/datasources/imagearcgisrest-datasource.d.ts +0 -16
- package/lib/datasource/shared/datasources/imagearcgisrest-datasource.interface.d.ts +0 -13
- package/lib/datasource/shared/datasources/index.d.ts +0 -35
- package/lib/datasource/shared/datasources/mvt-datasource.d.ts +0 -11
- package/lib/datasource/shared/datasources/mvt-datasource.interface.d.ts +0 -11
- package/lib/datasource/shared/datasources/osm-datasource.d.ts +0 -9
- package/lib/datasource/shared/datasources/osm-datasource.interface.d.ts +0 -5
- package/lib/datasource/shared/datasources/tilearcgisrest-datasource.d.ts +0 -16
- package/lib/datasource/shared/datasources/tilearcgisrest-datasource.interface.d.ts +0 -12
- package/lib/datasource/shared/datasources/tiledebug-datasource.d.ts +0 -9
- package/lib/datasource/shared/datasources/tiledebug-datasource.interface.d.ts +0 -7
- package/lib/datasource/shared/datasources/websocket-datasource.d.ts +0 -14
- package/lib/datasource/shared/datasources/websocket-datasource.interface.d.ts +0 -7
- package/lib/datasource/shared/datasources/wfs-datasource.d.ts +0 -37
- package/lib/datasource/shared/datasources/wfs-datasource.interface.d.ts +0 -18
- package/lib/datasource/shared/datasources/wfs.service.d.ts +0 -17
- package/lib/datasource/shared/datasources/wms-datasource.d.ts +0 -58
- package/lib/datasource/shared/datasources/wms-datasource.interface.d.ts +0 -37
- package/lib/datasource/shared/datasources/wms-wfs.utils.d.ts +0 -43
- package/lib/datasource/shared/datasources/wmts-datasource.d.ts +0 -10
- package/lib/datasource/shared/datasources/wmts-datasource.interface.d.ts +0 -11
- package/lib/datasource/shared/datasources/xyz-datasource.d.ts +0 -9
- package/lib/datasource/shared/datasources/xyz-datasource.interface.d.ts +0 -9
- package/lib/datasource/shared/index.d.ts +0 -5
- package/lib/datasource/shared/options/index.d.ts +0 -4
- package/lib/datasource/shared/options/options-api.interface.d.ts +0 -4
- package/lib/datasource/shared/options/options-api.providers.d.ts +0 -10
- package/lib/datasource/shared/options/options-api.service.d.ts +0 -17
- package/lib/datasource/shared/options/options.service.d.ts +0 -6
- package/lib/datasource/utils/index.d.ts +0 -1
- package/lib/datasource/utils/tilegrid.d.ts +0 -2
- package/lib/directions/directions-buttons/directions-buttons.component.d.ts +0 -76
- package/lib/directions/directions-buttons/index.d.ts +0 -1
- package/lib/directions/directions-inputs/directions-inputs.component.d.ts +0 -147
- package/lib/directions/directions-inputs/index.d.ts +0 -1
- package/lib/directions/directions-results/directions-results.component.d.ts +0 -64
- package/lib/directions/directions-results/index.d.ts +0 -1
- package/lib/directions/directions-sources/directions-source.d.ts +0 -11
- package/lib/directions/directions-sources/directions-source.interface.d.ts +0 -28
- package/lib/directions/directions-sources/directions-source.provider.d.ts +0 -13
- package/lib/directions/directions-sources/index.d.ts +0 -4
- package/lib/directions/directions-sources/osrm-directions-source.d.ts +0 -33
- package/lib/directions/directions.component.d.ts +0 -76
- package/lib/directions/directions.module.d.ts +0 -15
- package/lib/directions/directions.provider.d.ts +0 -3
- package/lib/directions/index.d.ts +0 -7
- package/lib/directions/shared/directions-source.service.d.ts +0 -11
- package/lib/directions/shared/directions.enum.d.ts +0 -63
- package/lib/directions/shared/directions.interface.d.ts +0 -139
- package/lib/directions/shared/directions.service.d.ts +0 -69
- package/lib/directions/shared/directions.utils.d.ts +0 -121
- package/lib/directions/shared/index.d.ts +0 -5
- package/lib/directions/shared/store.d.ts +0 -18
- package/lib/download/download-button/download-button.component.d.ts +0 -14
- package/lib/download/download-button/index.d.ts +0 -1
- package/lib/download/download.module.d.ts +0 -12
- package/lib/download/index.d.ts +0 -2
- package/lib/download/shared/download.interface.d.ts +0 -10
- package/lib/download/shared/download.service.d.ts +0 -10
- package/lib/download/shared/index.d.ts +0 -2
- package/lib/draw/draw/draw-layer-popup.component.d.ts +0 -14
- package/lib/draw/draw/draw-popup.component.d.ts +0 -63
- package/lib/draw/draw/draw-shorcuts.component.d.ts +0 -7
- package/lib/draw/draw/draw.component.d.ts +0 -240
- package/lib/draw/draw/draw.module.d.ts +0 -10
- package/lib/draw/drawingTool.module.d.ts +0 -10
- package/lib/draw/index.d.ts +0 -2
- package/lib/draw/shared/draw-icon.service.d.ts +0 -12
- package/lib/draw/shared/draw.enum.d.ts +0 -17
- package/lib/draw/shared/draw.interface.d.ts +0 -39
- package/lib/draw/shared/draw.utils.d.ts +0 -36
- package/lib/draw/shared/index.d.ts +0 -4
- package/lib/environment/environment.interface.d.ts +0 -53
- package/lib/environment/index.d.ts +0 -1
- package/lib/feature/feature-details/feature-details.component.d.ts +0 -63
- package/lib/feature/feature-details/feature-details.directive.d.ts +0 -17
- package/lib/feature/feature-details/feature-details.module.d.ts +0 -14
- package/lib/feature/feature-details/index.d.ts +0 -3
- package/lib/feature/feature-form/feature-form.component.d.ts +0 -44
- package/lib/feature/feature-form/feature-form.module.d.ts +0 -10
- package/lib/feature/feature.module.d.ts +0 -14
- package/lib/feature/index.d.ts +0 -4
- package/lib/feature/shared/feature-store.utils.d.ts +0 -10
- package/lib/feature/shared/feature.enums.d.ts +0 -7
- package/lib/feature/shared/feature.interfaces.d.ts +0 -75
- package/lib/feature/shared/feature.utils.d.ts +0 -98
- package/lib/feature/shared/index.d.ts +0 -7
- package/lib/feature/shared/store.d.ts +0 -78
- package/lib/feature/shared/strategies/geo-properties.d.ts +0 -61
- package/lib/feature/shared/strategies/in-map-extent.d.ts +0 -53
- package/lib/feature/shared/strategies/in-map-resolution.d.ts +0 -52
- package/lib/feature/shared/strategies/index.d.ts +0 -7
- package/lib/feature/shared/strategies/loading-layer.d.ts +0 -59
- package/lib/feature/shared/strategies/loading.d.ts +0 -75
- package/lib/feature/shared/strategies/search.d.ts +0 -55
- package/lib/feature/shared/strategies/selection.d.ts +0 -176
- package/lib/feature/shared/strategies.utils.d.ts +0 -17
- package/lib/filter/filter.module.d.ts +0 -48
- package/lib/filter/index.d.ts +0 -16
- package/lib/filter/ogc-filter-button/index.d.ts +0 -1
- package/lib/filter/ogc-filter-button/ogc-filter-button.component.d.ts +0 -19
- package/lib/filter/ogc-filter-form/index.d.ts +0 -1
- package/lib/filter/ogc-filter-form/ogc-filter-form.component.d.ts +0 -63
- package/lib/filter/ogc-filter-selection/index.d.ts +0 -1
- package/lib/filter/ogc-filter-selection/ogc-filter-selection.component.d.ts +0 -99
- package/lib/filter/ogc-filter-time/index.d.ts +0 -2
- package/lib/filter/ogc-filter-time/ogc-filter-time-slider.component.d.ts +0 -39
- package/lib/filter/ogc-filter-time/ogc-filter-time.component.d.ts +0 -88
- package/lib/filter/ogc-filterable-form/index.d.ts +0 -1
- package/lib/filter/ogc-filterable-form/ogc-filterable-form.component.d.ts +0 -14
- package/lib/filter/ogc-filterable-item/index.d.ts +0 -1
- package/lib/filter/ogc-filterable-item/ogc-filterable-item.component.d.ts +0 -41
- package/lib/filter/ogc-filterable-list/index.d.ts +0 -2
- package/lib/filter/ogc-filterable-list/ogc-filterable-list-binding.directive.d.ts +0 -14
- package/lib/filter/ogc-filterable-list/ogc-filterable-list.component.d.ts +0 -9
- package/lib/filter/shared/date.utils.d.ts +0 -9
- package/lib/filter/shared/filter.utils.d.ts +0 -26
- package/lib/filter/shared/filterable-datasource.pipe.d.ts +0 -10
- package/lib/filter/shared/index.d.ts +0 -11
- package/lib/filter/shared/ogc-filter-time.service.d.ts +0 -18
- package/lib/filter/shared/ogc-filter.d.ts +0 -30
- package/lib/filter/shared/ogc-filter.enum.d.ts +0 -27
- package/lib/filter/shared/ogc-filter.interface.d.ts +0 -205
- package/lib/filter/shared/ogc-filter.service.d.ts +0 -12
- package/lib/filter/shared/spatial-filter.enum.d.ts +0 -19
- package/lib/filter/shared/spatial-filter.interface.d.ts +0 -10
- package/lib/filter/shared/spatial-filter.service.d.ts +0 -36
- package/lib/filter/shared/time-filter.enum.d.ts +0 -10
- package/lib/filter/shared/time-filter.interface.d.ts +0 -15
- package/lib/filter/shared/time-filter.service.d.ts +0 -10
- package/lib/filter/spatial-filter/spatial-filter-item/index.d.ts +0 -1
- package/lib/filter/spatial-filter/spatial-filter-item/spatial-filter-item.component.d.ts +0 -163
- package/lib/filter/spatial-filter/spatial-filter-list/index.d.ts +0 -1
- package/lib/filter/spatial-filter/spatial-filter-list/spatial-filter-list.component.d.ts +0 -51
- package/lib/filter/spatial-filter/spatial-filter-type/index.d.ts +0 -1
- package/lib/filter/spatial-filter/spatial-filter-type/spatial-filter-type.component.d.ts +0 -38
- package/lib/filter/time-filter-button/index.d.ts +0 -1
- package/lib/filter/time-filter-button/time-filter-button.component.d.ts +0 -19
- package/lib/filter/time-filter-form/index.d.ts +0 -1
- package/lib/filter/time-filter-form/time-filter-form.component.d.ts +0 -82
- package/lib/filter/time-filter-item/index.d.ts +0 -1
- package/lib/filter/time-filter-item/time-filter-item.component.d.ts +0 -29
- package/lib/filter/time-filter-list/index.d.ts +0 -2
- package/lib/filter/time-filter-list/time-filter-list-binding.directive.d.ts +0 -14
- package/lib/filter/time-filter-list/time-filter-list.component.d.ts +0 -7
- package/lib/geo.module.d.ts +0 -18
- package/lib/geometry/geometry-form-field/geometry-form-field-input.component.d.ts +0 -199
- package/lib/geometry/geometry-form-field/geometry-form-field.component.d.ts +0 -86
- package/lib/geometry/geometry-form-field/geometry-form-field.module.d.ts +0 -14
- package/lib/geometry/geometry-form-field/index.d.ts +0 -3
- package/lib/geometry/geometry.module.d.ts +0 -10
- package/lib/geometry/index.d.ts +0 -2
- package/lib/geometry/shared/controls/draw.d.ts +0 -150
- package/lib/geometry/shared/controls/index.d.ts +0 -3
- package/lib/geometry/shared/controls/modify.d.ts +0 -228
- package/lib/geometry/shared/controls/slice.d.ts +0 -99
- package/lib/geometry/shared/geometry.errors.d.ts +0 -11
- package/lib/geometry/shared/geometry.interfaces.d.ts +0 -13
- package/lib/geometry/shared/geometry.utils.d.ts +0 -43
- package/lib/geometry/shared/index.d.ts +0 -4
- package/lib/import-export/export-button/export-button.component.d.ts +0 -11
- package/lib/import-export/export-button/index.d.ts +0 -1
- package/lib/import-export/import-export/import-export.component.d.ts +0 -119
- package/lib/import-export/import-export/index.d.ts +0 -1
- package/lib/import-export/import-export.module.d.ts +0 -18
- package/lib/import-export/index.d.ts +0 -4
- package/lib/import-export/shared/drop-geo-file.directive.d.ts +0 -39
- package/lib/import-export/shared/export.errors.d.ts +0 -8
- package/lib/import-export/shared/export.interface.d.ts +0 -18
- package/lib/import-export/shared/export.service.d.ts +0 -43
- package/lib/import-export/shared/export.type.d.ts +0 -8
- package/lib/import-export/shared/export.utils.d.ts +0 -21
- package/lib/import-export/shared/import.errors.d.ts +0 -20
- package/lib/import-export/shared/import.interface.d.ts +0 -11
- package/lib/import-export/shared/import.service.d.ts +0 -31
- package/lib/import-export/shared/import.utils.d.ts +0 -20
- package/lib/import-export/shared/index.d.ts +0 -10
- package/lib/layer/index.d.ts +0 -15
- package/lib/layer/layer-group/index.d.ts +0 -1
- package/lib/layer/layer-group/layer-group.component.d.ts +0 -30
- package/lib/layer/layer-item/index.d.ts +0 -1
- package/lib/layer/layer-item/layer-item.component.d.ts +0 -43
- package/lib/layer/layer-legend/index.d.ts +0 -1
- package/lib/layer/layer-legend/layer-legend.component.d.ts +0 -86
- package/lib/layer/layer-legend-item/index.d.ts +0 -1
- package/lib/layer/layer-legend-item/layer-legend-item.component.d.ts +0 -22
- package/lib/layer/layer-legend-list/index.d.ts +0 -2
- package/lib/layer/layer-legend-list/layer-legend-list-binding.directive.d.ts +0 -16
- package/lib/layer/layer-legend-list/layer-legend-list.component.d.ts +0 -29
- package/lib/layer/layer-list/index.d.ts +0 -1
- package/lib/layer/layer-list/layer-list.component.d.ts +0 -55
- package/lib/layer/layer-list-tool/index.d.ts +0 -3
- package/lib/layer/layer-list-tool/layer-list-tool.component.d.ts +0 -25
- package/lib/layer/layer-list-tool/layer-list-tool.interface.d.ts +0 -12
- package/lib/layer/layer-list-tool/layer-list-tool.service.d.ts +0 -14
- package/lib/layer/layer-search/index.d.ts +0 -1
- package/lib/layer/layer-search/layer-search.component.d.ts +0 -16
- package/lib/layer/layer-unavailable/index.d.ts +0 -2
- package/lib/layer/layer-unavailable/layer-unavailable-list/layer-unavailable-list.component.d.ts +0 -10
- package/lib/layer/layer-unavailable/layer-unavailable.component.d.ts +0 -11
- package/lib/layer/layer-viewer/index.d.ts +0 -2
- package/lib/layer/layer-viewer/layer-viewer.component.d.ts +0 -52
- package/lib/layer/layer-viewer/layer-viewer.interface.d.ts +0 -22
- package/lib/layer/layer-viewer-bottom-actions/index.d.ts +0 -1
- package/lib/layer/layer-viewer-bottom-actions/layer-viewer-bottom-actions.component.d.ts +0 -44
- package/lib/layer/layer-visibility-button/index.d.ts +0 -1
- package/lib/layer/layer-visibility-button/layer-visibility-button.component.d.ts +0 -22
- package/lib/layer/layer.module.d.ts +0 -42
- package/lib/layer/shared/clusterParam.d.ts +0 -11
- package/lib/layer/shared/index.d.ts +0 -5
- package/lib/layer/shared/layer-controller.d.ts +0 -81
- package/lib/layer/shared/layer-selection.d.ts +0 -14
- package/lib/layer/shared/layer.enums.d.ts +0 -1
- package/lib/layer/shared/layer.service.d.ts +0 -40
- package/lib/layer/shared/layers/any-layer.d.ts +0 -3
- package/lib/layer/shared/layers/any-layer.interface.d.ts +0 -8
- package/lib/layer/shared/layers/image-layer.d.ts +0 -24
- package/lib/layer/shared/layers/image-layer.interface.d.ts +0 -16
- package/lib/layer/shared/layers/index.d.ts +0 -17
- package/lib/layer/shared/layers/layer-base.d.ts +0 -75
- package/lib/layer/shared/layers/layer-group.d.ts +0 -33
- package/lib/layer/shared/layers/layer-group.interface.d.ts +0 -8
- package/lib/layer/shared/layers/layer.d.ts +0 -46
- package/lib/layer/shared/layers/layer.interface.d.ts +0 -72
- package/lib/layer/shared/layers/legend.interface.d.ts +0 -22
- package/lib/layer/shared/layers/linked/index.d.ts +0 -3
- package/lib/layer/shared/layers/linked/linked-layer.d.ts +0 -36
- package/lib/layer/shared/layers/linked/linked-layer.interface.d.ts +0 -33
- package/lib/layer/shared/layers/linked/linked-layer.utils.d.ts +0 -9
- package/lib/layer/shared/layers/tile-layer.d.ts +0 -34
- package/lib/layer/shared/layers/tile-layer.interface.d.ts +0 -20
- package/lib/layer/shared/layers/vector-layer.d.ts +0 -91
- package/lib/layer/shared/layers/vector-layer.interface.d.ts +0 -42
- package/lib/layer/shared/layers/vectortile-layer.d.ts +0 -31
- package/lib/layer/shared/layers/vectortile-layer.interface.d.ts +0 -16
- package/lib/layer/track-feature-button/index.d.ts +0 -1
- package/lib/layer/track-feature-button/track-feature-button.component.d.ts +0 -14
- package/lib/layer/utils/image-watcher.d.ts +0 -16
- package/lib/layer/utils/index.d.ts +0 -6
- package/lib/layer/utils/layer-options.utils.d.ts +0 -12
- package/lib/layer/utils/layer.utils.d.ts +0 -12
- package/lib/layer/utils/outputLegend.d.ts +0 -7
- package/lib/layer/utils/tile-watcher.d.ts +0 -14
- package/lib/layer/utils/vector-watcher.d.ts +0 -13
- package/lib/map/baselayers-switcher/baselayers-switcher.animation.d.ts +0 -2
- package/lib/map/baselayers-switcher/baselayers-switcher.component.d.ts +0 -22
- package/lib/map/baselayers-switcher/index.d.ts +0 -2
- package/lib/map/baselayers-switcher/mini-basemap.component.d.ts +0 -26
- package/lib/map/geolocate-button/geolocate-button.component.d.ts +0 -22
- package/lib/map/geolocate-button/index.d.ts +0 -1
- package/lib/map/home-extent-button/home-extent-button.component.d.ts +0 -20
- package/lib/map/home-extent-button/home-extent-button.interface.d.ts +0 -6
- package/lib/map/home-extent-button/index.d.ts +0 -2
- package/lib/map/index.d.ts +0 -13
- package/lib/map/info-section/index.d.ts +0 -1
- package/lib/map/info-section/info-section.component.d.ts +0 -6
- package/lib/map/map-browser/index.d.ts +0 -1
- package/lib/map/map-browser/map-browser.component.d.ts +0 -25
- package/lib/map/map-center/index.d.ts +0 -1
- package/lib/map/map-center/map-center.component.d.ts +0 -30
- package/lib/map/map.module.d.ts +0 -42
- package/lib/map/menu-button/index.d.ts +0 -1
- package/lib/map/menu-button/menu-button.component.d.ts +0 -17
- package/lib/map/offline-button/index.d.ts +0 -1
- package/lib/map/offline-button/offline-button.component.d.ts +0 -14
- package/lib/map/rotation-button/index.d.ts +0 -1
- package/lib/map/rotation-button/rotation-button.component.d.ts +0 -18
- package/lib/map/shared/controllers/controller.d.ts +0 -29
- package/lib/map/shared/controllers/geolocation.d.ts +0 -96
- package/lib/map/shared/controllers/geolocation.interface.d.ts +0 -39
- package/lib/map/shared/controllers/index.d.ts +0 -4
- package/lib/map/shared/controllers/view.d.ts +0 -200
- package/lib/map/shared/hover-feature.directive.d.ts +0 -123
- package/lib/map/shared/index.d.ts +0 -14
- package/lib/map/shared/linkedLayers.utils.d.ts +0 -13
- package/lib/map/shared/map-pointer-position.directive.d.ts +0 -71
- package/lib/map/shared/map.abstract.d.ts +0 -43
- package/lib/map/shared/map.d.ts +0 -70
- package/lib/map/shared/map.enums.d.ts +0 -4
- package/lib/map/shared/map.interface.d.ts +0 -57
- package/lib/map/shared/map.service.d.ts +0 -18
- package/lib/map/shared/map.utils.d.ts +0 -92
- package/lib/map/shared/mapOffline.directive.d.ts +0 -19
- package/lib/map/shared/projection.interfaces.d.ts +0 -27
- package/lib/map/shared/projection.service.d.ts +0 -19
- package/lib/map/shared/projection.utils.d.ts +0 -30
- package/lib/map/swipe-control/index.d.ts +0 -1
- package/lib/map/swipe-control/swipe-control.component.d.ts +0 -96
- package/lib/map/utils/index.d.ts +0 -1
- package/lib/map/utils/layer-watcher.d.ts +0 -30
- package/lib/map/wake-lock-button/index.d.ts +0 -1
- package/lib/map/wake-lock-button/wake-lock-button.component.d.ts +0 -27
- package/lib/map/zoom-button/index.d.ts +0 -1
- package/lib/map/zoom-button/zoom-button.component.d.ts +0 -11
- package/lib/measure/index.d.ts +0 -2
- package/lib/measure/measure.module.d.ts +0 -10
- package/lib/measure/measurer/index.d.ts +0 -5
- package/lib/measure/measurer/measure-format.pipe.d.ts +0 -15
- package/lib/measure/measurer/measurer-dialog.component.d.ts +0 -14
- package/lib/measure/measurer/measurer-item.component.d.ts +0 -65
- package/lib/measure/measurer/measurer.component.d.ts +0 -401
- package/lib/measure/measurer/measurer.module.d.ts +0 -11
- package/lib/measure/shared/index.d.ts +0 -3
- package/lib/measure/shared/measure.enum.d.ts +0 -33
- package/lib/measure/shared/measure.interfaces.d.ts +0 -20
- package/lib/measure/shared/measure.utils.d.ts +0 -180
- package/lib/metadata/index.d.ts +0 -3
- package/lib/metadata/metadata-button/index.d.ts +0 -1
- package/lib/metadata/metadata-button/metadata-button.component.d.ts +0 -22
- package/lib/metadata/metadata.module.d.ts +0 -14
- package/lib/metadata/shared/index.d.ts +0 -2
- package/lib/metadata/shared/metadata.interface.d.ts +0 -13
- package/lib/metadata/shared/metadata.service.d.ts +0 -7
- package/lib/offline/geoDB/configFileToGeoDB.service.d.ts +0 -12
- package/lib/offline/geoDB/geoDB.d.ts +0 -36
- package/lib/offline/geoDB/geoDB.enums.d.ts +0 -4
- package/lib/offline/geoDB/geoDB.interface.d.ts +0 -19
- package/lib/offline/geoDB/index.d.ts +0 -4
- package/lib/offline/index.d.ts +0 -5
- package/lib/offline/layerDB/index.d.ts +0 -2
- package/lib/offline/layerDB/layerDB.d.ts +0 -34
- package/lib/offline/layerDB/layerDB.interface.d.ts +0 -7
- package/lib/offline/offline.interface.d.ts +0 -3
- package/lib/offline/offline.provider.d.ts +0 -5
- package/lib/offline/shared/geo-network.service.d.ts +0 -27
- package/lib/offline/shared/index.d.ts +0 -1
- package/lib/offline/shared/indexed-db.interface.d.ts +0 -16
- package/lib/offline/shared/indexed-db.utils.d.ts +0 -4
- package/lib/overlay/index.d.ts +0 -1
- package/lib/overlay/shared/index.d.ts +0 -3
- package/lib/overlay/shared/overlay.d.ts +0 -82
- package/lib/overlay/shared/overlay.enum.d.ts +0 -6
- package/lib/overlay/shared/overlay.utils.d.ts +0 -6
- package/lib/print/index.d.ts +0 -3
- package/lib/print/print/print.component.d.ts +0 -35
- package/lib/print/print-form/index.d.ts +0 -1
- package/lib/print/print-form/print-form.component.d.ts +0 -99
- package/lib/print/print.module.d.ts +0 -11
- package/lib/print/shared/geopdf.d.ts +0 -1
- package/lib/print/shared/index.d.ts +0 -4
- package/lib/print/shared/print.interface.d.ts +0 -23
- package/lib/print/shared/print.service.d.ts +0 -184
- package/lib/print/shared/print.type.d.ts +0 -40
- package/lib/query/index.d.ts +0 -1
- package/lib/query/query.module.d.ts +0 -11
- package/lib/query/shared/index.d.ts +0 -7
- package/lib/query/shared/query-search-source.d.ts +0 -17
- package/lib/query/shared/query-search-source.providers.d.ts +0 -17
- package/lib/query/shared/query.directive.d.ts +0 -105
- package/lib/query/shared/query.enums.d.ts +0 -26
- package/lib/query/shared/query.interfaces.d.ts +0 -34
- package/lib/query/shared/query.service.d.ts +0 -54
- package/lib/query/shared/query.utils.d.ts +0 -28
- package/lib/search/index.d.ts +0 -9
- package/lib/search/search-bar/search-bar.component.d.ts +0 -233
- package/lib/search/search-bar/search-bar.module.d.ts +0 -10
- package/lib/search/search-results/index.d.ts +0 -4
- package/lib/search/search-results/save-feature-dialog.component.d.ts +0 -32
- package/lib/search/search-results/search-results-add-button.component.d.ts +0 -84
- package/lib/search/search-results/search-results-item.component.d.ts +0 -52
- package/lib/search/search-results/search-results.component.d.ts +0 -155
- package/lib/search/search-results/search-results.directive.d.ts +0 -3
- package/lib/search/search-results/search-results.module.d.ts +0 -11
- package/lib/search/search-selector/search-selector.component.d.ts +0 -58
- package/lib/search/search-selector/search-selector.module.d.ts +0 -10
- package/lib/search/search-settings/search-settings.component.d.ts +0 -109
- package/lib/search/search-settings/search-settings.module.d.ts +0 -10
- package/lib/search/search.module.d.ts +0 -21
- package/lib/search/shared/index.d.ts +0 -9
- package/lib/search/shared/search-pointer-summary.directive.d.ts +0 -124
- package/lib/search/shared/search-source-service.providers.d.ts +0 -15
- package/lib/search/shared/search-source.service.d.ts +0 -39
- package/lib/search/shared/search.enums.d.ts +0 -1
- package/lib/search/shared/search.interfaces.d.ts +0 -54
- package/lib/search/shared/search.provider.d.ts +0 -8
- package/lib/search/shared/search.service.d.ts +0 -58
- package/lib/search/shared/search.utils.d.ts +0 -39
- package/lib/search/shared/sources/cadastre.d.ts +0 -35
- package/lib/search/shared/sources/cadastre.providers.d.ts +0 -22
- package/lib/search/shared/sources/coordinates.d.ts +0 -41
- package/lib/search/shared/sources/coordinates.interfaces.d.ts +0 -12
- package/lib/search/shared/sources/coordinates.providers.d.ts +0 -35
- package/lib/search/shared/sources/icherche-icons.d.ts +0 -5
- package/lib/search/shared/sources/icherche.d.ts +0 -101
- package/lib/search/shared/sources/icherche.interfaces.d.ts +0 -26
- package/lib/search/shared/sources/icherche.providers.d.ts +0 -42
- package/lib/search/shared/sources/ilayer.d.ts +0 -57
- package/lib/search/shared/sources/ilayer.interfaces.d.ts +0 -43
- package/lib/search/shared/sources/ilayer.providers.d.ts +0 -35
- package/lib/search/shared/sources/index.d.ts +0 -22
- package/lib/search/shared/sources/nominatim.d.ts +0 -46
- package/lib/search/shared/sources/nominatim.interfaces.d.ts +0 -10
- package/lib/search/shared/sources/nominatim.providers.d.ts +0 -21
- package/lib/search/shared/sources/source.d.ts +0 -88
- package/lib/search/shared/sources/source.interfaces.d.ts +0 -65
- package/lib/search/shared/sources/storedqueries.d.ts +0 -76
- package/lib/search/shared/sources/storedqueries.interfaces.d.ts +0 -38
- package/lib/search/shared/sources/storedqueries.providers.d.ts +0 -37
- package/lib/search/shared/sources/workspace.d.ts +0 -34
- package/lib/search/shared/sources/workspace.interfaces.d.ts +0 -9
- package/lib/search/shared/sources/workspace.providers.d.ts +0 -21
- package/lib/style/index.d.ts +0 -4
- package/lib/style/shared/datasource/esri-style-generator.d.ts +0 -21
- package/lib/style/shared/datasource/index.d.ts +0 -1
- package/lib/style/shared/feature/feature-style.d.ts +0 -18
- package/lib/style/shared/feature/index.d.ts +0 -1
- package/lib/style/shared/font.enum.d.ts +0 -15
- package/lib/style/shared/index.d.ts +0 -4
- package/lib/style/shared/overlay/index.d.ts +0 -2
- package/lib/style/shared/overlay/overlay-marker-style.utils.d.ts +0 -11
- package/lib/style/shared/overlay/overlay-style.utils.d.ts +0 -19
- package/lib/style/shared/vector/commonVectorStyle.d.ts +0 -14
- package/lib/style/shared/vector/conversion.utils.d.ts +0 -21
- package/lib/style/shared/vector/index.d.ts +0 -3
- package/lib/style/shared/vector/vector-style.interface.d.ts +0 -66
- package/lib/style/style-list/index.d.ts +0 -4
- package/lib/style/style-list/style-list.interface.d.ts +0 -4
- package/lib/style/style-list/style-list.module.d.ts +0 -8
- package/lib/style/style-list/style-list.provider.d.ts +0 -8
- package/lib/style/style-list/style-list.service.d.ts +0 -18
- package/lib/style/style-modal/drawing/index.d.ts +0 -1
- package/lib/style/style-modal/drawing/style-modal-drawing.component.d.ts +0 -33
- package/lib/style/style-modal/index.d.ts +0 -4
- package/lib/style/style-modal/layer/index.d.ts +0 -1
- package/lib/style/style-modal/layer/style-modal-layer.component.d.ts +0 -32
- package/lib/style/style-modal/layer-button/index.d.ts +0 -1
- package/lib/style/style-modal/layer-button/style-modal-layer-button.component.d.ts +0 -14
- package/lib/style/style-modal/shared/index.d.ts +0 -1
- package/lib/style/style-modal/shared/style-modal.interface.d.ts +0 -17
- package/lib/style/style-service/draw-style.service.d.ts +0 -34
- package/lib/style/style-service/index.d.ts +0 -2
- package/lib/style/style-service/style.service.d.ts +0 -55
- package/lib/style/style.module.d.ts +0 -12
- package/lib/toast/index.d.ts +0 -1
- package/lib/toast/toast.component.d.ts +0 -32
- package/lib/toast/toast.module.d.ts +0 -12
- package/lib/utils/googleLinks.d.ts +0 -5
- package/lib/utils/id-generator.d.ts +0 -53
- package/lib/utils/index.d.ts +0 -4
- package/lib/utils/osmLinks.d.ts +0 -4
- package/lib/utils/propertyTypeDetector/index.d.ts +0 -2
- package/lib/utils/propertyTypeDetector/propertyTypeDetector.interface.d.ts +0 -5
- package/lib/utils/propertyTypeDetector/propertyTypeDetector.service.d.ts +0 -15
- package/lib/wkt/index.d.ts +0 -1
- package/lib/wkt/shared/index.d.ts +0 -1
- package/lib/wkt/shared/wkt.service.d.ts +0 -18
- package/lib/wkt/wkt.module.d.ts +0 -11
- package/lib/workspace/confirmation-popup/confirmation-popup.component.d.ts +0 -23
- package/lib/workspace/confirmation-popup/confirmation-popup.module.d.ts +0 -10
- package/lib/workspace/confirmation-popup/index.d.ts +0 -2
- package/lib/workspace/index.d.ts +0 -7
- package/lib/workspace/shared/edition-workspace.d.ts +0 -82
- package/lib/workspace/shared/edition-workspace.service.d.ts +0 -50
- package/lib/workspace/shared/feature-workspace.d.ts +0 -18
- package/lib/workspace/shared/feature-workspace.service.d.ts +0 -23
- package/lib/workspace/shared/index.d.ts +0 -8
- package/lib/workspace/shared/wfs-workspace.d.ts +0 -18
- package/lib/workspace/shared/wfs-workspace.service.d.ts +0 -23
- package/lib/workspace/shared/wms-workspace.service.d.ts +0 -25
- package/lib/workspace/shared/workspace.interface.d.ts +0 -4
- package/lib/workspace/shared/workspace.utils.d.ts +0 -24
- package/lib/workspace/widgets/index.d.ts +0 -3
- package/lib/workspace/widgets/interactive-selection/interactive-selection.component.d.ts +0 -58
- package/lib/workspace/widgets/ogc-filter/ogc-filter.component.d.ts +0 -30
- package/lib/workspace/widgets/ogc-filter/ogc-filter.module.d.ts +0 -10
- package/lib/workspace/widgets/widgets.d.ts +0 -16
- package/lib/workspace/workspace-selector/workspace-selector.directive.d.ts +0 -35
- package/lib/workspace/workspace-selector/workspace-selector.module.d.ts +0 -10
- package/lib/workspace/workspace-updator/workspace-updator.directive.d.ts +0 -26
- package/lib/workspace/workspace-updator/workspace-updator.module.d.ts +0 -10
- package/lib/workspace/workspace.module.d.ts +0 -10
- package/public_api.d.ts +0 -52
- package/src/geo.theme.scss +0 -15
- package/src/lib/catalog/catalog-browser/catalog-browser.theming.scss +0 -22
- package/src/lib/catalog/catalog.theming.scss +0 -5
- package/src/lib/directions/directions-inputs/directions-inputs.theming.scss +0 -21
- package/src/lib/directions/directions.theming.scss +0 -5
- package/src/lib/draw/draw.theming.scss +0 -17
- package/src/lib/layer/layer-legend/layer-legend.theme.scss +0 -21
- package/src/lib/layer/layer-list-tool/layer-list-tool.theming.scss +0 -22
- package/src/lib/layer/layer.theming.scss +0 -9
- package/src/lib/map/map-browser/map-browser.theming.scss +0 -20
- package/src/lib/map/map.theming.scss +0 -5
- package/src/lib/search/search-bar/search-bar.theming.scss +0 -9
- package/src/lib/search/search.theming.scss +0 -5
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { ActivityService } from '@igo2/core/activity';
|
|
3
|
-
import { ConfigService } from '@igo2/core/config';
|
|
4
|
-
import { LanguageService } from '@igo2/core/language';
|
|
5
|
-
import { MessageService } from '@igo2/core/message';
|
|
6
|
-
import jsPDF from 'jspdf';
|
|
7
|
-
import { default as JSZip } from 'jszip';
|
|
8
|
-
import { Observable, Subject } from 'rxjs';
|
|
9
|
-
import { IgoMap } from '../../map/shared/map';
|
|
10
|
-
import { PrintOptions, TextPdfSizeAndMargin } from './print.interface';
|
|
11
|
-
import { PrintLegendPosition, PrintResolution } from './print.type';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
declare global {
|
|
14
|
-
interface Navigator {
|
|
15
|
-
msSaveBlob?: (blob: any, defaultName?: string) => boolean;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export declare class PrintService {
|
|
19
|
-
private http;
|
|
20
|
-
private messageService;
|
|
21
|
-
private activityService;
|
|
22
|
-
private languageService;
|
|
23
|
-
private configService;
|
|
24
|
-
private document;
|
|
25
|
-
zipFile: JSZip;
|
|
26
|
-
nbFileToProcess: number;
|
|
27
|
-
activityId: string;
|
|
28
|
-
mapPrintExtent: number[];
|
|
29
|
-
imgSizeAdded: number[];
|
|
30
|
-
TEXTPDFFONT: {
|
|
31
|
-
titleFont: string;
|
|
32
|
-
titleFontStyle: string;
|
|
33
|
-
subtitleFont: string;
|
|
34
|
-
subtitleFontStyle: string;
|
|
35
|
-
commentFont: string;
|
|
36
|
-
commentFontStyle: string;
|
|
37
|
-
commentFontSize: number;
|
|
38
|
-
};
|
|
39
|
-
constructor(http: HttpClient, messageService: MessageService, activityService: ActivityService, languageService: LanguageService, configService: ConfigService, document: Document);
|
|
40
|
-
print(map: IgoMap, options: PrintOptions): Subject<any>;
|
|
41
|
-
addGeoRef(doc: any, map: IgoMap, width: number, height: number, baseMargins: [number, number, number, number]): void;
|
|
42
|
-
/**
|
|
43
|
-
* Add measure overlay on the map on the document when the measure layer is present
|
|
44
|
-
* @param doc - Pdf document where measure tooltip will be added
|
|
45
|
-
* @param map - Map of the app
|
|
46
|
-
* @param baseMargins - Page margins
|
|
47
|
-
*/
|
|
48
|
-
private handleMeasureLayer;
|
|
49
|
-
/**
|
|
50
|
-
* Get html code for all layers legend
|
|
51
|
-
* @param map IgoMap
|
|
52
|
-
* @param width The width that the legend need to be
|
|
53
|
-
* @return Html code for the legend
|
|
54
|
-
*/
|
|
55
|
-
getLayersLegendHtml(map: IgoMap, width: number): Observable<string>;
|
|
56
|
-
getDataImage(url: string): Observable<string>;
|
|
57
|
-
/**
|
|
58
|
-
* Get all the legend in a single image
|
|
59
|
-
* * @param format - Image format. default value to "png"
|
|
60
|
-
* @return The image of the legend
|
|
61
|
-
*/
|
|
62
|
-
getLayersLegendImage(map: any, format: string, doZipFile: boolean): Promise<Subject<unknown>>;
|
|
63
|
-
private removeHtmlElement;
|
|
64
|
-
getTextPdfObjectSizeAndMarg(text: string, margins: any, font: string, fontSizeInPt: number, fontStyle: string, doc: jsPDF): TextPdfSizeAndMargin;
|
|
65
|
-
/**
|
|
66
|
-
* Add comment to the document
|
|
67
|
-
* @param doc - pdf document
|
|
68
|
-
* @param comment - Comment to add in the document
|
|
69
|
-
* @param baseMargins - top | right | bottom | left
|
|
70
|
-
* @param verticalSpacing - calculate text position and map height
|
|
71
|
-
*/
|
|
72
|
-
private addComment;
|
|
73
|
-
private addTextInPdfDoc;
|
|
74
|
-
/**
|
|
75
|
-
* Add attribution and/or (projection and/or scale) to the document
|
|
76
|
-
* @param map - Map of the app
|
|
77
|
-
* @param doc - pdf document
|
|
78
|
-
* @param options - Print options
|
|
79
|
-
* @param resolution - cart resolution
|
|
80
|
-
* @param baseMargins - top | right | bottom | left
|
|
81
|
-
* @param verticalSpacing - calculate text position and map height
|
|
82
|
-
*/
|
|
83
|
-
private handleFooter;
|
|
84
|
-
getAttributionText(map: IgoMap): string;
|
|
85
|
-
private getProjScale;
|
|
86
|
-
/**
|
|
87
|
-
* Add the legend to the document
|
|
88
|
-
* @param doc - Pdf document where legend will be added
|
|
89
|
-
* @param map - Map of the app
|
|
90
|
-
* @param margins - Page margins
|
|
91
|
-
*/
|
|
92
|
-
private addLegend;
|
|
93
|
-
/**
|
|
94
|
-
* Add the legend to the document
|
|
95
|
-
* @param doc - Pdf document where legend will be added
|
|
96
|
-
* @param map - Map of the app
|
|
97
|
-
* @param baseMargins - Page margins
|
|
98
|
-
*/
|
|
99
|
-
private addLegendSamePage;
|
|
100
|
-
defineNbFileToProcess(nbFileToProcess: any): void;
|
|
101
|
-
private timeout;
|
|
102
|
-
private addCanvas;
|
|
103
|
-
addMap(doc: jsPDF, map: IgoMap, resolution: number, imageDimensions: [number, number], baseMargins: [number, number, number, number]): Subject<unknown>;
|
|
104
|
-
private setMapResolution;
|
|
105
|
-
private resetOriginalMapSize;
|
|
106
|
-
drawMap(size: number[], mapCanvas: HTMLCollectionOf<HTMLCanvasElement>): Promise<HTMLCanvasElement>;
|
|
107
|
-
private handleCanvas;
|
|
108
|
-
drawMapControls(map: IgoMap, canvas: HTMLCanvasElement): Promise<void>;
|
|
109
|
-
private addNorthArrowInDoc;
|
|
110
|
-
/**
|
|
111
|
-
* @param rotation - map rotation 'rad' unit
|
|
112
|
-
*
|
|
113
|
-
*/
|
|
114
|
-
private createNorthDirectionArrow;
|
|
115
|
-
/**
|
|
116
|
-
* Download an image of the map with addition of informations
|
|
117
|
-
* @param map - Map of the app
|
|
118
|
-
* @param format - Image format. default value to "png"
|
|
119
|
-
* @param projection - Indicate if projection need to be add. Default to false
|
|
120
|
-
* @param scale - Indicate if scale need to be add. Default to false
|
|
121
|
-
* @param legend - Indicate if the legend of layers need to be download. Default to false
|
|
122
|
-
* @param title - Title to add for the map - Default to blank
|
|
123
|
-
* @param subtitle - Subtitle to add for the map - Default to blank
|
|
124
|
-
* @param comment - Comment to add for the map - Default to blank
|
|
125
|
-
* @param doZipFile - Indicate if we do a zip with the file
|
|
126
|
-
* @return Image file of the map with extension format given as parameter
|
|
127
|
-
*/
|
|
128
|
-
downloadMapImage(map: IgoMap, printResolution: PrintResolution, format: string, projection: boolean, scale: boolean, title: string, subtitle: string, comment: string, doZipFile: boolean, legendPosition: PrintLegendPosition, showNorthArrow: boolean): Subject<unknown>;
|
|
129
|
-
private setMapImageResolution;
|
|
130
|
-
/**
|
|
131
|
-
* Create and Add Legend to the map canvas
|
|
132
|
-
* @param canvas Canvas of the map
|
|
133
|
-
* @param map Map of the app
|
|
134
|
-
* @param resolution Resolution of map
|
|
135
|
-
* @param legendPosition Legend position
|
|
136
|
-
* @param format Image format
|
|
137
|
-
*/
|
|
138
|
-
private addLegendToImage;
|
|
139
|
-
/**
|
|
140
|
-
* Save document
|
|
141
|
-
* @param doc - Document to save
|
|
142
|
-
*/
|
|
143
|
-
protected saveDoc(doc: jsPDF): Promise<void>;
|
|
144
|
-
/**
|
|
145
|
-
* Calculate the best Image size to fit in pdf
|
|
146
|
-
* @param doc - Pdf Document
|
|
147
|
-
* @param canvas - Canvas of image
|
|
148
|
-
* @param margins - Page margins
|
|
149
|
-
*/
|
|
150
|
-
getImageSizeToFitPdf(doc: any, canvas: any, margins: any): number[];
|
|
151
|
-
/**
|
|
152
|
-
* Get a world file information for tiff
|
|
153
|
-
* @param map - Map of the app
|
|
154
|
-
*/
|
|
155
|
-
private getWorldFileInformation;
|
|
156
|
-
/**
|
|
157
|
-
* Save canvas image as file
|
|
158
|
-
* @param canvas - Canvas to save
|
|
159
|
-
* @param name - Name of the file
|
|
160
|
-
* @param format - file format
|
|
161
|
-
*/
|
|
162
|
-
private saveCanvasImageAsFile;
|
|
163
|
-
/**
|
|
164
|
-
* Add file to a zip
|
|
165
|
-
* @param canvas - File to add to the zip
|
|
166
|
-
* @param name -Name of the fileoverview
|
|
167
|
-
*/
|
|
168
|
-
private generateCanvaFileToZip;
|
|
169
|
-
/**
|
|
170
|
-
* Add file to zip, if all file are zipped, download
|
|
171
|
-
* @param name - Name of the files
|
|
172
|
-
* @param blob - Contain of file
|
|
173
|
-
*/
|
|
174
|
-
private addFileToZip;
|
|
175
|
-
private saveFileProcessing;
|
|
176
|
-
/**
|
|
177
|
-
* Get the zipped file
|
|
178
|
-
* @return Retun a zip file
|
|
179
|
-
*/
|
|
180
|
-
private getZipFile;
|
|
181
|
-
private pdf_units2points;
|
|
182
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PrintService, never>;
|
|
183
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PrintService>;
|
|
184
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export declare const PrintOutputFormat: {
|
|
2
|
-
Pdf: "Pdf";
|
|
3
|
-
Image: "Image";
|
|
4
|
-
};
|
|
5
|
-
export type PrintOutputFormat = keyof typeof PrintOutputFormat;
|
|
6
|
-
export declare const PrintPaperFormat: {
|
|
7
|
-
A0: "A0";
|
|
8
|
-
A1: "A1";
|
|
9
|
-
A2: "A2";
|
|
10
|
-
A3: "A3";
|
|
11
|
-
A4: "A4";
|
|
12
|
-
A5: "A5";
|
|
13
|
-
Letter: "Letter";
|
|
14
|
-
Legal: "Legal";
|
|
15
|
-
};
|
|
16
|
-
export type PrintPaperFormat = keyof typeof PrintPaperFormat;
|
|
17
|
-
export declare const PrintOrientation: {
|
|
18
|
-
landscape: "landscape";
|
|
19
|
-
portrait: "portrait";
|
|
20
|
-
};
|
|
21
|
-
export type PrintOrientation = keyof typeof PrintOrientation;
|
|
22
|
-
export declare const PrintResolution: readonly ["72", "96", "150", "300"];
|
|
23
|
-
export type PrintResolution = (typeof PrintResolution)[number];
|
|
24
|
-
export declare const PrintSaveImageFormat: {
|
|
25
|
-
Bmp: "Bmp";
|
|
26
|
-
Gif: "Gif";
|
|
27
|
-
Jpeg: "Jpeg";
|
|
28
|
-
Png: "Png";
|
|
29
|
-
Tiff: "Tiff";
|
|
30
|
-
};
|
|
31
|
-
export type PrintSaveImageFormat = keyof typeof PrintSaveImageFormat;
|
|
32
|
-
export declare const PrintLegendPosition: {
|
|
33
|
-
none: "none";
|
|
34
|
-
topright: "topright";
|
|
35
|
-
topleft: "topleft";
|
|
36
|
-
bottomleft: "bottomleft";
|
|
37
|
-
bottomright: "bottomright";
|
|
38
|
-
newpage: "newpage";
|
|
39
|
-
};
|
|
40
|
-
export type PrintLegendPosition = keyof typeof PrintLegendPosition;
|
package/lib/query/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './shared';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@igo2/core/message";
|
|
5
|
-
import * as i3 from "./shared/query.directive";
|
|
6
|
-
export declare class IgoQueryModule {
|
|
7
|
-
static forRoot(): ModuleWithProviders<IgoQueryModule>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoQueryModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoQueryModule, never, [typeof i1.CommonModule, typeof i2.IgoMessageModule, typeof i3.QueryDirective], [typeof i3.QueryDirective]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoQueryModule>;
|
|
11
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SearchSource } from '../../search/shared/sources/source';
|
|
2
|
-
import { SearchSourceOptions } from '../../search/shared/sources/source.interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Map search source. For now it has no search capability. All it does
|
|
6
|
-
* is act as a placeholder for the map query results' "search source".
|
|
7
|
-
*/
|
|
8
|
-
export declare class QuerySearchSource extends SearchSource {
|
|
9
|
-
static id: string;
|
|
10
|
-
static type: string;
|
|
11
|
-
constructor(options: SearchSourceOptions);
|
|
12
|
-
getId(): string;
|
|
13
|
-
getType(): string;
|
|
14
|
-
protected getEffectiveOptions(): SearchSourceOptions;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuerySearchSource, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<QuerySearchSource>;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ConfigService } from '@igo2/core/config';
|
|
2
|
-
import { SearchSource } from '../../search/shared/sources/source';
|
|
3
|
-
import { QuerySearchSource } from './query-search-source';
|
|
4
|
-
/**
|
|
5
|
-
* Map search source factory
|
|
6
|
-
* @ignore
|
|
7
|
-
*/
|
|
8
|
-
export declare function querySearchSourceFactory(config: ConfigService): QuerySearchSource;
|
|
9
|
-
/**
|
|
10
|
-
* Function that returns a provider for the map search source
|
|
11
|
-
*/
|
|
12
|
-
export declare function provideQuerySearchSource(): {
|
|
13
|
-
provide: typeof SearchSource;
|
|
14
|
-
useFactory: typeof querySearchSourceFactory;
|
|
15
|
-
multi: boolean;
|
|
16
|
-
deps: (typeof ConfigService)[];
|
|
17
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import MapBrowserPointerEvent from 'ol/MapBrowserEvent';
|
|
3
|
-
import OlLayer from 'ol/layer/Layer';
|
|
4
|
-
import OlSource from 'ol/source/Source';
|
|
5
|
-
import { Feature } from '../../feature/shared/feature.interfaces';
|
|
6
|
-
import { MapBrowserComponent } from '../../map/map-browser/map-browser.component';
|
|
7
|
-
import { IgoMap } from '../../map/shared/map';
|
|
8
|
-
import { QueryService } from './query.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* This directive makes a map queryable with a click of with a drag box.
|
|
12
|
-
* By default, all layers are queryable but this can ben controlled at
|
|
13
|
-
* the layer level.
|
|
14
|
-
*/
|
|
15
|
-
export declare class QueryDirective implements AfterViewInit, OnDestroy {
|
|
16
|
-
private component;
|
|
17
|
-
private queryService;
|
|
18
|
-
/**
|
|
19
|
-
* Subscriptions to ongoing queries
|
|
20
|
-
*/
|
|
21
|
-
private queries$$;
|
|
22
|
-
/**
|
|
23
|
-
* Listener to the map click event
|
|
24
|
-
*/
|
|
25
|
-
private mapClickListener;
|
|
26
|
-
/**
|
|
27
|
-
* OL drag box interaction
|
|
28
|
-
*/
|
|
29
|
-
private olDragSelectInteraction;
|
|
30
|
-
/**
|
|
31
|
-
* Ol drag box "end" event key
|
|
32
|
-
*/
|
|
33
|
-
private olDragSelectInteractionEndKey;
|
|
34
|
-
/**
|
|
35
|
-
* Whter to query features or not
|
|
36
|
-
*/
|
|
37
|
-
queryFeatures: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Feature query hit tolerance
|
|
40
|
-
*/
|
|
41
|
-
queryFeaturesHitTolerance: number;
|
|
42
|
-
/**
|
|
43
|
-
* Feature query hit tolerance
|
|
44
|
-
*/
|
|
45
|
-
queryFeaturesCondition: (olLayer: OlLayer<OlSource>) => boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Whether all query should complete before emitting an event
|
|
48
|
-
*/
|
|
49
|
-
waitForAllQueries: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Event emitted when a query (or all queries) complete
|
|
52
|
-
*/
|
|
53
|
-
query: EventEmitter<{
|
|
54
|
-
features: Feature[] | Feature[][];
|
|
55
|
-
event: MapBrowserPointerEvent<any>;
|
|
56
|
-
}>;
|
|
57
|
-
/**
|
|
58
|
-
* IGO map
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
get map(): IgoMap;
|
|
62
|
-
constructor(component: MapBrowserComponent, queryService: QueryService);
|
|
63
|
-
/**
|
|
64
|
-
* Start listening to click and drag box events
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
ngAfterViewInit(): void;
|
|
68
|
-
/**
|
|
69
|
-
* Stop listening to click and drag box events and cancel ongoind requests
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
ngOnDestroy(): void;
|
|
73
|
-
/**
|
|
74
|
-
* On map click, issue queries
|
|
75
|
-
*/
|
|
76
|
-
private listenToMapClick;
|
|
77
|
-
/**
|
|
78
|
-
* Stop listening for map clicks
|
|
79
|
-
*/
|
|
80
|
-
private unlistenToMapClick;
|
|
81
|
-
/**
|
|
82
|
-
* Issue queries from a map event and emit events with the results
|
|
83
|
-
* @param event OL map browser pointer event
|
|
84
|
-
*/
|
|
85
|
-
private onMapEvent;
|
|
86
|
-
/**
|
|
87
|
-
* Query features already present on the map
|
|
88
|
-
* @param event OL map browser pointer event
|
|
89
|
-
*/
|
|
90
|
-
private doQueryFeatures;
|
|
91
|
-
/**
|
|
92
|
-
* Cancel ongoing requests, if any
|
|
93
|
-
*/
|
|
94
|
-
private cancelOngoingQueries;
|
|
95
|
-
/**
|
|
96
|
-
* Add a drag box interaction and, on drag box end, select features
|
|
97
|
-
*/
|
|
98
|
-
private addDragBoxInteraction;
|
|
99
|
-
/**
|
|
100
|
-
* Remove drag box interaction
|
|
101
|
-
*/
|
|
102
|
-
private removeDragBoxInteraction;
|
|
103
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QueryDirective, [{ self: true; }, null]>;
|
|
104
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QueryDirective, "[igoQuery]", never, { "queryFeatures": { "alias": "queryFeatures"; "required": false; }; "queryFeaturesHitTolerance": { "alias": "queryFeaturesHitTolerance"; "required": false; }; "queryFeaturesCondition": { "alias": "queryFeaturesCondition"; "required": false; }; "waitForAllQueries": { "alias": "waitForAllQueries"; "required": false; }; }, { "query": "query"; }, never, never, true, never>;
|
|
105
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare enum QueryFormat {
|
|
2
|
-
GML2 = "gml2",
|
|
3
|
-
GML3 = "gml3",
|
|
4
|
-
JSON = "json",
|
|
5
|
-
GEOJSON = "geojson",
|
|
6
|
-
GEOJSON2 = "geojson2",
|
|
7
|
-
ESRIJSON = "esrijson",
|
|
8
|
-
TEXT = "text",
|
|
9
|
-
HTML = "html",
|
|
10
|
-
HTMLGML2 = "htmlgml2"
|
|
11
|
-
}
|
|
12
|
-
export declare enum QueryFormatMimeType {
|
|
13
|
-
GML2 = "application/vnd.ogc.gml",
|
|
14
|
-
GML3 = "application/vnd.ogc.gml/3.1.1",
|
|
15
|
-
JSON = "application/json",
|
|
16
|
-
GEOJSON = "application/geojson",
|
|
17
|
-
GEOJSON2 = "geojson",
|
|
18
|
-
ESRIJSON = "application/json",
|
|
19
|
-
TEXT = "text/plain",
|
|
20
|
-
HTML = "text/html",
|
|
21
|
-
HTMLGML2 = "text/html"
|
|
22
|
-
}
|
|
23
|
-
export declare enum QueryHtmlTarget {
|
|
24
|
-
IFRAME = "iframe",
|
|
25
|
-
BLANK = "_blank"
|
|
26
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import olSource from 'ol/source/Source';
|
|
2
|
-
import olSourceVector from 'ol/source/Vector';
|
|
3
|
-
import { DataSource } from '../../datasource/shared/datasources/datasource';
|
|
4
|
-
import { DataSourceOptions } from '../../datasource/shared/datasources/datasource.interface';
|
|
5
|
-
import { QueryFormat, QueryHtmlTarget } from './query.enums';
|
|
6
|
-
export interface QueryOptions {
|
|
7
|
-
coordinates: [number, number];
|
|
8
|
-
projection: string;
|
|
9
|
-
resolution?: number;
|
|
10
|
-
}
|
|
11
|
-
export interface QueryableDataSourceOptions extends DataSourceOptions {
|
|
12
|
-
queryable?: boolean;
|
|
13
|
-
queryFormat?: QueryFormat;
|
|
14
|
-
queryTitle?: string;
|
|
15
|
-
queryUrls?: QueryUrlData[];
|
|
16
|
-
queryLayerFeatures?: boolean;
|
|
17
|
-
mapLabel?: string;
|
|
18
|
-
queryHtmlTarget?: QueryHtmlTarget;
|
|
19
|
-
ol?: olSourceVector | olSource;
|
|
20
|
-
queryFormatAsWms?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export interface QueryableDataSource extends DataSource {
|
|
23
|
-
queryTitle?: string;
|
|
24
|
-
mapLabel?: string;
|
|
25
|
-
queryHtmlTarget?: QueryHtmlTarget;
|
|
26
|
-
options: QueryableDataSourceOptions;
|
|
27
|
-
}
|
|
28
|
-
export interface QueryUrlData {
|
|
29
|
-
url: string;
|
|
30
|
-
maxResolution?: number;
|
|
31
|
-
minResolution?: number;
|
|
32
|
-
maxScale?: number;
|
|
33
|
-
minScale?: number;
|
|
34
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { MessageService } from '@igo2/core/message';
|
|
3
|
-
import olFeature from 'ol/Feature';
|
|
4
|
-
import * as olgeom from 'ol/geom';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import { Feature } from '../../feature/shared/feature.interfaces';
|
|
7
|
-
import { Layer } from '../../layer';
|
|
8
|
-
import { MapExtent } from '../../map/shared/map.interface';
|
|
9
|
-
import { QueryOptions, QueryUrlData, QueryableDataSource } from './query.interfaces';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class QueryService {
|
|
12
|
-
private http;
|
|
13
|
-
private messageService;
|
|
14
|
-
queryEnabled: boolean;
|
|
15
|
-
defaultFeatureCount: number;
|
|
16
|
-
featureCount: number;
|
|
17
|
-
private previousMessageIds;
|
|
18
|
-
constructor(http: HttpClient, messageService: MessageService);
|
|
19
|
-
query(layers: Layer[], options: QueryOptions): Observable<Feature[]>[];
|
|
20
|
-
queryLayer(layer: Layer, options: QueryOptions): Observable<Feature[]> | Observable<Feature[]>[];
|
|
21
|
-
private requestDataForHTMLGML2;
|
|
22
|
-
private checkScaleAndResolution;
|
|
23
|
-
private mergeGML;
|
|
24
|
-
cross(a: any, b: any, o: any): number;
|
|
25
|
-
/**
|
|
26
|
-
* @param points An array of [X, Y] coordinates
|
|
27
|
-
* This method is use instead of turf.js convexHull because Turf needs at least 3 point to make a hull.
|
|
28
|
-
* https://en.wikibooks.org/wiki/Algorithm_Implementation/Geometry/Convex_hull/Monotone_chain#JavaScript
|
|
29
|
-
*/
|
|
30
|
-
convexHull(points: any): any[];
|
|
31
|
-
private extractData;
|
|
32
|
-
private createGeometryFromUrlClick;
|
|
33
|
-
private extractGML2Data;
|
|
34
|
-
private extractGML3Data;
|
|
35
|
-
private extractGeoJSONData;
|
|
36
|
-
private extractEsriJSONData;
|
|
37
|
-
private extractHtmlData;
|
|
38
|
-
private getQueryParams;
|
|
39
|
-
featureToResult(featureOL: olFeature<olgeom.Geometry>, zIndex: number, allowedFieldsAndAlias?: any): Feature;
|
|
40
|
-
private getQueryUrl;
|
|
41
|
-
private getMimeInfoFormat;
|
|
42
|
-
getAllowedFieldsAndAlias(layer: any): any;
|
|
43
|
-
getQueryTitle(feature: Feature, layer: Layer): string;
|
|
44
|
-
getLabelMatch(feature: Feature, labelMatch: any): string;
|
|
45
|
-
/**
|
|
46
|
-
* @param datasource QueryableDataSource
|
|
47
|
-
* @param options QueryOptions
|
|
48
|
-
* @mapExtent extent of the map when click event
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
getCustomQueryUrl(datasource: QueryableDataSource, options: QueryOptions, mapExtent?: MapExtent): QueryUrlData[];
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QueryService, never>;
|
|
53
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<QueryService>;
|
|
54
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import OlLayer from 'ol/layer/Layer';
|
|
2
|
-
import OlSource from 'ol/source/Source';
|
|
3
|
-
import { AnyLayer } from '../../layer/shared/layers/any-layer';
|
|
4
|
-
import { Layer } from '../../layer/shared/layers/layer';
|
|
5
|
-
/**
|
|
6
|
-
* Whether a layer is queryable
|
|
7
|
-
* @param layer Layer
|
|
8
|
-
* @returns True if the layer s squeryable
|
|
9
|
-
*/
|
|
10
|
-
export declare function layerIsQueryable(layer: AnyLayer): boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Whether an OL layer is queryable
|
|
13
|
-
* @param layer Layer
|
|
14
|
-
* @returns True if the ol layer is queryable
|
|
15
|
-
*/
|
|
16
|
-
export declare function olLayerIsQueryable(olLayer: OlLayer<OlSource>): boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Whether a layer's feature is queryable
|
|
19
|
-
* @param layer Layer
|
|
20
|
-
* @returns True if the layer's feature is queryable
|
|
21
|
-
*/
|
|
22
|
-
export declare function layerFeatureIsQueryable(layer: Layer): boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Whether an OL Vector layer is queryable
|
|
25
|
-
* @param layer Layer
|
|
26
|
-
* @returns True if the ol vector layer is queryable
|
|
27
|
-
*/
|
|
28
|
-
export declare function olLayerFeatureIsQueryable(olLayer: OlLayer<OlSource>): boolean;
|
package/lib/search/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './shared';
|
|
2
|
-
export * from './search.module';
|
|
3
|
-
export * from './search-selector/search-selector.component';
|
|
4
|
-
export * from './search-selector/search-selector.module';
|
|
5
|
-
export * from './search-settings/search-settings.component';
|
|
6
|
-
export * from './search-settings/search-settings.module';
|
|
7
|
-
export * from './search-bar/search-bar.component';
|
|
8
|
-
export * from './search-bar/search-bar.module';
|
|
9
|
-
export * from './search-results';
|