@igo2/integration 16.0.0-rc.0 → 16.0.0-rc.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/esm2022/lib/about/about-tool/about-tool.component.mjs +20 -16
- package/esm2022/lib/about/about.module.mjs +4 -4
- package/esm2022/lib/analytics/analytics-listener.service.mjs +4 -4
- package/esm2022/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.mjs +6 -6
- package/esm2022/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.mjs +2 -2
- package/esm2022/lib/catalog/catalog-library-tool/catalog-library-tool.component.mjs +5 -5
- package/esm2022/lib/catalog/catalog-library-tool/catalog-library-tool.module.mjs +2 -2
- package/esm2022/lib/catalog/catalog.module.mjs +2 -2
- package/esm2022/lib/catalog/catalog.state.mjs +1 -1
- package/esm2022/lib/context/context-editor-tool/context-editor-tool.component.mjs +1 -1
- package/esm2022/lib/context/context-manager-tool/context-manager-tool.component.mjs +3 -3
- package/esm2022/lib/context/context-share-tool/context-share-tool.component.mjs +3 -3
- package/esm2022/lib/context/context.module.mjs +2 -2
- package/esm2022/lib/context/context.state.mjs +3 -3
- package/esm2022/lib/directions/directions-tool/directions-tool.component.mjs +2 -2
- package/esm2022/lib/directions/directions.module.mjs +2 -2
- package/esm2022/lib/directions/directions.state.mjs +2 -2
- package/esm2022/lib/draw/draw.module.mjs +1 -1
- package/esm2022/lib/draw/draw.state.mjs +1 -1
- package/esm2022/lib/draw/drawing-tool/drawing-tool.component.mjs +3 -3
- package/esm2022/lib/draw/drawing-tool/drawing-tool.module.mjs +2 -2
- package/esm2022/lib/draw/index.mjs +1 -1
- package/esm2022/lib/environment/environment.interface.mjs +2 -0
- package/esm2022/lib/environment/index.mjs +2 -0
- package/esm2022/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.mjs +2 -2
- package/esm2022/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.mjs +2 -2
- package/esm2022/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.mjs +2 -2
- package/esm2022/lib/filter/active-time-filter-tool/active-time-filter-tool.component.mjs +2 -2
- package/esm2022/lib/filter/filter.module.mjs +5 -5
- package/esm2022/lib/filter/ogc-filter-tool/ogc-filter-tool.component.mjs +2 -2
- package/esm2022/lib/filter/spatial-filter-tool/spatial-filter-tool.component.mjs +9 -9
- package/esm2022/lib/import-export/import-export-tool/import-export-tool.component.mjs +5 -5
- package/esm2022/lib/import-export/import-export.module.mjs +5 -5
- package/esm2022/lib/import-export/import-export.state.mjs +1 -1
- package/esm2022/lib/integration.module.mjs +5 -5
- package/esm2022/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.mjs +32 -17
- package/esm2022/lib/map/advanced-map-tool/advanced-map-tool.component.mjs +2 -2
- package/esm2022/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.mjs +3 -3
- package/esm2022/lib/map/layer-list-tool.state.mjs +1 -1
- package/esm2022/lib/map/map-details-tool/map-details-tool.component.mjs +5 -5
- package/esm2022/lib/map/map-legend/map-legend-tool.component.mjs +5 -5
- package/esm2022/lib/map/map-proximity-tool/map-proximity-tool.component.mjs +2 -2
- package/esm2022/lib/map/map-proximity.state.mjs +8 -8
- package/esm2022/lib/map/map-tool/map-tool.component.mjs +4 -4
- package/esm2022/lib/map/map-tools/map-tools.component.mjs +8 -8
- package/esm2022/lib/map/map.module.mjs +22 -22
- package/esm2022/lib/map/map.state.mjs +2 -2
- package/esm2022/lib/measure/measure.module.mjs +1 -1
- package/esm2022/lib/measure/measure.state.mjs +1 -1
- package/esm2022/lib/measure/measurer-tool/measurer-tool.component.mjs +2 -2
- package/esm2022/lib/measure/measurer-tool/measurer-tool.module.mjs +2 -2
- package/esm2022/lib/print/print.module.mjs +2 -2
- package/esm2022/lib/search/query.state.mjs +1 -1
- package/esm2022/lib/search/search-bar/search-bar-binding.directive.mjs +2 -2
- package/esm2022/lib/search/search-bar/search-bar.module.mjs +1 -1
- package/esm2022/lib/search/search-results-tool/search-results-tool.component.mjs +12 -12
- package/esm2022/lib/search/search-results-tool/search-results-tool.module.mjs +5 -5
- package/esm2022/lib/search/search.module.mjs +1 -1
- package/esm2022/lib/search/search.state.mjs +3 -3
- package/esm2022/lib/tool/tool.state.mjs +1 -1
- package/esm2022/lib/workspace/shared/edition-actions.service.mjs +5 -5
- package/esm2022/lib/workspace/shared/feature-actions.service.mjs +4 -4
- package/esm2022/lib/workspace/shared/index.mjs +1 -1
- package/esm2022/lib/workspace/shared/wfs-actions.service.mjs +5 -5
- package/esm2022/lib/workspace/shared/workspace.utils.mjs +2 -2
- package/esm2022/lib/workspace/workspace-button/workspace-button.component.mjs +4 -4
- package/esm2022/lib/workspace/workspace.module.mjs +4 -4
- package/esm2022/lib/workspace/workspace.state.mjs +5 -5
- package/esm2022/public_api.mjs +2 -1
- package/fesm2022/igo2-integration.mjs +4685 -4666
- package/fesm2022/igo2-integration.mjs.map +1 -1
- package/lib/about/about-tool/about-tool.component.d.ts +5 -4
- package/lib/analytics/analytics-listener.service.d.ts +2 -2
- package/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.d.ts +4 -4
- package/lib/catalog/catalog-library-tool/catalog-library-tool.component.d.ts +1 -1
- package/lib/context/context-manager-tool/context-manager-tool.component.d.ts +2 -2
- package/lib/context/context-share-tool/context-share-tool.component.d.ts +1 -1
- package/lib/context/context.state.d.ts +2 -2
- package/lib/directions/directions-tool/directions-tool.component.d.ts +1 -1
- package/lib/directions/directions.state.d.ts +1 -1
- package/lib/draw/drawing-tool/drawing-tool.component.d.ts +1 -1
- package/lib/environment/environment.interface.d.ts +27 -0
- package/lib/environment/index.d.ts +1 -0
- package/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.d.ts +1 -1
- package/lib/filter/active-time-filter-tool/active-time-filter-tool.component.d.ts +1 -1
- package/lib/filter/spatial-filter-tool/spatial-filter-tool.component.d.ts +4 -4
- package/lib/import-export/import-export-tool/import-export-tool.component.d.ts +3 -3
- package/lib/import-export/import-export.state.d.ts +1 -1
- package/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.d.ts +3 -3
- package/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.d.ts +2 -2
- package/lib/map/layer-list-tool.state.d.ts +1 -1
- package/lib/map/map-details-tool/map-details-tool.component.d.ts +3 -3
- package/lib/map/map-legend/map-legend-tool.component.d.ts +3 -3
- package/lib/map/map-proximity.state.d.ts +2 -2
- package/lib/map/map-tool/map-tool.component.d.ts +2 -2
- package/lib/map/map-tools/map-tools.component.d.ts +5 -5
- package/lib/map/map.state.d.ts +1 -1
- package/lib/search/search-bar/search-bar-binding.directive.d.ts +1 -1
- package/lib/search/search-results-tool/search-results-tool.component.d.ts +6 -6
- package/lib/search/search.state.d.ts +2 -2
- package/lib/tool/tool.state.d.ts +1 -1
- package/lib/workspace/shared/edition-actions.service.d.ts +3 -3
- package/lib/workspace/shared/feature-actions.service.d.ts +3 -3
- package/lib/workspace/shared/wfs-actions.service.d.ts +3 -3
- package/lib/workspace/shared/workspace.utils.d.ts +4 -4
- package/lib/workspace/workspace-button/workspace-button.component.d.ts +2 -2
- package/lib/workspace/workspace.state.d.ts +3 -3
- package/locale/en.integration.json +1 -1
- package/locale/fr.integration.json +1 -1
- package/package.json +3 -3
- package/public_api.d.ts +1 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
1
2
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { ConfigService, LanguageService, Version } from '@igo2/core';
|
|
3
|
-
import type { Observable } from 'rxjs';
|
|
4
3
|
import { AuthService } from '@igo2/auth';
|
|
5
|
-
import {
|
|
4
|
+
import { ConfigService, LanguageService } from '@igo2/core';
|
|
5
|
+
import type { Observable } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AboutToolComponent implements OnInit {
|
|
8
8
|
configService: ConfigService;
|
|
@@ -10,6 +10,7 @@ export declare class AboutToolComponent implements OnInit {
|
|
|
10
10
|
private http;
|
|
11
11
|
private cdRef;
|
|
12
12
|
private languageService;
|
|
13
|
+
private configOptions;
|
|
13
14
|
get headerHtml(): string;
|
|
14
15
|
set headerHtml(value: string);
|
|
15
16
|
get html(): string;
|
|
@@ -19,7 +20,7 @@ export declare class AboutToolComponent implements OnInit {
|
|
|
19
20
|
get discoverTitleInLocale(): string;
|
|
20
21
|
set discoverTitleInLocale(value: string);
|
|
21
22
|
trainingGuideURLs: any;
|
|
22
|
-
|
|
23
|
+
effectiveVersion: string;
|
|
23
24
|
private _html;
|
|
24
25
|
private _headerHtml;
|
|
25
26
|
private baseUrlProfil;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AnalyticsService } from '@igo2/core';
|
|
2
1
|
import { AuthService } from '@igo2/auth';
|
|
2
|
+
import { AnalyticsService } from '@igo2/core';
|
|
3
3
|
import { ContextState } from '../context/context.state';
|
|
4
|
+
import { MapState } from '../map/map.state';
|
|
4
5
|
import { SearchState } from '../search/search.state';
|
|
5
6
|
import { ToolState } from '../tool/tool.state';
|
|
6
|
-
import { MapState } from '../map/map.state';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Service that holds the state of the search module
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { EntityStore } from '@igo2/common';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
4
2
|
import { AuthService } from '@igo2/auth';
|
|
5
|
-
import {
|
|
3
|
+
import { EntityStore } from '@igo2/common';
|
|
4
|
+
import { Catalog, CatalogItem, CatalogItemState, CatalogService, IgoMap } from '@igo2/geo';
|
|
5
|
+
import { BehaviorSubject } from 'rxjs';
|
|
6
6
|
import { MapState } from '../../map/map.state';
|
|
7
7
|
import { CatalogState } from '../catalog.state';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { EntityStore } from '@igo2/common';
|
|
3
|
-
import { Catalog, CatalogService } from '@igo2/geo';
|
|
4
3
|
import { StorageService } from '@igo2/core';
|
|
4
|
+
import { Catalog, CatalogService } from '@igo2/geo';
|
|
5
5
|
import { ToolState } from '../../tool/tool.state';
|
|
6
6
|
import { CatalogState } from '../catalog.state';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ToolState } from '../../tool/tool.state';
|
|
2
|
-
import { MapState } from '../../map/map.state';
|
|
3
1
|
import { IgoMap } from '@igo2/geo';
|
|
2
|
+
import { MapState } from '../../map/map.state';
|
|
3
|
+
import { ToolState } from '../../tool/tool.state';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ContextManagerToolComponent {
|
|
6
6
|
private toolState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IgoMap, LayerListControlsOptions } from '@igo2/geo';
|
|
2
|
-
import { MapState } from '../../map/map.state';
|
|
3
2
|
import { LayerListToolState } from '../../map/layer-list-tool.state';
|
|
3
|
+
import { MapState } from '../../map/map.state';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ContextShareToolComponent {
|
|
6
6
|
private mapState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import { LanguageService } from '@igo2/core';
|
|
3
1
|
import { ToolService } from '@igo2/common';
|
|
4
2
|
import { ContextService, DetailedContext } from '@igo2/context';
|
|
3
|
+
import { LanguageService } from '@igo2/core';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
5
|
import { ToolState } from '../tool/tool.state';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { AuthService } from '@igo2/auth';
|
|
3
3
|
import { LanguageService, MessageService, StorageService } from '@igo2/core';
|
|
4
|
-
import { IgoMap, RoutesFeatureStore, StopsFeatureStore, StopsStore
|
|
4
|
+
import { IgoMap, RoutesFeatureStore, StepFeatureStore, StopsFeatureStore, StopsStore } from '@igo2/geo';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
6
|
import { ContextState } from '../../context/context.state';
|
|
7
7
|
import { MapState } from '../../map/map.state';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RoutesFeatureStore, StepFeatureStore, StopsFeatureStore, StopsStore } from '@igo2/geo';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { MapState } from '../map/map.state';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DrawControl, FeatureStore, FeatureWithDraw, IgoMap, VectorLayer } from '@igo2/geo';
|
|
2
2
|
import { MapState } from '../../map/map.state';
|
|
3
3
|
import { DrawState } from '../draw.state';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EnvironmentOptions as AuthEnvironmentOptions } from '@igo2/auth';
|
|
2
|
+
import { EnvironmentOptions as ContextEnvironmentOptions } from '@igo2/context';
|
|
3
|
+
import { EnvironmentOptions as CommonEnvironmentOptions } from '@igo2/common';
|
|
4
|
+
import { BaseEnvironmentOptions, EnvironmentOptions as CoreEnvironmentOptions } from '@igo2/core';
|
|
5
|
+
import { EnvironmentOptions as GeoEnvironmentOptions } from '@igo2/geo';
|
|
6
|
+
export type AllEnvironmentOptions = AuthEnvironmentOptions & CommonEnvironmentOptions & CoreEnvironmentOptions & ContextEnvironmentOptions & GeoEnvironmentOptions & IntegrationEnvironmentOptions;
|
|
7
|
+
export interface EnvironmentOptions extends BaseEnvironmentOptions {
|
|
8
|
+
igo: AllEnvironmentOptions;
|
|
9
|
+
}
|
|
10
|
+
interface IntegrationEnvironmentOptions {
|
|
11
|
+
app?: AppOptions;
|
|
12
|
+
hasFeatureEmphasisOnSelection?: boolean;
|
|
13
|
+
saveSearchResultInLayer?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface AppOptions {
|
|
16
|
+
forceCoordsNA: boolean;
|
|
17
|
+
install: {
|
|
18
|
+
enabled?: boolean;
|
|
19
|
+
promote?: boolean;
|
|
20
|
+
manifestPath?: string;
|
|
21
|
+
};
|
|
22
|
+
pwa?: {
|
|
23
|
+
enabled?: boolean;
|
|
24
|
+
path?: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './environment.interface';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatIconRegistry } from '@angular/material/icon';
|
|
3
|
-
import { IgoMap, DataSourceService, LayerService, Feature, SpatialFilterService, SpatialFilterType, SpatialFilterItemType, SpatialFilterQueryType, SpatialFilterThematic, Layer, MeasureLengthUnit } from '@igo2/geo';
|
|
4
3
|
import { EntityStore, EntityStoreWithStrategy } from '@igo2/common';
|
|
4
|
+
import { LanguageService, MessageService } from '@igo2/core';
|
|
5
|
+
import { DataSourceService, Feature, IgoMap, Layer, LayerService, MeasureLengthUnit, SpatialFilterItemType, SpatialFilterQueryType, SpatialFilterService, SpatialFilterThematic, SpatialFilterType } from '@igo2/geo';
|
|
6
|
+
import * as olstyle from 'ol/style';
|
|
5
7
|
import { BehaviorSubject } from 'rxjs';
|
|
6
8
|
import { MapState } from '../../map/map.state';
|
|
7
|
-
import { ImportExportState } from './../../import-export/import-export.state';
|
|
8
|
-
import * as olstyle from 'ol/style';
|
|
9
|
-
import { MessageService, LanguageService } from '@igo2/core';
|
|
10
9
|
import { ToolState } from '../../tool/tool.state';
|
|
11
10
|
import { WorkspaceState } from '../../workspace/workspace.state';
|
|
11
|
+
import { ImportExportState } from './../../import-export/import-export.state';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
14
|
* Tool to apply spatial filter
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import type { WorkspaceStore } from '@igo2/common';
|
|
3
|
-
import {
|
|
3
|
+
import { ExportOptions, IgoMap, ProjectionsLimitationsOptions } from '@igo2/geo';
|
|
4
|
+
import { ContextState } from '../../context/context.state';
|
|
4
5
|
import { MapState } from '../../map/map.state';
|
|
5
|
-
import { ImportExportMode, ImportExportState, ImportExportType } from '../import-export.state';
|
|
6
6
|
import { WorkspaceState } from '../../workspace/workspace.state';
|
|
7
|
-
import {
|
|
7
|
+
import { ImportExportMode, ImportExportState, ImportExportType } from '../import-export.state';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class ImportExportToolComponent implements OnInit {
|
|
10
10
|
private mapState;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { ConfigService, LanguageService, MessageService, StorageService } from '@igo2/core';
|
|
2
4
|
import { IgoMap, InputProjections, ProjectionsLimitationsOptions } from '@igo2/geo';
|
|
3
|
-
import { MapState } from '../../map.state';
|
|
4
|
-
import { MessageService, LanguageService, StorageService, ConfigService } from '@igo2/core';
|
|
5
5
|
import { BehaviorSubject } from 'rxjs';
|
|
6
|
-
import {
|
|
6
|
+
import { MapState } from '../../map.state';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Tool to display the coordinates and a cursor of the center of the map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { ContextService, DetailedContext } from '@igo2/context';
|
|
4
4
|
import { IgoMap, Layer, VectorLayer } from '@igo2/geo';
|
|
5
|
-
import { MapState } from '../../map.state';
|
|
6
5
|
import { ToolState } from '../../../tool/tool.state';
|
|
6
|
+
import { MapState } from '../../map.state';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class AdvancedSwipeComponent implements OnInit, OnDestroy {
|
|
9
9
|
mapState: MapState;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { IgoMap, Layer, LayerListControlsOptions, SearchSourceService } from '@igo2/geo';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
|
-
import {
|
|
4
|
+
import { ImportExportState } from '../../import-export/import-export.state';
|
|
4
5
|
import { ToolState } from './../../tool/tool.state';
|
|
5
6
|
import { MapState } from './../map.state';
|
|
6
|
-
import { ImportExportState } from '../../import-export/import-export.state';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class MapDetailsToolComponent implements OnInit {
|
|
9
9
|
private mapState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { IgoMap, Layer, LayerListControlsOptions, SearchSourceService } from '@igo2/geo';
|
|
3
|
+
import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs';
|
|
4
4
|
import { ToolState } from './../../tool/tool.state';
|
|
5
5
|
import { MapState } from './../map.state';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StorageService } from '@igo2/core';
|
|
2
|
+
import { Feature, FeatureStore, IgoMap, Layer } from '@igo2/geo';
|
|
2
3
|
import { BehaviorSubject } from 'rxjs';
|
|
3
4
|
import { MapState } from '../map/map.state';
|
|
4
|
-
import { StorageService } from '@igo2/core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Service that holds the state of the direction module
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MapState } from './../map.state';
|
|
1
|
+
import { IgoMap, Layer, LayerListControlsOptions } from '@igo2/geo';
|
|
3
2
|
import { ImportExportState } from '../../import-export/import-export.state';
|
|
4
3
|
import { ToolState } from '../../tool/tool.state';
|
|
4
|
+
import { MapState } from './../map.state';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Tool to browse a map's layers or to choose a different map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { LayerListControlsOptions, IgoMap, SearchSourceService, Layer } from '@igo2/geo';
|
|
3
|
-
import { LayerListToolState } from '../layer-list-tool.state';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
4
2
|
import { MatTabChangeEvent } from '@angular/material/tabs';
|
|
5
|
-
import {
|
|
6
|
-
import { MapState } from '../map.state';
|
|
3
|
+
import { IgoMap, Layer, LayerListControlsOptions, SearchSourceService } from '@igo2/geo';
|
|
7
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
8
5
|
import { ImportExportState } from '../../import-export/import-export.state';
|
|
6
|
+
import { ToolState } from '../../tool/tool.state';
|
|
7
|
+
import { LayerListToolState } from '../layer-list-tool.state';
|
|
8
|
+
import { MapState } from '../map.state';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
11
|
* Tool to browse a map's layers or to choose a different map
|
package/lib/map/map.state.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Observable, BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { ConfigService } from '@igo2/core';
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
4
2
|
import { EntityStore, FlexibleState } from '@igo2/common';
|
|
5
|
-
import {
|
|
3
|
+
import { ConfigService } from '@igo2/core';
|
|
4
|
+
import { Feature, FeatureStore, IgoMap, Research, SearchResult } from '@igo2/geo';
|
|
5
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
+
import { DirectionState } from '../../directions/directions.state';
|
|
6
7
|
import { MapState } from '../../map/map.state';
|
|
7
|
-
import { SearchState } from '../search.state';
|
|
8
8
|
import { ToolState } from '../../tool/tool.state';
|
|
9
|
-
import {
|
|
9
|
+
import { SearchState } from '../search.state';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
12
|
* Tool to browse the search results
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EntityStoreWithStrategy } from '@igo2/common';
|
|
2
2
|
import { ConfigService, StorageService } from '@igo2/core';
|
|
3
|
-
import {
|
|
3
|
+
import { CommonVectorStyleOptions, Feature, FeatureStore, SearchResult, SearchSourceService } from '@igo2/geo';
|
|
4
4
|
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
5
|
-
import { WorkspaceState } from '../workspace/workspace.state';
|
|
6
5
|
import { MapState } from '../map';
|
|
6
|
+
import { WorkspaceState } from '../workspace/workspace.state';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Service that holds the state of the search module
|
package/lib/tool/tool.state.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { DatePipe } from '@angular/common';
|
|
1
2
|
import { OnDestroy } from '@angular/core';
|
|
2
3
|
import { Action, Widget } from '@igo2/common';
|
|
3
|
-
import {
|
|
4
|
+
import { LanguageService, MediaService, StorageService } from '@igo2/core';
|
|
4
5
|
import { EditionWorkspace } from '@igo2/geo';
|
|
5
|
-
import {
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
6
7
|
import { StorageState } from '../../storage/storage.state';
|
|
7
8
|
import { ToolState } from '../../tool/tool.state';
|
|
8
|
-
import { DatePipe } from '@angular/common';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class EditionActionsService implements OnDestroy {
|
|
11
11
|
private ogcFilterWidget;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { DatePipe } from '@angular/common';
|
|
1
2
|
import { OnDestroy } from '@angular/core';
|
|
2
3
|
import { Action } from '@igo2/common';
|
|
3
|
-
import {
|
|
4
|
+
import { LanguageService, MediaService, StorageService } from '@igo2/core';
|
|
4
5
|
import { FeatureWorkspace } from '@igo2/geo';
|
|
5
|
-
import {
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
6
7
|
import { StorageState } from '../../storage/storage.state';
|
|
7
8
|
import { ToolState } from '../../tool/tool.state';
|
|
8
|
-
import { DatePipe } from '@angular/common';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class FeatureActionsService implements OnDestroy {
|
|
11
11
|
private storageState;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { DatePipe } from '@angular/common';
|
|
1
2
|
import { OnDestroy } from '@angular/core';
|
|
2
3
|
import { Action, Widget } from '@igo2/common';
|
|
3
|
-
import {
|
|
4
|
+
import { LanguageService, MediaService, StorageService } from '@igo2/core';
|
|
4
5
|
import { WfsWorkspace } from '@igo2/geo';
|
|
5
|
-
import {
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
6
7
|
import { StorageState } from '../../storage/storage.state';
|
|
7
8
|
import { ToolState } from '../../tool/tool.state';
|
|
8
|
-
import { DatePipe } from '@angular/common';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class WfsActionsService implements OnDestroy {
|
|
11
11
|
private ogcFilterWidget;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DatePipe } from '@angular/common';
|
|
2
|
+
import { Action, Widget } from '@igo2/common';
|
|
2
3
|
import { LanguageService, MediaService, StorageService } from '@igo2/core';
|
|
3
|
-
import { FeatureWorkspace, WfsWorkspace
|
|
4
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { EditionWorkspace, FeatureWorkspace, WfsWorkspace } from '@igo2/geo';
|
|
5
5
|
import 'jspdf-autotable';
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
6
7
|
import { ToolState } from '../../tool';
|
|
7
|
-
import { DatePipe } from '@angular/common';
|
|
8
8
|
export declare function handleZoomAuto(workspace: FeatureWorkspace | WfsWorkspace | EditionWorkspace, storageService: any): void;
|
|
9
9
|
export declare function getWorkspaceActions(workspace: FeatureWorkspace | WfsWorkspace | EditionWorkspace, rowsInMapExtentCheckCondition$: BehaviorSubject<boolean>, selectOnlyCheckCondition$: BehaviorSubject<boolean>, ogcFilterWidget: Widget, zoomAuto$: BehaviorSubject<boolean>, maximize$: BehaviorSubject<boolean>, storageService: StorageService, languageService: LanguageService, mediaService: MediaService, toolState: ToolState, datePipe: DatePipe): Action[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import type { Layer } from '@igo2/geo';
|
|
3
|
-
import { WorkspaceState } from '../workspace.state';
|
|
4
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { WorkspaceState } from '../workspace.state';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class WorkspaceButtonComponent implements OnInit, OnDestroy {
|
|
7
7
|
private workspaceState;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { EntityRecord, EntityState, Widget, Workspace, WorkspaceStore } from '@igo2/common';
|
|
3
|
+
import { StorageService } from '@igo2/core';
|
|
2
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import {
|
|
5
|
+
import { EditionActionsService } from './shared/edition-actions.service';
|
|
4
6
|
import { FeatureActionsService } from './shared/feature-actions.service';
|
|
5
7
|
import { WfsActionsService } from './shared/wfs-actions.service';
|
|
6
|
-
import { StorageService } from '@igo2/core';
|
|
7
|
-
import { EditionActionsService } from './shared/edition-actions.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* Service that holds the state of the workspace module
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"aboutTool": {
|
|
32
32
|
"headerHtml": "",
|
|
33
|
-
"html": "<style>#about .bold_class{font-weight: bold;}#about .red{color: red;}#about .tool_name{border-top: 1px solid; padding-top: 10px;}#about .titre_outil{font-weight: bold; font-size: 18px; padding-bottom: 8px;}#about .subtitle{font-size: 20px; padding-bottom: 10px;}#about .align_right{text-align: right;}#about .describe{text-align: justify;}#about a img{color: black; text-decoration: none;}</style><body> <div id='about'> <div class='bold_class subtitle'>Features overview</div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z'> </path> </svg></mat-icon> Search Bar </div><div class='describe'>Located in the upper-left portion of the interface, the <span class='bold_class'>Search Bar</span> allows the user to locate an area of interest using an address, location or GPS coordinates. It can also be used to search for a layer. <br><br> It is also possible to search for a specific element using the hashtag \"#\" (for example, #municipalites québec). Accents and capital letters don't have any impact on <span class='bold_class'>Search Results</span> when using a hashtag. </div></div><br><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z'></path> </svg></mat-icon> Contexts </div><div class='describe'> <span class='bold_class'>Contexts</span> are used to visualize groupings of layers related to a specific theme. When a context is selected, all the layers associated with it will be added to the <span class='bold_class'>Map</span>. It is then possible to add other layers to the map by using the <span class='bold_class'>Catalog</span> or the <span class='bold_class'>Search Bar</span>. <br><br><div class='red'> <span class='bold_class'>WARNING :</span> If a new context is selected, all the layers displayed on the <span class='bold_class'>Map</span> will be replaced by the ones associated with the newly selected context. <br><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M15,19L9,16.89V5L15,7.11M20.5,3C20.44,3 20.39,3 20.34,3L15,5.1L9,3L3.36,4.9C3.15,4.97 3,5.15 3,5.38V20.5A0.5,0.5 0 0,0 3.5,21C3.55,21 3.61,21 3.66,20.97L9,18.9L15,21L20.64,19.1C20.85,19 21,18.85 21,18.62V3.5A0.5,0.5 0 0,0 20.5,3Z'> </path> </svg></mat-icon> Map </div><div class='describe'>It is possible to personalize the <span class='bold_class'>Map</span> by using the <span class='bold_class'>Catalog</span> or the <span class='bold_class'>Search Bar</span>. This space allows the user to add, delete, interrogate, filter and sort the displayed layers. It is also possible to visualize the legends associated with the layers. </div><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M2 4C2 2.89 2.9 2 4 2H7V4H4V7H2V4M22 4V7H20V4H17V2H20C21.1 2 22 2.89 22 4M2 20V17H4V20H7V22H4C2.9 22 2 21.11 2 20M10 2H14V4H10V2M10 20H14V22H10V20M2 10H4V14H2V10M18.5 13C20.4 13 22 14.6 22 16.5C22 19.1 18.5 23 18.5 23C18.5 23 15 19.1 15 16.5C15 14.6 16.6 13 18.5 13M18.5 17.8C19.2 17.8 19.8 17.2 19.7 16.6C19.7 16 19.1 15.4 18.5 15.4C17.9 15.4 17.3 15.9 17.3 16.6C17.3 17.2 17.8 17.8 18.5 17.8M20 10H22V12.34C21.42 11.84 20.74 11.45 20 11.23V10Z'> </path> </svg></mat-icon> Spatial Filter </div><div class='describe'> The <span class='bold_class'>Spatial Filter</span> can be used to search for adresses or themes by specifying a predefined zone (for example, electoral districts) or by drawing an area on the map. The results can then be exported by using the <span class='bold_class'>Import & Export</span> tool. </div></div><br><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M1.39,18.36L3.16,16.6L4.58,18L5.64,16.95L4.22,15.54L5.64,14.12L8.11,16.6L9.17,15.54L6.7,13.06L8.11,11.65L9.53,13.06L10.59,12L9.17,10.59L10.59,9.17L13.06,11.65L14.12,10.59L11.65,8.11L13.06,6.7L14.47,8.11L15.54,7.05L14.12,5.64L15.54,4.22L18,6.7L19.07,5.64L16.6,3.16L18.36,1.39L22.61,5.64L5.64,22.61L1.39,18.36Z'> </path> </svg></mat-icon> Measure </div><div class='describe'>This tool gives the option to either <span class='bold_class'>Measure</span> distances or areas on the map.</div><br></div><div class='tool_name'><div class='titre_outil'><mat-icon class='mat-icon'><svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'><path d='M9.75 20.85C11.53 20.15 11.14 18.22 10.24 17C9.35 15.75 8.12 14.89 6.88 14.06C6 13.5 5.19 12.8 4.54 12C4.26 11.67 3.69 11.06 4.27 10.94C4.86 10.82 5.88 11.4 6.4 11.62C7.31 12 8.21 12.44 9.05 12.96L10.06 11.26C8.5 10.23 6.5 9.32 4.64 9.05C3.58 8.89 2.46 9.11 2.1 10.26C1.78 11.25 2.29 12.25 2.87 13.03C4.24 14.86 6.37 15.74 7.96 17.32C8.3 17.65 8.71 18.04 8.91 18.5C9.12 18.94 9.07 18.97 8.6 18.97C7.36 18.97 5.81 18 4.8 17.36L3.79 19.06C5.32 20 7.88 21.47 9.75 20.85M20.84 5.25C21.06 5.03 21.06 4.67 20.84 4.46L19.54 3.16C19.33 2.95 18.97 2.95 18.76 3.16L17.74 4.18L19.82 6.26M11 10.92V13H13.08L19.23 6.85L17.15 4.77L11 10.92Z'></path></svg></mat-icon> Draw </div><div class='describe'> The <span class='bold_class'>Draw</span> tool can be used to draw points, lines, polygons or circles with labels. The color of the fill and the stroke can be set with the given selectors. <br><br> A Drawings layer can be exported by using the <span class='bold_class'>Import & Export</span> tool. </div><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M14,14.5V12H10V15H8V11A1,1 0 0,1 9,10H14V7.5L17.5,11M21.71,11.29L12.71,2.29H12.7C12.31,1.9 11.68,1.9 11.29,2.29L2.29,11.29C1.9,11.68 1.9,12.32 2.29,12.71L11.29,21.71C11.68,22.09 12.31,22.1 12.71,21.71L21.71,12.71C22.1,12.32 22.1,11.68 21.71,11.29Z'> </path> </svg></mat-icon> Directions </div><div class='describe'> It is possible to build a route and get <span class='bold_class'>Directions</span> between two points by placing them on the map or by searching for addresses. It is also possible to add stops and copy the description or the link of the route to the clipboard.</div><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M17,14H19V17H22V19H19V22H17V19H14V17H17V14M11,16L2,9L11,2L20,9L11,16M11,18.54L12,17.75V18C12,18.71 12.12,19.39 12.35,20L11,21.07L2,14.07L3.62,12.81L11,18.54Z'></path> </svg></mat-icon> Catalog </div><div class='describe'> The <span class='bold_class'>Catalog</span> contains all the layers that can be added to the <span class='bold_class'>Map</span>. Click on the + of desired layer to add it. </div><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M14,17H18V14L23,18.5L18,23V20H14V17M13,9H18.5L13,3.5V9M6,2H14L20,8V12.34C19.37,12.12 18.7,12 18,12A6,6 0 0,0 12,18C12,19.54 12.58,20.94 13.53,22H6C4.89,22 4,21.1 4,20V4A2,2 0 0,1 6,2Z'></path> </svg></mat-icon> Import & Export </div><div class='describe'> It is possible to <span class='bold_class'>Import</span> vector data by specifying a coordinate system or a projection. <br><br> It is possible to <span class='bold_class'>Export</span> one or many layers in multiple formats. <br><br> It is also possible to <span class='bold_class'>Import</span> or <span class='bold_class'>Export</span> a context locally. This feature is useful to save contexts when the user is not authenticated. </div><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z'></path> </svg></mat-icon> Print </div><div class='describe'>This tool is used to <span class='bold_class'>Print</span> the map displayed on-screen. Multiple options can be specified like a title, a comment, the output format, the paper size and the orientation. </div><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M18,16.08C17.24,16.08 16.56,16.38 16.04,16.85L8.91,12.7C8.96,12.47 9,12.24 9,12C9,11.76 8.96,11.53 8.91,11.3L15.96,7.19C16.5,7.69 17.21,8 18,8A3,3 0 0,0 21,5A3,3 0 0,0 18,2A3,3 0 0,0 15,5C15,5.24 15.04,5.47 15.09,5.7L8.04,9.81C7.5,9.31 6.79,9 6,9A3,3 0 0,0 3,12A3,3 0 0,0 6,15C6.79,15 7.5,14.69 8.04,14.19L15.16,18.34C15.11,18.55 15.08,18.77 15.08,19C15.08,20.61 16.39,21.91 18,21.91C19.61,21.91 20.92,20.61 20.92,19A2.92,2.92 0 0,0 18,16.08Z'> </path> </svg></mat-icon> Share</div><div class='describe'> The <span class='bold_class'>Share</span> tool is used to create an URL that redirects to an exact representation of the map. This link can be shared or distributed in a document and allows the user to \"save\" the map for later use. </div><br></div><div class='tool_name'> <p> <a href='http://igouverte.org/' target='_blank'><img src='./assets/igo2/core/logo.png' alt='IGO' height=32>IGO2</a> is a open source geospatial solution developed by collaborators and specialists from several departments and agencies of the Government of Quebec. <p> Version: {{version.lib}}</p></div>",
|
|
33
|
+
"html": "<style>#about .bold_class{font-weight: bold;}#about .red{color: red;}#about .tool_name{border-top: 1px solid; padding-top: 10px;}#about .titre_outil{font-weight: bold; font-size: 18px; padding-bottom: 8px;}#about .subtitle{font-size: 20px; padding-bottom: 10px;}#about .align_right{text-align: right;}#about .describe{text-align: justify;}#about a img{color: black; text-decoration: none;}</style><body> <div id='about'> <div class='bold_class subtitle'>Features overview</div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z'> </path> </svg></mat-icon> Search Bar </div><div class='describe'>Located in the upper-left portion of the interface, the <span class='bold_class'>Search Bar</span> allows the user to locate an area of interest using an address, location or GPS coordinates. It can also be used to search for a layer. <br><br> It is also possible to search for a specific element using the hashtag \"#\" (for example, #municipalites québec). Accents and capital letters don't have any impact on <span class='bold_class'>Search Results</span> when using a hashtag. </div></div><br><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z'></path> </svg></mat-icon> Contexts </div><div class='describe'> <span class='bold_class'>Contexts</span> are used to visualize groupings of layers related to a specific theme. When a context is selected, all the layers associated with it will be added to the <span class='bold_class'>Map</span>. It is then possible to add other layers to the map by using the <span class='bold_class'>Catalog</span> or the <span class='bold_class'>Search Bar</span>. <br><br><div class='red'> <span class='bold_class'>WARNING :</span> If a new context is selected, all the layers displayed on the <span class='bold_class'>Map</span> will be replaced by the ones associated with the newly selected context. <br><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M15,19L9,16.89V5L15,7.11M20.5,3C20.44,3 20.39,3 20.34,3L15,5.1L9,3L3.36,4.9C3.15,4.97 3,5.15 3,5.38V20.5A0.5,0.5 0 0,0 3.5,21C3.55,21 3.61,21 3.66,20.97L9,18.9L15,21L20.64,19.1C20.85,19 21,18.85 21,18.62V3.5A0.5,0.5 0 0,0 20.5,3Z'> </path> </svg></mat-icon> Map </div><div class='describe'>It is possible to personalize the <span class='bold_class'>Map</span> by using the <span class='bold_class'>Catalog</span> or the <span class='bold_class'>Search Bar</span>. This space allows the user to add, delete, interrogate, filter and sort the displayed layers. It is also possible to visualize the legends associated with the layers. </div><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M2 4C2 2.89 2.9 2 4 2H7V4H4V7H2V4M22 4V7H20V4H17V2H20C21.1 2 22 2.89 22 4M2 20V17H4V20H7V22H4C2.9 22 2 21.11 2 20M10 2H14V4H10V2M10 20H14V22H10V20M2 10H4V14H2V10M18.5 13C20.4 13 22 14.6 22 16.5C22 19.1 18.5 23 18.5 23C18.5 23 15 19.1 15 16.5C15 14.6 16.6 13 18.5 13M18.5 17.8C19.2 17.8 19.8 17.2 19.7 16.6C19.7 16 19.1 15.4 18.5 15.4C17.9 15.4 17.3 15.9 17.3 16.6C17.3 17.2 17.8 17.8 18.5 17.8M20 10H22V12.34C21.42 11.84 20.74 11.45 20 11.23V10Z'> </path> </svg></mat-icon> Spatial Filter </div><div class='describe'> The <span class='bold_class'>Spatial Filter</span> can be used to search for adresses or themes by specifying a predefined zone (for example, electoral districts) or by drawing an area on the map. The results can then be exported by using the <span class='bold_class'>Import & Export</span> tool. </div></div><br><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M1.39,18.36L3.16,16.6L4.58,18L5.64,16.95L4.22,15.54L5.64,14.12L8.11,16.6L9.17,15.54L6.7,13.06L8.11,11.65L9.53,13.06L10.59,12L9.17,10.59L10.59,9.17L13.06,11.65L14.12,10.59L11.65,8.11L13.06,6.7L14.47,8.11L15.54,7.05L14.12,5.64L15.54,4.22L18,6.7L19.07,5.64L16.6,3.16L18.36,1.39L22.61,5.64L5.64,22.61L1.39,18.36Z'> </path> </svg></mat-icon> Measure </div><div class='describe'>This tool gives the option to either <span class='bold_class'>Measure</span> distances or areas on the map.</div><br></div><div class='tool_name'><div class='titre_outil'><mat-icon class='mat-icon'><svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'><path d='M9.75 20.85C11.53 20.15 11.14 18.22 10.24 17C9.35 15.75 8.12 14.89 6.88 14.06C6 13.5 5.19 12.8 4.54 12C4.26 11.67 3.69 11.06 4.27 10.94C4.86 10.82 5.88 11.4 6.4 11.62C7.31 12 8.21 12.44 9.05 12.96L10.06 11.26C8.5 10.23 6.5 9.32 4.64 9.05C3.58 8.89 2.46 9.11 2.1 10.26C1.78 11.25 2.29 12.25 2.87 13.03C4.24 14.86 6.37 15.74 7.96 17.32C8.3 17.65 8.71 18.04 8.91 18.5C9.12 18.94 9.07 18.97 8.6 18.97C7.36 18.97 5.81 18 4.8 17.36L3.79 19.06C5.32 20 7.88 21.47 9.75 20.85M20.84 5.25C21.06 5.03 21.06 4.67 20.84 4.46L19.54 3.16C19.33 2.95 18.97 2.95 18.76 3.16L17.74 4.18L19.82 6.26M11 10.92V13H13.08L19.23 6.85L17.15 4.77L11 10.92Z'></path></svg></mat-icon> Draw </div><div class='describe'> The <span class='bold_class'>Draw</span> tool can be used to draw points, lines, polygons or circles with labels. The color of the fill and the stroke can be set with the given selectors. <br><br> A Drawings layer can be exported by using the <span class='bold_class'>Import & Export</span> tool. </div><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M14,14.5V12H10V15H8V11A1,1 0 0,1 9,10H14V7.5L17.5,11M21.71,11.29L12.71,2.29H12.7C12.31,1.9 11.68,1.9 11.29,2.29L2.29,11.29C1.9,11.68 1.9,12.32 2.29,12.71L11.29,21.71C11.68,22.09 12.31,22.1 12.71,21.71L21.71,12.71C22.1,12.32 22.1,11.68 21.71,11.29Z'> </path> </svg></mat-icon> Directions </div><div class='describe'> It is possible to build a route and get <span class='bold_class'>Directions</span> between two points by placing them on the map or by searching for addresses. It is also possible to add stops and copy the description or the link of the route to the clipboard.</div><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M17,14H19V17H22V19H19V22H17V19H14V17H17V14M11,16L2,9L11,2L20,9L11,16M11,18.54L12,17.75V18C12,18.71 12.12,19.39 12.35,20L11,21.07L2,14.07L3.62,12.81L11,18.54Z'></path> </svg></mat-icon> Catalog </div><div class='describe'> The <span class='bold_class'>Catalog</span> contains all the layers that can be added to the <span class='bold_class'>Map</span>. Click on the + of desired layer to add it. </div><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M14,17H18V14L23,18.5L18,23V20H14V17M13,9H18.5L13,3.5V9M6,2H14L20,8V12.34C19.37,12.12 18.7,12 18,12A6,6 0 0,0 12,18C12,19.54 12.58,20.94 13.53,22H6C4.89,22 4,21.1 4,20V4A2,2 0 0,1 6,2Z'></path> </svg></mat-icon> Import & Export </div><div class='describe'> It is possible to <span class='bold_class'>Import</span> vector data by specifying a coordinate system or a projection. <br><br> It is possible to <span class='bold_class'>Export</span> one or many layers in multiple formats. <br><br> It is also possible to <span class='bold_class'>Import</span> or <span class='bold_class'>Export</span> a context locally. This feature is useful to save contexts when the user is not authenticated. </div><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z'></path> </svg></mat-icon> Print </div><div class='describe'>This tool is used to <span class='bold_class'>Print</span> the map displayed on-screen. Multiple options can be specified like a title, a comment, the output format, the paper size and the orientation. </div><br></div><div class='tool_name'> <div class='titre_outil'> <mat-icon class='mat-icon'> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M18,16.08C17.24,16.08 16.56,16.38 16.04,16.85L8.91,12.7C8.96,12.47 9,12.24 9,12C9,11.76 8.96,11.53 8.91,11.3L15.96,7.19C16.5,7.69 17.21,8 18,8A3,3 0 0,0 21,5A3,3 0 0,0 18,2A3,3 0 0,0 15,5C15,5.24 15.04,5.47 15.09,5.7L8.04,9.81C7.5,9.31 6.79,9 6,9A3,3 0 0,0 3,12A3,3 0 0,0 6,15C6.79,15 7.5,14.69 8.04,14.19L15.16,18.34C15.11,18.55 15.08,18.77 15.08,19C15.08,20.61 16.39,21.91 18,21.91C19.61,21.91 20.92,20.61 20.92,19A2.92,2.92 0 0,0 18,16.08Z'> </path> </svg></mat-icon> Share</div><div class='describe'> The <span class='bold_class'>Share</span> tool is used to create an URL that redirects to an exact representation of the map. This link can be shared or distributed in a document and allows the user to \"save\" the map for later use. </div><br></div><div class='tool_name'> <p> <a href='http://igouverte.org/' target='_blank'><img src='./assets/igo2/core/logo.png' alt='IGO' height=32>IGO2</a> is a open source geospatial solution developed by collaborators and specialists from several departments and agencies of the Government of Quebec. <p> Version: {{version}}</p></div>",
|
|
34
34
|
"trainingGuide": "Training guide",
|
|
35
35
|
"trainingGuideTooltip": "Click here to access IGO2's self-training guide"
|
|
36
36
|
},
|