@geospatial-sdk/core
Advanced tools
Comparing version 0.0.5-dev.11 to 0.0.5-dev.12
@@ -37,2 +37,10 @@ import { FeatureCollection, Geometry } from "geojson"; | ||
} | ||
export interface MapContextLayerOgcApi extends MapContextBaseLayer { | ||
type: 'ogcapi'; | ||
url: string; | ||
collection: string; | ||
useTiles?: 'vector' | 'map'; | ||
tileMatrixSet?: string; | ||
options?: Record<string, string>; | ||
} | ||
export interface MapContextLayerXyz extends MapContextBaseLayer { | ||
@@ -60,3 +68,3 @@ type: "xyz"; | ||
*/ | ||
export type MapContextLayer = MapContextLayerWms | MapContextLayerWmts | MapContextLayerWfs | MapContextLayerXyz | MapContextLayerGeojson; | ||
export type MapContextLayer = MapContextLayerWms | MapContextLayerWmts | MapContextLayerWfs | MapContextLayerXyz | MapContextLayerGeojson | MapContextLayerOgcApi; | ||
export type Coordinate = [number, number]; | ||
@@ -63,0 +71,0 @@ /** |
@@ -0,1 +1,2 @@ | ||
import { FeatureCollection, Geometry } from "geojson"; | ||
@@ -45,2 +46,11 @@ | ||
export interface MapContextLayerOgcApi extends MapContextBaseLayer{ | ||
type: 'ogcapi' | ||
url: string | ||
collection: string | ||
useTiles?: 'vector' | 'map' | ||
tileMatrixSet?: string | ||
options?: Record<string, string> | ||
} | ||
export interface MapContextLayerXyz extends MapContextBaseLayer { | ||
@@ -76,3 +86,4 @@ type: "xyz"; | ||
| MapContextLayerXyz | ||
| MapContextLayerGeojson; | ||
| MapContextLayerGeojson | ||
| MapContextLayerOgcApi | ||
@@ -79,0 +90,0 @@ export type Coordinate = [number, number]; |
{ | ||
"name": "@geospatial-sdk/core", | ||
"version": "0.0.5-dev.11+a94ee71", | ||
"version": "0.0.5-dev.12+8efa402", | ||
"description": "Core functions and models for the SDK", | ||
@@ -25,3 +25,3 @@ "author": "Olivia <olivia.guyot@camptocamp.com>", | ||
}, | ||
"gitHead": "a94ee7178decefed3ba074bbfd8a1a7c1813706d" | ||
"gitHead": "8efa4028fb9c2f68aefcf72b744a7afb5c38f19c" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
55457
1490