@opensystemslab/map 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensystemslab/map",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "license": "OGL-UK-3.0",
5
5
  "private": false,
6
6
  "repository": {
@@ -32,9 +32,9 @@
32
32
  "rambda": "^7.0.1"
33
33
  },
34
34
  "devDependencies": {
35
- "@types/node": "^17.0.7",
35
+ "@types/node": "^18.0.1",
36
36
  "husky": "^8.0.1",
37
- "lint-staged": "^12.0.3",
37
+ "lint-staged": "^13.0.3",
38
38
  "prettier": "^2.3.2",
39
39
  "rollup-plugin-postcss-lit": "^2.0.0",
40
40
  "sass": "^1.44.0",
@@ -21,7 +21,12 @@ export declare class MyMap extends LitElement {
21
21
  clickFeatures: boolean;
22
22
  featureColor: string;
23
23
  featureFill: boolean;
24
+ featureBorderNone: boolean;
24
25
  featureBuffer: number;
26
+ showMarker: boolean;
27
+ markerLatitude: number;
28
+ markerLongitude: number;
29
+ markerColor: string;
25
30
  geojsonData: {
26
31
  type: string;
27
32
  features: never[];
@@ -1,7 +1,7 @@
1
1
  import { Vector as VectorLayer } from "ol/layer";
2
2
  import { Vector as VectorSource } from "ol/source";
3
3
  export declare const outlineSource: VectorSource<import("ol/geom/Geometry").default>;
4
- export declare function makeFeatureLayer(color: string, featureFill: boolean): VectorLayer<VectorSource<import("ol/geom/Geometry").default>>;
4
+ export declare function makeFeatureLayer(color: string, featureFill: boolean, borderNone: boolean): VectorLayer<VectorSource<import("ol/geom/Geometry").default>>;
5
5
  /**
6
6
  * Create an OGC XML filter parameter value which will select the TopographicArea
7
7
  * features containing the coordinates of the provided point