Skip to content

Commit

Permalink
Merge pull request #7 from camptocamp/add-ogc-api-support
Browse files Browse the repository at this point in the history
Added support for ogc-api
  • Loading branch information
ronitjadhav authored Jul 24, 2024
2 parents a94ee71 + aa1612d commit 8efa402
Show file tree
Hide file tree
Showing 10 changed files with 393 additions and 99 deletions.
158 changes: 137 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"prepublish": "npm run build"
},
"dependencies": {
"@camptocamp/ogc-client": "1.1.1-dev.9671ef4",
"@geospatial-sdk/core": "*"
}
}
6 changes: 6 additions & 0 deletions packages/core/fixtures/map-context.fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
MapContextLayerWms,
MapContextLayerXyz,
MapContextView,
MapContextLayerOgcApi,
} from "../lib/model";
import { deepFreeze } from "../lib/utils";

Expand All @@ -33,6 +34,11 @@ export const MAP_CTX_LAYER_WFS_FIXTURE: MapContextLayerWfs = deepFreeze({
attributions: "camptocamp",
opacity: 0.5,
});
export const MAP_CTX_LAYER_OGCAPI_FIXTURE: MapContextLayerOgcApi = deepFreeze({
type: "ogcapi",
url: "https://demo.ldproxy.net/zoomstack/collections/airports/items?f=json",
collection: "airports",
});
export const MAP_CTX_LAYER_GEOJSON_FIXTURE: MapContextLayerGeojson =
deepFreeze<MapContextLayerGeojson>({
type: "geojson",
Expand Down
Loading

0 comments on commit 8efa402

Please sign in to comment.