Releases: open-pioneer/trails-openlayers-base-packages
@open-pioneer/scale-setter@0.7.0
Minor Changes
- 310800c: Switch from
peerDependencies
to normaldependencies
. Peer dependencies have some usability problems when used at scale.
Patch Changes
-
310800c: Update core packages version.
-
583f1d6: The
mapId
ormap
properties are now optional on individual components.
You can use theDefaultMapProvider
to configure an implicit default value.Note that configuring neither a default nor an explicit
map
ormapId
will trigger a runtime error. -
583f1d6: All UI components in this project now accept the
mapId
(astring
) or themap
(aMapModel
) directly. -
a8b3449: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. -
900eb11: Update dependencies.
-
Updated dependencies [310800c]
-
Updated dependencies [2502050]
-
Updated dependencies [583f1d6]
-
Updated dependencies [583f1d6]
-
Updated dependencies [397d617]
-
Updated dependencies [a8b3449]
-
Updated dependencies [310800c]
-
Updated dependencies [900eb11]
-
Updated dependencies [583f1d6]
-
Updated dependencies [397d617]
- @open-pioneer/map@0.7.0
@open-pioneer/scale-bar@0.7.0
Minor Changes
- 310800c: Switch from
peerDependencies
to normaldependencies
. Peer dependencies have some usability problems when used at scale.
Patch Changes
-
310800c: Update core packages version.
-
583f1d6: The
mapId
ormap
properties are now optional on individual components.
You can use theDefaultMapProvider
to configure an implicit default value.Note that configuring neither a default nor an explicit
map
ormapId
will trigger a runtime error. -
583f1d6: All UI components in this project now accept the
mapId
(astring
) or themap
(aMapModel
) directly. -
a8b3449: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. -
900eb11: Update dependencies.
-
Updated dependencies [310800c]
-
Updated dependencies [2502050]
-
Updated dependencies [583f1d6]
-
Updated dependencies [583f1d6]
-
Updated dependencies [397d617]
-
Updated dependencies [a8b3449]
-
Updated dependencies [310800c]
-
Updated dependencies [900eb11]
-
Updated dependencies [583f1d6]
-
Updated dependencies [397d617]
- @open-pioneer/map@0.7.0
@open-pioneer/result-list@0.7.0
Minor Changes
- 310800c: Switch from
peerDependencies
to normaldependencies
. Peer dependencies have some usability problems when used at scale.
Patch Changes
-
310800c: Update core packages version.
-
583f1d6: The
mapId
ormap
properties are now optional on individual components.
You can use theDefaultMapProvider
to configure an implicit default value.Note that configuring neither a default nor an explicit
map
ormapId
will trigger a runtime error. -
583f1d6: All UI components in this project now accept the
mapId
(astring
) or themap
(aMapModel
) directly. -
a8b3449: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. -
900eb11: Update dependencies.
-
Updated dependencies [310800c]
-
Updated dependencies [2502050]
-
Updated dependencies [583f1d6]
-
Updated dependencies [583f1d6]
-
Updated dependencies [397d617]
-
Updated dependencies [a8b3449]
-
Updated dependencies [310800c]
-
Updated dependencies [900eb11]
-
Updated dependencies [583f1d6]
-
Updated dependencies [397d617]
- @open-pioneer/map@0.7.0
@open-pioneer/printing@0.7.0
Minor Changes
- 310800c: Switch from
peerDependencies
to normaldependencies
. Peer dependencies have some usability problems when used at scale.
Patch Changes
-
310800c: Update core packages version.
-
583f1d6: The
mapId
ormap
properties are now optional on individual components.
You can use theDefaultMapProvider
to configure an implicit default value.Note that configuring neither a default nor an explicit
map
ormapId
will trigger a runtime error. -
583f1d6: All UI components in this project now accept the
mapId
(astring
) or themap
(aMapModel
) directly. -
a8b3449: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. -
900eb11: Update dependencies.
-
Updated dependencies [310800c]
-
Updated dependencies [2502050]
-
Updated dependencies [583f1d6]
-
Updated dependencies [583f1d6]
-
Updated dependencies [397d617]
-
Updated dependencies [a8b3449]
-
Updated dependencies [310800c]
-
Updated dependencies [900eb11]
-
Updated dependencies [583f1d6]
-
Updated dependencies [397d617]
- @open-pioneer/map@0.7.0
@open-pioneer/overview-map@0.7.0
Minor Changes
- 310800c: Switch from
peerDependencies
to normaldependencies
. Peer dependencies have some usability problems when used at scale.
Patch Changes
-
310800c: Update core packages version.
-
583f1d6: The
mapId
ormap
properties are now optional on individual components.
You can use theDefaultMapProvider
to configure an implicit default value.Note that configuring neither a default nor an explicit
map
ormapId
will trigger a runtime error. -
583f1d6: All UI components in this project now accept the
mapId
(astring
) or themap
(aMapModel
) directly. -
a8b3449: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. -
900eb11: Update dependencies.
-
Updated dependencies [310800c]
-
Updated dependencies [2502050]
-
Updated dependencies [583f1d6]
-
Updated dependencies [583f1d6]
-
Updated dependencies [397d617]
-
Updated dependencies [a8b3449]
-
Updated dependencies [310800c]
-
Updated dependencies [900eb11]
-
Updated dependencies [583f1d6]
-
Updated dependencies [397d617]
- @open-pioneer/map@0.7.0
@open-pioneer/ogc-features@0.7.0
Minor Changes
- 310800c: Switch from
peerDependencies
to normaldependencies
. Peer dependencies have some usability problems when used at scale.
Patch Changes
@open-pioneer/measurement@0.7.0
Minor Changes
- 310800c: Switch from
peerDependencies
to normaldependencies
. Peer dependencies have some usability problems when used at scale.
Patch Changes
-
310800c: Update core packages version.
-
583f1d6: The
mapId
ormap
properties are now optional on individual components.
You can use theDefaultMapProvider
to configure an implicit default value.Note that configuring neither a default nor an explicit
map
ormapId
will trigger a runtime error. -
583f1d6: All UI components in this project now accept the
mapId
(astring
) or themap
(aMapModel
) directly. -
a8b3449: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. -
900eb11: Update dependencies.
-
Updated dependencies [310800c]
-
Updated dependencies [2502050]
-
Updated dependencies [583f1d6]
-
Updated dependencies [583f1d6]
-
Updated dependencies [397d617]
-
Updated dependencies [a8b3449]
-
Updated dependencies [310800c]
-
Updated dependencies [900eb11]
-
Updated dependencies [583f1d6]
-
Updated dependencies [397d617]
- @open-pioneer/map@0.7.0
@open-pioneer/map@0.7.0
Minor Changes
-
2502050: Introduce union types and
type
attributes for layers. This allows TypeScript narrowing for layers and determining a layer's type.The
Layer
andSublayer
types for layers remain, but are unions of the corresponding concrete layer types now.
The layer typeLayerBase
has been removed and is replaced byAnyLayerType
to clarify that this type represents a union of all types of layer (currentlyLayer
andSublayer
).Two type guards have been implemented that allow to check if a layer instance is a
Layer
orSublayer
:isLayer()
andisSublayer()
(see example below).The following
type
attribute values have been implemented at the layers:- SimpleLayer:
simple
- WMSLayer:
wms
- WMSSubLayer:
wms-sublayer
- WMTSLayer:
wmts
Example of usage:
import { AnyLayer, WMTSLayer, isSublayer } from "@open-pioneer/map"; export class ExampleClass { //... exampleFunction(layer: AnyLayer) { // prop may be a layer of any type // use layers type attribute to check layer type if (layer.type === "wmts") { layer.matrixSet; // prop only available on WMTSLayer const wmtsLayer: WMTSLayer = layer; // type of layer is now narrowed to `WMTSLayer` } // use new type guard to check if layer is a Sublayer if (isSublayer(layer)) { // type of layer is now narrowed to `WMSSublayer` (as it is currently the only type of Sublayer existing) layer.parentLayer; // prop only available on Sublayers } } }
- SimpleLayer:
-
310800c: Switch from
peerDependencies
to normaldependencies
. Peer dependencies have some usability problems when used at scale.
Patch Changes
-
310800c: Update core packages version.
-
583f1d6: The
mapId
ormap
properties are now optional on individual components.
You can use theDefaultMapProvider
to configure an implicit default value.Note that configuring neither a default nor an explicit
map
ormapId
will trigger a runtime error. -
583f1d6: All UI components in this project now accept the
mapId
(astring
) or themap
(aMapModel
) directly. -
397d617: Reimplement computation of map anchor positioning using new css props.
-
a8b3449: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. -
900eb11: Update dependencies.
-
583f1d6: The new component
DefaultMapProvider
allows you to configure the default map for its children.
IfDefaultMapProvider
is used, you can omit the explicitmapId
(ormap
) property on the individual UI components.For many applications,
DefaultMapProvider
can be used to surround all (or most of) the application's UI.Example:
import { DefaultMapProvider } from "@open-pioneer/map"; <DefaultMapProvider mapId={MAP_ID}> {/* no need to repeat the map id in this subtree, unless you want to use a different one */} <MapContainer /> <Toc /> <ComplexChild /> </DefaultMapProvider>;
-
397d617: Move attribution of OL map according to the map view's padding.
@open-pioneer/map-ui-components@0.7.0
Minor Changes
- 310800c: Switch from
peerDependencies
to normaldependencies
. Peer dependencies have some usability problems when used at scale.
Patch Changes
@open-pioneer/map-test-utils@0.7.0
Minor Changes
- 310800c: Switch from
peerDependencies
to normaldependencies
. Peer dependencies have some usability problems when used at scale.
Patch Changes
- 310800c: Update core packages version.
- a8b3449: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. - 900eb11: Update dependencies.
- Updated dependencies [310800c]
- Updated dependencies [2502050]
- Updated dependencies [583f1d6]
- Updated dependencies [583f1d6]
- Updated dependencies [397d617]
- Updated dependencies [a8b3449]
- Updated dependencies [310800c]
- Updated dependencies [900eb11]
- Updated dependencies [583f1d6]
- Updated dependencies [397d617]
- @open-pioneer/map@0.7.0