From 1b85d63973d8f7f70d6f3c57c9500b3196dbc8bd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 6 Nov 2023 16:25:46 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20open-pio?= =?UTF-8?q?neer/trails-openlayers-base-packages@66f3918b88406b82afc3fcd915?= =?UTF-8?q?c144be7102be14=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...n_pioneer_authentication.useAuthState.html | 2 +- ...r_experimental_layout_sidebar.Sidebar.html | 2 +- .../_open_pioneer_map.MapAnchor.html | 2 +- .../_open_pioneer_map.MapContainer.html | 2 +- .../_open_pioneer_map.getProjection.html | 2 +- ..._open_pioneer_map.registerProjections.html | 2 +- .../_open_pioneer_map.useCenter.html | 2 +- .../_open_pioneer_map.useMapModel.html | 2 +- .../_open_pioneer_map.useProjection.html | 2 +- .../_open_pioneer_map.useResolution.html | 2 +- .../functions/_open_pioneer_map.useScale.html | 2 +- ...r_map_test_utils.createServiceOptions.html | 2 +- ..._open_pioneer_map_test_utils.setupMap.html | 2 +- ...r_map_test_utils.waitForInitialExtent.html | 2 +- ...ioneer_map_test_utils.waitForMapMount.html | 2 +- .../_open_pioneer_notifier.Notifier.html | 2 +- ...oneer_ogc_features.createVectorSource.html | 2 +- ...pen_pioneer_react_utils.TitledSection.html | 2 +- ...r_react_utils.useCommonComponentProps.html | 2 +- .../_open_pioneer_react_utils.useEvent.html | 2 +- ...n_pioneer_react_utils.useHeadingLevel.html | 2 +- ...pen_pioneer_authentication.AuthEvents.html | 4 +-- ...pen_pioneer_authentication.AuthPlugin.html | 8 ++--- ...oneer_authentication.AuthPluginEvents.html | 4 +-- ...en_pioneer_authentication.AuthService.html | 10 +++--- ...authentication.AuthStateAuthenticated.html | 6 ++-- ...hentication.AuthStateNotAuthenticated.html | 4 +-- ...oneer_authentication.AuthStatePending.html | 4 +-- ...pioneer_authentication.ForceAuthProps.html | 8 ++--- ...en_pioneer_authentication.LoginEffect.html | 6 ++-- ..._pioneer_authentication.LoginFallback.html | 6 ++-- ...en_pioneer_authentication.SessionInfo.html | 10 +++--- ...basemap_switcher.BasemapSwitcherProps.html | 14 ++++---- ...ordinate_viewer.CoordinateViewerProps.html | 10 +++--- ...perimental_layout_sidebar.SidebarItem.html | 10 +++--- ...ntal_layout_sidebar.SidebarProperties.html | 10 +++--- .../_open_pioneer_map.CoordinateConfig.html | 8 ++--- .../_open_pioneer_map.ExtentConfig.html | 10 +++--- ..._open_pioneer_map.InitialExtentConfig.html | 6 ++-- ...pen_pioneer_map.InitialPositionConfig.html | 8 ++--- .../interfaces/_open_pioneer_map.Layer.html | 32 ++++++++--------- .../_open_pioneer_map.LayerBase.html | 26 +++++++------- .../_open_pioneer_map.LayerBaseConfig.html | 12 +++---- .../_open_pioneer_map.LayerBaseEvents.html | 16 ++++----- .../_open_pioneer_map.LayerCollection.html | 20 +++++------ ...pen_pioneer_map.LayerCollectionEvents.html | 4 +-- .../_open_pioneer_map.LayerConfig.html | 14 ++++---- ...pen_pioneer_map.LayerRetrievalOptions.html | 4 +-- .../_open_pioneer_map.MapAnchorProps.html | 16 ++++----- .../_open_pioneer_map.MapConfig.html | 10 +++--- .../_open_pioneer_map.MapConfigProvider.html | 6 ++-- .../_open_pioneer_map.MapContainerProps.html | 20 +++++------ .../_open_pioneer_map.MapModel.html | 14 ++++---- .../_open_pioneer_map.MapModelEvents.html | 10 +++--- .../_open_pioneer_map.MapPadding.html | 10 +++--- .../_open_pioneer_map.MapRegistry.html | 8 ++--- .../_open_pioneer_map.OlMapOptions.html | 4 +-- .../_open_pioneer_map.SimpleLayerConfig.html | 16 ++++----- ...en_pioneer_map.SimpleLayerConstructor.html | 6 ++-- .../_open_pioneer_map.Sublayer.html | 30 ++++++++-------- ..._open_pioneer_map.SublayersCollection.html | 4 +-- ...pioneer_map.SublayersCollectionEvents.html | 4 +-- .../_open_pioneer_map.UseMapModelLoading.html | 8 ++--- ..._open_pioneer_map.UseMapModelRejected.html | 8 ++--- ..._open_pioneer_map.UseMapModelResolved.html | 8 ++--- .../_open_pioneer_map.WMSLayer.html | 36 +++++++++---------- .../_open_pioneer_map.WMSLayerConfig.html | 18 +++++----- ..._open_pioneer_map.WMSLayerConstructor.html | 6 ++-- .../_open_pioneer_map.WMSSublayerConfig.html | 16 ++++----- ...eer_map_navigation.InitialExtentProps.html | 8 ++--- ...open_pioneer_map_navigation.ZoomProps.html | 10 +++--- ...oneer_map_test_utils.SimpleMapOptions.html | 18 +++++----- ..._pioneer_measurement.MeasurementProps.html | 12 +++---- ..._pioneer_notifier.NotificationOptions.html | 10 +++--- ..._pioneer_notifier.NotificationService.html | 6 ++-- .../_open_pioneer_notifier.NotifierProps.html | 4 +-- ..._ogc_features.OgcFeatureSourceOptions.html | 16 ++++----- ...neer_react_utils.CommonComponentProps.html | 6 ++-- ...act_utils.ConfigureTitledSectionProps.html | 6 ++-- ...oneer_react_utils.SectionHeadingProps.html | 4 +-- ...ioneer_react_utils.TitledSectionProps.html | 8 ++--- ...pioneer_scale_viewer.ScaleViewerProps.html | 8 ++--- .../modules/_open_pioneer_authentication.html | 2 +- .../_open_pioneer_basemap_switcher.html | 2 +- .../_open_pioneer_coordinate_viewer.html | 2 +- ...n_pioneer_experimental_layout_sidebar.html | 2 +- .../docs/modules/_open_pioneer_map.html | 2 +- .../modules/_open_pioneer_map_navigation.html | 2 +- .../modules/_open_pioneer_measurement.html | 2 +- .../docs/modules/_open_pioneer_notifier.html | 2 +- .../modules/_open_pioneer_ogc_features.html | 2 +- .../modules/_open_pioneer_react_utils.html | 4 +-- .../modules/_open_pioneer_scale_viewer.html | 2 +- ...er_authentication.AuthPluginEventBase.html | 2 +- ...open_pioneer_authentication.AuthState.html | 2 +- ..._pioneer_authentication.LoginBehavior.html | 2 +- .../_open_pioneer_map.InitialViewConfig.html | 2 +- .../_open_pioneer_map.LayerLoadState.html | 2 +- .../_open_pioneer_map.MapAnchorPosition.html | 2 +- ...open_pioneer_map.ProjectionDefinition.html | 2 +- .../types/_open_pioneer_map.SimpleLayer.html | 4 +-- .../_open_pioneer_map.UseMapModelResult.html | 2 +- ...en_pioneer_map_navigation.ZoomInProps.html | 2 +- ...n_pioneer_map_navigation.ZoomOutProps.html | 2 +- ...en_pioneer_notifier.NotificationLevel.html | 2 +- ...open_pioneer_react_utils.HeadingLevel.html | 2 +- .../_open_pioneer_map.SimpleLayer-1.html | 4 +-- .../_open_pioneer_map.WMSLayer-1.html | 4 +-- 108 files changed, 375 insertions(+), 375 deletions(-) diff --git a/openlayers-base-packages/docs/functions/_open_pioneer_authentication.useAuthState.html b/openlayers-base-packages/docs/functions/_open_pioneer_authentication.useAuthState.html index ee027d0f0..da46f79d9 100644 --- a/openlayers-base-packages/docs/functions/_open_pioneer_authentication.useAuthState.html +++ b/openlayers-base-packages/docs/functions/_open_pioneer_authentication.useAuthState.html @@ -30,7 +30,7 @@
authService: Returns AuthState
+
  • Defined in src/packages/authentication/useAuthState.ts:9
  • +
  • Defined in Sidebar.tsx:63
  • +
  • Defined in map/ui/MapAnchor.tsx:57
  • +
  • Defined in src/packages/react-utils/TitledSection.tsx:168
  • +
  • Defined in src/packages/authentication/api.ts:11
  • +
  • Defined in src/packages/authentication/ForceAuth.tsx:48
  • +
  • Defined in src/packages/react-utils/useCommonComponentProps.ts:18
  • mapId: string
    @@ -96,7 +96,7 @@
    +
  • Defined in src/packages/basemap-switcher/BasemapSwitcher.tsx:36
  • +
  • Defined in src/packages/react-utils/useCommonComponentProps.ts:18
  • mapId: string
    @@ -67,7 +67,7 @@
    +
  • Defined in src/packages/coordinate-viewer/CoordinateViewer.tsx:23
  • precision?: number
    @@ -75,7 +75,7 @@
    +
  • Defined in src/packages/coordinate-viewer/CoordinateViewer.tsx:28
  • +
  • Defined in Sidebar.tsx:26
  • id: string
    @@ -59,7 +59,7 @@
    +
  • Defined in Sidebar.tsx:22
  • label: string
    @@ -67,7 +67,7 @@
    +
  • Defined in Sidebar.tsx:30
  • +
  • Defined in Sidebar.tsx:52
  • +
  • Defined in map/api/layers/base.ts:79
  • id: string
    @@ -94,7 +94,7 @@
    +
  • Defined in map/api/layers/base.ts:73
  • isBaseLayer: boolean
    @@ -103,7 +103,7 @@
    +
  • Defined in map/api/layers/base.ts:166
  • loadState: LayerLoadState
    @@ -111,7 +111,7 @@
    +
  • Defined in map/api/layers/base.ts:154
  • @@ -120,7 +120,7 @@
    +
  • Defined in map/api/layers/base.ts:65
  • olLayer: BaseLayer
    @@ -128,7 +128,7 @@
    +
  • Defined in map/api/layers/base.ts:159
  • sublayers: undefined | SublayersCollection
    @@ -138,7 +138,7 @@
    +
  • Defined in map/api/layers/base.ts:94
  • title: string
    @@ -147,7 +147,7 @@
    +
  • Defined in map/api/layers/base.ts:76
  • visible: boolean
    @@ -158,7 +158,7 @@
    +
  • Defined in map/api/layers/base.ts:87
  • Methods

    @@ -177,7 +177,7 @@

    Returns void

    +
  • Defined in map/api/layers/base.ts:128
    • @@ -194,7 +194,7 @@

      Returns void

    +
  • Defined in map/api/layers/base.ts:109
    • @@ -211,7 +211,7 @@

      Returns void

    +
  • Defined in map/api/layers/base.ts:104
    • @@ -230,7 +230,7 @@

      Returns void

    +
  • Defined in map/api/layers/base.ts:117
    • @@ -248,7 +248,7 @@

      Returns void

    +
  • Defined in map/api/layers/base.ts:123
  • +
  • Defined in map/api/layers/base.ts:47
  • +
  • Defined in map/api/layers/base.ts:41
  • id?: string
    @@ -76,7 +76,7 @@
    +
  • Defined in map/api/layers/base.ts:30
  • isBaseLayer?: boolean
    @@ -86,7 +86,7 @@
    +
  • Defined in map/api/layers/base.ts:141
  • title: string
    @@ -95,7 +95,7 @@
    +
  • Defined in map/api/layers/base.ts:35
  • visible?: boolean
    @@ -105,7 +105,7 @@
    +
  • Defined in map/api/layers/base.ts:47
  • +
  • Defined in react-utils/useCommonComponentProps.ts:18
  • horizontalGap?: number
    @@ -83,7 +83,7 @@

    Default

    0
     
    +
  • Defined in map/ui/MapAnchor.tsx:30
  • @@ -94,7 +94,7 @@

    Default

    "top-righ
     
    +
  • Defined in map/ui/MapAnchor.tsx:19
  • stopEvents?: boolean
    @@ -107,7 +107,7 @@
    +
  • Defined in map/ui/MapAnchor.tsx:52
  • verticalGap?: number
    @@ -122,7 +122,7 @@

    0 (If position bottom-*, default verticalGap == 30)

    +
  • Defined in map/ui/MapAnchor.tsx:41
  • +
  • Defined in react-utils/useCommonComponentProps.ts:18
  • mapId: string
    @@ -97,7 +97,7 @@
    +
  • Defined in map/ui/MapContainer.tsx:27
  • role?: string
    @@ -106,7 +106,7 @@
    +
  • Defined in map/ui/MapContainer.tsx:54
  • viewPadding?: MapPadding
    @@ -115,7 +115,7 @@
    +
  • Defined in map/ui/MapContainer.tsx:34
  • viewPaddingChangeBehavior?: "none" | "preserve-center" | "preserve-extent"
    @@ -131,7 +131,7 @@

    Default

    "preserve
     
    +
  • Defined in map/ui/MapContainer.tsx:45
  • +
  • Defined in map/api/MapConfig.ts:65
  • +
  • Defined in map/api/layers/base.ts:41
  • id?: string
    @@ -75,7 +75,7 @@
    +
  • Defined in map/api/layers/base.ts:30
  • isBaseLayer?: boolean
    @@ -86,7 +86,7 @@
    +
  • Defined in map/api/layers/base.ts:141
  • olLayer: BaseLayer
    @@ -94,7 +94,7 @@
    +
  • Defined in map/api/layers/SimpleLayer.ts:16
  • title: string
    @@ -103,7 +103,7 @@
    +
  • Defined in map/api/layers/base.ts:35
  • visible?: boolean
    @@ -113,7 +113,7 @@
    +
  • Defined in map/api/layers/base.ts:47
  • +
  • Defined in map/api/layers/base.ts:79
  • id: string
    @@ -83,7 +83,7 @@
    +
  • Defined in map/api/layers/base.ts:73
  • @@ -92,7 +92,7 @@
    +
  • Defined in map/api/layers/base.ts:65
  • parent: Layer<{}> | Sublayer
    @@ -101,7 +101,7 @@
    +
  • Defined in map/api/layers/base.ts:177
  • parentLayer: Layer<{}>
    @@ -112,7 +112,7 @@

    Type declaration

      +
    • Defined in map/api/layers/base.ts:182
    • sublayers: undefined | SublayersCollection
      @@ -122,7 +122,7 @@
      +
    • Defined in map/api/layers/base.ts:94
    • title: string
      @@ -131,7 +131,7 @@
      +
    • Defined in map/api/layers/base.ts:76
    • visible: boolean
      @@ -142,7 +142,7 @@
      +
    • Defined in map/api/layers/base.ts:87
    • Methods

      @@ -161,7 +161,7 @@

      Returns void

      +
    • Defined in map/api/layers/base.ts:128
      • @@ -178,7 +178,7 @@

        Returns void

      +
    • Defined in map/api/layers/base.ts:109
      • @@ -195,7 +195,7 @@

        Returns void

      +
    • Defined in map/api/layers/base.ts:104
      • @@ -214,7 +214,7 @@

        Returns void

      +
    • Defined in map/api/layers/base.ts:117
      • @@ -232,7 +232,7 @@

        Returns void

      +
    • Defined in map/api/layers/base.ts:123
    • +
    • Defined in map/api/layers/base.ts:79
    • id: string
      @@ -86,7 +86,7 @@
      +
    • Defined in map/api/layers/base.ts:73
    • isBaseLayer: boolean
      @@ -96,7 +96,7 @@
      +
    • Defined in map/api/layers/base.ts:166
    • loadState: LayerLoadState
      @@ -105,7 +105,7 @@
      +
    • Defined in map/api/layers/base.ts:154
    • @@ -114,7 +114,7 @@
      +
    • Defined in map/api/layers/base.ts:65
    • olLayer: BaseLayer
      @@ -123,7 +123,7 @@
      +
    • Defined in map/api/layers/base.ts:159
    • @@ -133,7 +133,7 @@
      +
    • Defined in map/api/layers/WMSLayer.ts:39
    • title: string
      @@ -142,7 +142,7 @@
      +
    • Defined in map/api/layers/base.ts:76
    • url: string
      @@ -150,7 +150,7 @@
      +
    • Defined in map/api/layers/WMSLayer.ts:42
    • visible: boolean
      @@ -161,7 +161,7 @@
      +
    • Defined in map/api/layers/base.ts:87
    • Methods

      @@ -180,7 +180,7 @@

      Returns void

      +
    • Defined in map/api/layers/base.ts:128
    • +
    • Defined in map/api/layers/base.ts:109
    • +
    • Defined in map/api/layers/base.ts:104
    • +
    • Defined in map/api/layers/base.ts:117
    • +
    • Defined in map/api/layers/base.ts:123
    • +
    • Defined in map/api/layers/base.ts:41
    • id?: string
      @@ -75,7 +75,7 @@
      +
    • Defined in map/api/layers/base.ts:30
    • sourceOptions?: Partial<Options>
      @@ -85,7 +85,7 @@
      +
    • Defined in map/api/layers/WMSLayer.ts:23
    • sublayers?: WMSSublayerConfig[]
      @@ -93,7 +93,7 @@
      +
    • Defined in map/api/layers/WMSLayer.ts:15
    • title: string
      @@ -102,7 +102,7 @@
      +
    • Defined in map/api/layers/base.ts:35
    • url: string
      @@ -110,7 +110,7 @@
      +
    • Defined in map/api/layers/WMSLayer.ts:12
    • visible?: boolean
      @@ -120,7 +120,7 @@
      +
    • Defined in map/api/layers/base.ts:47
    • +
    • Defined in map/api/layers/base.ts:41
    • id?: string
      @@ -74,7 +74,7 @@
      +
    • Defined in map/api/layers/base.ts:30
    • name: string
      @@ -82,7 +82,7 @@
      +
    • Defined in map/api/layers/WMSLayer.ts:31
    • sublayers?: WMSSublayerConfig[]
      @@ -90,7 +90,7 @@
      +
    • Defined in map/api/layers/WMSLayer.ts:34
    • title: string
      @@ -99,7 +99,7 @@
      +
    • Defined in map/api/layers/base.ts:35
    • visible?: boolean
      @@ -109,7 +109,7 @@
      +
    • Defined in map/api/layers/base.ts:47
    • +
    • Defined in src/packages/react-utils/useCommonComponentProps.ts:18
    • mapId: string
      @@ -67,7 +67,7 @@
      +
    • Defined in src/packages/map-navigation/InitialExtent.tsx:15
    • +
    • Defined in src/packages/react-utils/useCommonComponentProps.ts:18
    • mapId: string
      @@ -68,7 +68,7 @@
      +
    • Defined in src/packages/map-navigation/Zoom.tsx:38
    • zoomDirection: "in" | "out"
      @@ -77,7 +77,7 @@
      +
    • Defined in src/packages/map-navigation/Zoom.tsx:45
    • +
    • Defined in index.ts:22
    • +
    • Defined in src/packages/react-utils/useCommonComponentProps.ts:18
    • finishedFeatureStyle?: StyleLike
      @@ -76,7 +76,7 @@
      +
    • Defined in src/packages/measurement/Measurement.tsx:38
    • mapId: string
      @@ -84,7 +84,7 @@
      +
    • Defined in src/packages/measurement/Measurement.tsx:28
    • +
    • Defined in api.ts:13
    • +
    • Defined in Notifier.tsx:17
    • +
    • Defined in OgcFeatureSourceFactory.ts:27
    • limit?: number
      @@ -90,7 +90,7 @@
      +
    • Defined in OgcFeatureSourceFactory.ts:38
    • maxConcurrentRequests?: number
      @@ -98,7 +98,7 @@
      +
    • Defined in OgcFeatureSourceFactory.ts:41
    • +
    • Defined in src/packages/react-utils/TitledSection.tsx:89
    • +
    • Defined in src/packages/react-utils/useCommonComponentProps.ts:18
    • mapId: string
      @@ -66,7 +66,7 @@
      +
    • Defined in src/packages/scale-viewer/ScaleViewer.tsx:16
    • Example:

      <FormControl>
      <FormLabel ps={1}>
      <Text as="b">{intl.formatMessage({ id: "basemapLabel" })}</Text>
      </FormLabel>
      <BasemapSwitcher mapId="map_id" allowSelectingEmptyBasemap></BasemapSwitcher>
      </FormControl>
      -

      License

      Apache-2.0

      +

      License

      Apache-2.0 (see LICENSE file)

      diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_coordinate_viewer.html b/openlayers-base-packages/docs/modules/_open_pioneer_coordinate_viewer.html index 9649dbf5a..3e7cd10c5 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_coordinate_viewer.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_coordinate_viewer.html @@ -22,7 +22,7 @@

      Module @open-pioneer/coordinate-viewer - v0.0.1

      To define the number of decimal places shown, set the optional precision property:

      <CoordinateViewer mapId="map_id" precision={2} />
       
      -

      License

      Apache-2.0

      +

      License

      Apache-2.0 (see LICENSE file)

      diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_experimental_layout_sidebar.html b/openlayers-base-packages/docs/modules/_open_pioneer_experimental_layout_sidebar.html index 6553fccfa..12f0a4ee6 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_experimental_layout_sidebar.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_experimental_layout_sidebar.html @@ -29,7 +29,7 @@

      Module @open-pioneer/experimental-layout-sidebar - v0.1.3

      Example for an items array:

      const items: SidebarItem[] = [
      {
      id: "sandbox",
      icon: <SomeIcon />,
      label: "Sandbox",
      content: <div>Content goes here...</div>
      }
      ];
      -

      License

      Apache-2.0

      +

      License

      Apache-2.0 (see LICENSE file)

      diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_map.html b/openlayers-base-packages/docs/modules/_open_pioneer_map.html index b6ca22243..1befd69d5 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_map.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_map.html @@ -203,7 +203,7 @@

      Module @open-pioneer/map - v0.0.1

      Example: Center map to given coordinates using the map model.

      import { useMapModel } from "@open-pioneer/map";
      import { MAP_ID } from "./MapConfigProviderImpl";

      export function AppUI() {
      // mapState.map may be undefined initially, if the map is still configuring.
      // the object may may also be in an "error" state.
      const mapState = useMapModel(MAP_ID);

      const centerBerlin = () => {
      const olMap = mapState.map?.olMap;
      if (olMap) {
      olMap?.getView().fit([1489200, 6894026, 1489200, 6894026], { maxZoom: 13 });
      }
      };
      }
      -

      License

      Apache-2.0

      +

      License

      Apache-2.0 (see LICENSE file)

      diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_map_navigation.html b/openlayers-base-packages/docs/modules/_open_pioneer_map_navigation.html index 2fa1e1506..74d7999e4 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_map_navigation.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_map_navigation.html @@ -29,7 +29,7 @@

      Module @open-pioneer/map-navigation - v0.0.1

      You can also use the generic Zoom component:

      <Zoom mapId="map_id" zoomDirection="in" />
       
      -

      License

      Apache-2.0

      +

      License

      Apache-2.0 (see LICENSE file)

      diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_measurement.html b/openlayers-base-packages/docs/modules/_open_pioneer_measurement.html index 3f90a4ff5..0ed824efe 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_measurement.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_measurement.html @@ -27,7 +27,7 @@

      Module @open-pioneer/measurement - v0.0.1

      As an example, the following configuration will render completed features using black color and active ones using red color:

      import { Fill, Stroke, Style } from "ol/style";
      import { Measurement } from "@open-pioneer/measurement";

      const BLACK_STYLE = new Style({
      stroke: new Stroke({
      color: "black",
      width: 5
      }),
      fill: new Fill({
      color: "rgba(0, 0, 0, 0.25)"
      })
      });

      const RED_STYLE = new Style({
      stroke: new Stroke({
      color: "red",
      width: 5
      }),
      fill: new Fill({
      color: "rgba(255, 0, 0, 0.25)"
      })
      });

      function AppUI() {
      return (
      // ...
      <Measurement
      mapId={MAP_ID}
      activeFeatureStyle={RED_STYLE}
      finishedFeatureStyle={BLACK_STYLE}
      />
      );
      }
      -

      License

      Apache-2.0

      +

      License

      Apache-2.0 (see LICENSE file)

      diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_notifier.html b/openlayers-base-packages/docs/modules/_open_pioneer_notifier.html index 4489d0707..f55c038a7 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_notifier.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_notifier.html @@ -37,7 +37,7 @@

      Module @open-pioneer/notifier - v0.0.1

      Closing all notifications

      All currently displayed notifications can be closed by calling the closeAll method on the NotificationService:

      const notificationService = ...; // injected
      notificationService.closeAll();
      -

      License

      Apache-2.0

      +

      License

      Apache-2.0 (see LICENSE file)

      diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_ogc_features.html b/openlayers-base-packages/docs/modules/_open_pioneer_ogc_features.html index 6412a9b7b..0cc0bc5fa 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_ogc_features.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_ogc_features.html @@ -28,7 +28,7 @@

      Module @open-pioneer/ogc-features - v0.0.1

      The number of concurrent requests is never higher than maxConcurrentRequests.

      Additional options of the VectorSource (see OpenLayers documentation) can be given by the property additionalOptions.

      -

      License

      Apache-2.0

      +

      License

      Apache-2.0 (see LICENSE file)

      diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_react_utils.html b/openlayers-base-packages/docs/modules/_open_pioneer_react_utils.html index 95840d01c..d6b0d0b79 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_react_utils.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_react_utils.html @@ -31,7 +31,7 @@

      Module @open-pioneer/react-utils - v0.0.1

      Hooks

      useCommonComponentProps()

      A helper hook that automatically computes containerProps: common properties to set on the topmost container element of a public component.

      For the time being, these properties are className (combined component class and optional additional class names) and data-testid (for tests).

      Example:

      -
      // SPDX-FileCopyrightText: con terra GmbH and contributors
      // SPDX-License-Identifier: Apache-2.0
      import { CommonComponentProps, useCommonComponentProps } from "@open-pioneer/react-utils";
      // ...

      // Inherit from CommonComponentProps
      export interface InitialExtentProps extends CommonComponentProps {
      mapId: string;
      }

      export const InitialExtent: FC<InitialExtentProps> = forwardRef(function InitialExtent(
      props: InitialExtentProps,
      ref: ForwardedRef<HTMLDivElement>
      ) {
      const { mapId } = props;

      // Use the hook to compute container props (classNames, data-testid, maybe more in the future)
      const { containerProps } = useCommonComponentProps("initial-extent", props);

      // Pass containerProps directly to the container
      return <Box {...containerProps}>{/* ... */}</Box>;
      }); +
      // SPDX-FileCopyrightText: 2023 Open Pioneer project (https://github.com/open-pioneer)
      // SPDX-License-Identifier: Apache-2.0
      import { CommonComponentProps, useCommonComponentProps } from "@open-pioneer/react-utils";
      // ...

      // Inherit from CommonComponentProps
      export interface InitialExtentProps extends CommonComponentProps {
      mapId: string;
      }

      export const InitialExtent: FC<InitialExtentProps> = forwardRef(function InitialExtent(
      props: InitialExtentProps,
      ref: ForwardedRef<HTMLDivElement>
      ) {
      const { mapId } = props;

      // Use the hook to compute container props (classNames, data-testid, maybe more in the future)
      const { containerProps } = useCommonComponentProps("initial-extent", props);

      // Pass containerProps directly to the container
      return <Box {...containerProps}>{/* ... */}</Box>;
      });

      useEvent()

      The useEvent can be used to obtain a stable event handler function with changing implementation. This is useful to avoid re-triggering useEffect-hooks when only the event handler changed.

      @@ -39,7 +39,7 @@

      Module @open-pioneer/react-utils - v0.0.1

      import { useEvent } from "@open-pioneer/react-utils";

      function someReactComponent(props) {
      // NOTE: logMessage() must not be called during rendering!
      const logMessage = useEvent((message: string) => {
      console.log(message, props.someProperty);
      });
      const someService = ...; // injected

      // Changes of prop.someProperty will not cause the effect to re-fire, because the function identity
      // of `logMessage` remains stable.
      useEffect(() => {
      const handle = someService.registerHandler(logMessage);
      return () => handle.destroy();
      }, [someService, logMessage]);
      }

      For more details, see the API docs of useEvent or https://github.com/reactjs/rfcs/blob/useevent/text/0000-useevent.md.

      -

      License

      Apache-2.0

      +

      License

      Apache-2.0 (see LICENSE file)

      diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_scale_viewer.html b/openlayers-base-packages/docs/modules/_open_pioneer_scale_viewer.html index e32302143..6b8888ef6 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_scale_viewer.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_scale_viewer.html @@ -19,7 +19,7 @@

      Module @open-pioneer/scale-viewer - v0.0.1

      Usage

      To integrate the scale viewer in your app, insert the following snippet and reference a map ID:

      <ScaleViewer mapId="map_id" />
       
      -

      License

      Apache-2.0

      +

      License

      Apache-2.0 (see LICENSE file)

      diff --git a/openlayers-base-packages/docs/types/_open_pioneer_authentication.AuthPluginEventBase.html b/openlayers-base-packages/docs/types/_open_pioneer_authentication.AuthPluginEventBase.html index 9b19290f1..af63607e4 100644 --- a/openlayers-base-packages/docs/types/_open_pioneer_authentication.AuthPluginEventBase.html +++ b/openlayers-base-packages/docs/types/_open_pioneer_authentication.AuthPluginEventBase.html @@ -21,7 +21,7 @@

      Type alias AuthPluginEventBase

      +
    • Defined in src/packages/authentication/api.ts:134
    • +
    • Defined in src/packages/authentication/api.ts:40
    • +
    • Defined in src/packages/authentication/api.ts:70
    • +
    • Defined in map/api/MapConfig.ts:51
    • +
    • Defined in map/api/layers/base.ts:20
    • +
    • Defined in map/ui/MapAnchor.tsx:10
    • +
    • Defined in map/projections.ts:6
    • +
    • Defined in map/api/layers/SimpleLayer.ts:30
    • +
    • Defined in map/api/layers/SimpleLayer.ts:31
    • +
    • Defined in map/ui/useMapModel.ts:9
    • +
    • Defined in src/packages/map-navigation/Zoom.tsx:12
    • +
    • Defined in src/packages/map-navigation/Zoom.tsx:23
    • +
    • Defined in api.ts:6
    • +
    • Defined in src/packages/react-utils/TitledSection.tsx:161
    • +
    • Defined in map/api/layers/SimpleLayer.ts:30
    • +
    • Defined in map/api/layers/SimpleLayer.ts:31
    • +
    • Defined in map/api/layers/WMSLayer.ts:38
    • +
    • Defined in map/api/layers/WMSLayer.ts:55