diff --git a/DRAFT_CHANGELOG.md b/DRAFT_CHANGELOG.md index 872fd5676..ecff532a8 100644 --- a/DRAFT_CHANGELOG.md +++ b/DRAFT_CHANGELOG.md @@ -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] diff --git a/package.json b/package.json index df1923373..9a4d16024 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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:*:*", @@ -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", diff --git a/samples-src/pages/2d/page-multikey-bundle.html b/samples-src/pages/2d/page-multikey-bundle.html new file mode 100644 index 000000000..cb117367f --- /dev/null +++ b/samples-src/pages/2d/page-multikey-bundle.html @@ -0,0 +1,53 @@ +{{#extend "sample-bundle-layout-2d"}} + +{{#content "head"}} +