Skip to content

Commit

Permalink
release sdk-3.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
azarz committed Jan 5, 2022
2 parents b93aea6 + a6875f5 commit 90f6115
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 17 deletions.
34 changes: 25 additions & 9 deletions DRAFT_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,44 @@
# SDK Geoportail 2D/3D, version 3.3.1
# SDK Geoportail 2D/3D, version 3.3.4

**08/11/2021 : version 3.3.1**
**03/12/2021 : version 3.3.4**

> Release SDK Geoportail 2D/3D
## Summary

* Upgrade des extensions geoportail pour utilisation de l'itinéraire v2
* Possibilité de passer une liste de clés lors de l'initialisation de la carte

## Changelog

* [Added]
- Possibilité de passer une liste de clés lors de l'initialisation de la carte (#86)
Exemple :
```js
var map = Gp.Map.load('geoportalMap',{
apiKey : "jhyvi0fgmnuxvfv0zjzorvdn,administratif",
azimuth : 45,
zoom : 13,
center : {
x : -511270,
y : 6151620
},
layersOptions : {
'ORTHOIMAGERY.ORTHOPHOTOS': {
},
'GEOGRAPHICALGRIDSYSTEMS.MAPS': {
},
'LIMITES_ADMINISTRATIVES_EXPRESS.LATEST': {
}
}
}
```
* [Changed]
- geoportal access lib 3.0.1 (#84)
- extension geoportail pour openlayers 3.1.0 (#84)

* [Removed]
* [Fixed]
- correction sur l'affichage des ponctuels sur les KML / GPX en 3D (#85)

* [Deprecated]
* [Security]
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "geoportal-sdk",
"version": "3.3.2",
"date": "08/11/2021",
"SDK2DVersion": "3.3.2",
"SDK3DVersion": "3.3.2",
"version": "3.3.4",
"date": "05/01/2022",
"SDK2DVersion": "3.3.4",
"SDK3DVersion": "3.3.4",
"description": "French Geoportal SDK based on OpenLayers (2D) and iTowns (3D) libraries",
"main": "dist/2d/GpSDK2D-src.js, dist/3d/GpSDK3d-src.js",
"module": "src/SDK2D.js, src/SDK3D.js",
Expand All @@ -13,8 +13,8 @@
"check": "eslint src/",
"test:serve": "webpack-dev-server --config webpack.test.serve.js",
"doc:serve": "webpack-dev-server --config webpack.config.3d --content-base jsdoc/ --port 9001 --open 'google-chrome'",
"sample:3d:serve": "webpack-dev-server --config webpack.config.3d --mode=development --https --open-page samples/index-3d-map.html --content-base . --output-public-path '/dist/3d/' --port 9001 --open 'google-chrome'",
"sample:2d:serve": "webpack-dev-server --config webpack.config.2d --mode=development --https --open-page samples/index-2d-map.html --content-base . --output-public-path '/dist/2d/' --port 9001 --open 'google-chrome'",
"sample:3d:serve": "webpack-dev-server --config webpack.config.3d --mode=development --https --open-page samples/index-3d-map.html --content-base . --output-public-path '/dist/3d/' --port 9001 --open 'chromium'",
"sample:2d:serve": "webpack-dev-server --config webpack.config.2d --mode=development --https --open-page samples/index-2d-map.html --content-base . --output-public-path '/dist/2d/' --port 9001 --open 'chromium'",
"stat:2d": "npm run build:2d:src -- --profile --json > map-2d.json",
"stat:3d": "npm run build:3d:src -- --profile --json > map-3d.json",
"build": "npm-run-all --print-label --print-name build:*:*",
Expand Down Expand Up @@ -71,8 +71,8 @@
"exports-loader": "^0.7.0",
"expose-loader": "^0.7.5",
"fs-extra": "^9.0.0",
"geoportal-extensions-itowns": "2.3.3",
"geoportal-extensions-openlayers": "3.2.1",
"geoportal-extensions-itowns": "https://raw.githubusercontent.com/IGNF/geoportal-extensions/feature-accessibilite/build/scripts/release/geoportal-extensions-itowns-2.3.4.tgz",
"geoportal-extensions-openlayers": "https://raw.githubusercontent.com/IGNF/geoportal-extensions/feature-accessibilite/build/scripts/release/geoportal-extensions-openlayers-3.2.4.tgz",
"handlebars": "^4.7.5",
"handlebars-layouts": "^3.1.4",
"html-webpack-plugin": "^4.0.4",
Expand Down
53 changes: 53 additions & 0 deletions samples-src/pages/2d/page-multikey-bundle.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{{#extend "sample-bundle-layout-2d"}}

{{#content "head"}}
<title>Sample SDK 2D multikey</title>
{{/content}}

{{#content "style"}}
<style>
#viewerDiv {
height: 600px;
width: 1200px;
position : "relative";
}
</style>
{{/content}}

{{#content "body"}}
<div id="viewerDiv"></div>
{{/content}}

{{#content "js"}}
<script>
var map = Gp.Map.load('viewerDiv',{
apiKey : "ortho,cartes,administratif",
azimuth : 45,
zoom : 13,
center : {
x : -511270,
y : 6151620
},
layersOptions : {
'ORTHOIMAGERY.ORTHOPHOTOS': {
},
'GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2': {
},
'LIMITES_ADMINISTRATIVES_EXPRESS.LATEST': {
}
},
controlsOptions : {
layerSwitcher : {
maximised : true
},
mousePosition : {
maximised : false
},
attributions : {
maximised : false
}
}
})
</script>
{{/content}}
{{/extend}}
53 changes: 53 additions & 0 deletions samples-src/pages/3d/page-multikey-bundle.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{{#extend "sample-bundle-layout-3d"}}

{{#content "head"}}
<title>Sample SDK 3D multikey</title>
{{/content}}

{{#content "style"}}
<style>
#viewerDiv {
height: 600px;
width: 1200px;
position : "relative";
}
</style>
{{/content}}

{{#content "body"}}
<div id="viewerDiv"></div>
{{/content}}

{{#content "js"}}
<script>
var map = Gp.Map.load('viewerDiv',{
apiKey : "ortho,cartes,administratif",
azimuth : 45,
zoom : 13,
center : {
x : -511270,
y : 6151620
},
layersOptions : {
'ORTHOIMAGERY.ORTHOPHOTOS': {
},
'GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2': {
},
'LIMITES_ADMINISTRATIVES_EXPRESS.LATEST': {
}
},
controlsOptions : {
layerSwitcher : {
maximised : true
},
mousePosition : {
maximised : false
},
attributions : {
maximised : false
}
}
})
</script>
{{/content}}
{{/extend}}

0 comments on commit 90f6115

Please sign in to comment.