@artstesh/maps 6.0.10 → 6.0.11
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/dist/esm2022/map/map-plate/map-plate.factory.service.mjs +3 -1
- package/dist/esm2022/map/models/map-settings.mjs +15 -1
- package/dist/esm2022/src/map/map-plate/map-plate.factory.service.mjs +3 -1
- package/dist/esm2022/src/map/models/map-settings.mjs +15 -1
- package/dist/fesm2022/maps-components-src-map.mjs +16 -1
- package/dist/fesm2022/maps-components-src-map.mjs.map +1 -1
- package/dist/fesm2022/maps-components.mjs +16 -1
- package/dist/fesm2022/maps-components.mjs.map +1 -1
- package/dist/map/models/map-settings.d.ts +10 -0
- package/dist/src/map/models/map-settings.d.ts +10 -0
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MapLyrs } from './map-lyrs.enum';
|
|
2
|
+
import { DefaultsOptions } from 'ol/interaction';
|
|
2
3
|
/**
|
|
3
4
|
* Represents the configurable settings for a map instance, providing
|
|
4
5
|
* options for center coordinates, zoom levels, map layers, and language.
|
|
@@ -10,7 +11,16 @@ export declare class MapSettings {
|
|
|
10
11
|
zoom: number;
|
|
11
12
|
lyrs: MapLyrs;
|
|
12
13
|
language: string;
|
|
14
|
+
interactionSettings: DefaultsOptions;
|
|
13
15
|
static copy(model: MapSettings): MapSettings;
|
|
16
|
+
/**
|
|
17
|
+
* Updates the interaction settings of the map and returns a new MapSettings instance
|
|
18
|
+
* with the updated settings.
|
|
19
|
+
*
|
|
20
|
+
* @param {DefaultsOptions} interactionSettings - The new interaction settings to be applied.
|
|
21
|
+
* @return {MapSettings} A new MapSettings instance with the updated interaction settings.
|
|
22
|
+
*/
|
|
23
|
+
setInteractionSettings(interactionSettings: DefaultsOptions): MapSettings;
|
|
14
24
|
/**
|
|
15
25
|
* Sets the center for the map settings.
|
|
16
26
|
*
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MapLyrs } from './map-lyrs.enum';
|
|
2
|
+
import { DefaultsOptions } from 'ol/interaction';
|
|
2
3
|
/**
|
|
3
4
|
* Represents the configurable settings for a map instance, providing
|
|
4
5
|
* options for center coordinates, zoom levels, map layers, and language.
|
|
@@ -10,7 +11,16 @@ export declare class MapSettings {
|
|
|
10
11
|
zoom: number;
|
|
11
12
|
lyrs: MapLyrs;
|
|
12
13
|
language: string;
|
|
14
|
+
interactionSettings: DefaultsOptions;
|
|
13
15
|
static copy(model: MapSettings): MapSettings;
|
|
16
|
+
/**
|
|
17
|
+
* Updates the interaction settings of the map and returns a new MapSettings instance
|
|
18
|
+
* with the updated settings.
|
|
19
|
+
*
|
|
20
|
+
* @param {DefaultsOptions} interactionSettings - The new interaction settings to be applied.
|
|
21
|
+
* @return {MapSettings} A new MapSettings instance with the updated interaction settings.
|
|
22
|
+
*/
|
|
23
|
+
setInteractionSettings(interactionSettings: DefaultsOptions): MapSettings;
|
|
14
24
|
/**
|
|
15
25
|
* Sets the center for the map settings.
|
|
16
26
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artstesh/maps",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.11",
|
|
4
4
|
"author": "artstesh",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Let's draw a map ;)",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@angular/compiler": "^17.1.0",
|
|
41
41
|
"@angular/core": "^17.1.0",
|
|
42
42
|
"@artstesh/collections": "^1.0.0",
|
|
43
|
-
"@artstesh/postboy": "^2.1.
|
|
43
|
+
"@artstesh/postboy": "^2.1.4",
|
|
44
44
|
"ol": "^6.9.0",
|
|
45
45
|
"ol-geocoder": "^4.0.0",
|
|
46
46
|
"rxjs": "^7.0.0",
|