@opengeoweb/webmap-react 9.0.0 → 9.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/webmap-react",
3
- "version": "9.0.0",
3
+ "version": "9.2.0",
4
4
  "description": "GeoWeb react wrapper for webmap",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface ProfileAxisProps {
3
+ mapId: string;
4
+ }
5
+ /**
6
+ * This component registers to a webmap instance and draws axis for height and time in the map using the Map Canvas.
7
+ */
8
+ export declare const ProfileAxis: React.FC<ProfileAxisProps>;
@@ -0,0 +1 @@
1
+ import 'jest-canvas-mock';
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ export declare const ProfileAxisStory: {
3
+ (): React.ReactElement;
4
+ storyName: string;
5
+ };
6
+ declare const _default: {
7
+ title: string;
8
+ };
9
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export type GFIResult = [{
2
+ data: {
3
+ '0': number;
4
+ };
5
+ }];
6
+ export declare const CEILONETSTATIONLAYERNAME = "hasceilometerWMONAME";
7
+ export declare const CEILONETPROFILELAYERPREFIX = "ceilonet_";
8
+ /**
9
+ * Connects a Map with a WMS layer with ceilometer stations to a Map withj profile layers.
10
+ * Clicking on the station map causes the layer in the profile map to be changed accordingly.
11
+ * The layername comes from a GetFeatureInfo request on the stations layer.
12
+ *
13
+ * @param mapIdWithProfileViewer
14
+ * @param mapIdWithCeilometerStations
15
+ * @returns
16
+ */
17
+ export declare const connectProfileMapViewToProfileStationsMapById: (mapIdWithProfileViewer: string, mapIdWithCeilometerStations: string) => void;
@@ -0,0 +1 @@
1
+ export {};
@@ -5,7 +5,8 @@ type IntersectionElement = {
5
5
  };
6
6
  interface IntersectionSelectProps {
7
7
  intersections: IntersectionElement[];
8
- onChangeIntersection: (geojson: GeoJSON.FeatureCollection) => void;
8
+ onChangeIntersection: (geojson: GeoJSON.FeatureCollection, title: string) => void;
9
+ isDisabled?: boolean;
9
10
  }
10
11
  export declare const IntersectionSelect: React.FC<IntersectionSelectProps>;
11
12
  export default IntersectionSelect;
@@ -1,11 +1,13 @@
1
1
  import React from 'react';
2
2
  import { DrawMode } from './types';
3
3
  import { MapDrawToolOptions } from './useMapDrawTool';
4
+ export declare const firButtonDrawId = "fir-button";
4
5
  export declare const exampleIntersectionsMultiDrawTool: {
5
6
  title: string;
6
7
  geojson: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
7
8
  }[];
8
9
  export declare const getDoubleControlToolIcon: (drawMode: DrawMode) => React.ReactElement;
10
+ export declare const getFirTitle: (isNL: boolean) => string;
9
11
  export declare const updateEditModeButtonsWithFir: (drawModes: DrawMode[], newFirGeoJSON: GeoJSON.FeatureCollection) => DrawMode[];
10
12
  export declare const startToolExampleConfig: MapDrawToolOptions;
11
13
  export declare const endToolExampleConfig: MapDrawToolOptions;
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ export declare const MapViewProfile: {
3
+ (): React.ReactElement;
4
+ storyName: string;
5
+ };
6
+ declare const _default: {
7
+ title: string;
8
+ };
9
+ export default _default;
@@ -34,6 +34,11 @@ export interface ReactMapViewProps {
34
34
  export interface MapLocation {
35
35
  lat: number;
36
36
  lon: number;
37
+ screenOffsetX?: number;
38
+ screenOffsetY?: number;
39
+ projectionX?: number;
40
+ projectionY?: number;
41
+ srs?: string;
37
42
  }
38
43
  export interface MapPinLocationPayload {
39
44
  mapId: string;
@@ -7,4 +7,3 @@ export * from './MapView';
7
7
  export * from './MapTime';
8
8
  export * from './MapControls';
9
9
  export * from './MapWarning';
10
- export * from './Search';
@@ -0,0 +1,19 @@
1
+ import { LayerType } from '@opengeoweb/webmap';
2
+ /**
3
+ * Base URL of the adaguc-service where all profiles are configured
4
+ */
5
+ export declare const profileAdagucServiceBaseUrl = "https://geoservices.knmi.nl";
6
+ /** The station layer with overview of profile datasets */
7
+ export declare const profileStationLayer: {
8
+ service: string;
9
+ name: string;
10
+ style: string;
11
+ layerType: LayerType;
12
+ };
13
+ export declare const profileDataLayer: {
14
+ service: string;
15
+ name: string;
16
+ format: string;
17
+ enabled: boolean;
18
+ layerType: LayerType;
19
+ };
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export interface SearchDialogProps {
3
- isOpen: boolean;
4
- onClose: () => void;
5
- }
6
- export declare const SearchDialog: React.FC<SearchDialogProps>;
@@ -1 +0,0 @@
1
- export * from './SearchDialog';