@artstesh/maps 6.1.4 → 6.1.5

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.
@@ -11,13 +11,15 @@ export declare class ModifyFeatureCommand extends PostboyCallbackMessage<string
11
11
  model: PolygonModel;
12
12
  style: Style;
13
13
  format: FeatureOutputFormat;
14
+ draggable: boolean;
14
15
  static readonly ID = "8f76507e-f18d-4232-bab7-f3d4e3d707bb";
15
16
  /**
16
17
  * Constructs an instance of the class.
17
18
  *
18
- * @param {PolygonModel} model - The polygon model to be used.
19
- * @param {Style} style - The style configuration for the polygon.
20
- * @param {FeatureOutputFormat} [format=FeatureOutputFormat.GeoJson] - The output format of the features. Default is GeoJson.
19
+ * @param {PolygonModel} model - The model representing the polygon data.
20
+ * @param {Style} style - The style to be applied to the polygon.
21
+ * @param {FeatureOutputFormat} [format=FeatureOutputFormat.GeoJson] - The output format of the feature, defaults to GeoJson.
22
+ * @param {boolean} [draggable=true] - Determines whether the polygon is draggable, defaults to true.
21
23
  */
22
- constructor(model: PolygonModel, style: Style, format?: FeatureOutputFormat);
24
+ constructor(model: PolygonModel, style: Style, format?: FeatureOutputFormat, draggable?: boolean);
23
25
  }
@@ -10,3 +10,4 @@ export * from './services/message-registrator.service';
10
10
  export * from './helpers/index';
11
11
  export * from './map-plate/controls/index';
12
12
  export * from './map-plate/tooltips/index';
13
+ export { Style } from 'ol/style';
@@ -11,13 +11,15 @@ export declare class ModifyFeatureCommand extends PostboyCallbackMessage<string
11
11
  model: PolygonModel;
12
12
  style: Style;
13
13
  format: FeatureOutputFormat;
14
+ draggable: boolean;
14
15
  static readonly ID = "8f76507e-f18d-4232-bab7-f3d4e3d707bb";
15
16
  /**
16
17
  * Constructs an instance of the class.
17
18
  *
18
- * @param {PolygonModel} model - The polygon model to be used.
19
- * @param {Style} style - The style configuration for the polygon.
20
- * @param {FeatureOutputFormat} [format=FeatureOutputFormat.GeoJson] - The output format of the features. Default is GeoJson.
19
+ * @param {PolygonModel} model - The model representing the polygon data.
20
+ * @param {Style} style - The style to be applied to the polygon.
21
+ * @param {FeatureOutputFormat} [format=FeatureOutputFormat.GeoJson] - The output format of the feature, defaults to GeoJson.
22
+ * @param {boolean} [draggable=true] - Determines whether the polygon is draggable, defaults to true.
21
23
  */
22
- constructor(model: PolygonModel, style: Style, format?: FeatureOutputFormat);
24
+ constructor(model: PolygonModel, style: Style, format?: FeatureOutputFormat, draggable?: boolean);
23
25
  }
@@ -10,3 +10,4 @@ export * from './services/message-registrator.service';
10
10
  export * from './helpers/index';
11
11
  export * from './map-plate/controls/index';
12
12
  export * from './map-plate/tooltips/index';
13
+ export { Style } from 'ol/style';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artstesh/maps",
3
- "version": "6.1.4",
3
+ "version": "6.1.5",
4
4
  "author": "artstesh",
5
5
  "license": "MIT",
6
6
  "description": "Let's draw a map ;)",