Skip to content

Commit

Permalink
release ext-itowns-2.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
elias75015 committed Jun 16, 2021
2 parents b48488f + b3e17a8 commit fddc717
Show file tree
Hide file tree
Showing 13 changed files with 121 additions and 109 deletions.
20 changes: 5 additions & 15 deletions DRAFT_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@


# Extension Geoportail OpenLayers, version __VERSION__

**__DATE__**
> Release Extension Geoportail openLayers
> Release Extension Geoportail openlayers
## Summary

Correctifs sur le profil altimétriques

## Changelog

* [Added]

* [Changed]
- Adaptation du style du profil alti par défaut

* [Deprecated]

* [Removed]

* [Fixed]

- Correctif sur les clics multiple en fin de saisie du profil altimétrique (#298)

* [Security]

---
Expand Down Expand Up @@ -66,28 +62,22 @@ Reparation du le profil altimétrique
## Summary

* gestion des loggers :
> Exposition de la classe statique *Logger* avec les méthodes suivantes :
`Gp.Logger.disableAll()` et `Gp.Logger.enableAll()`
Mise à jour de l'extension géoportail pour iTowns avec itowns en version 2.33

## Changelog

* [Added]

* [Changed]

- Utilisation d'iTowns 2.33 (#301)

* [Deprecated]

* [Removed]

* [Fixed]

- Possibilité de activer / desactiver les loggers des API lors de l'utilisation des API en module ES6 :

```js
import { Logger } from "geoportal-extensions-itowns";
Logger.disableAll();

* [Security]

---
Binary file modified build/scripts/release/geoportal-extensions-itowns-2.3.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
64 changes: 32 additions & 32 deletions build/scripts/release/package-itowns.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
{
"bugs" : {},
"author" : "IGNF",
"directories" : {},
"license" : "CECILL-B",
"module" : "src/Itowns/index.js",
"date" : "11/05/2021",
"author" : "IGNF",
"files" : [
"dist/",
"src/",
"LICENCE.md",
"README.md",
"package.json"
],
"devDependencies" : {},
"repository" : {
"url" : "https://github.com/IGNF/geoportal-extensions.git",
"type" : "git"
},
"dependencies" : {
"xmldom" : "^0.1.27",
"node-fetch" : "^2.6.1",
"sortablejs" : "1.8.4",
"itowns" : "2.33.0",
"three" : "0.127.0",
"proj4" : "2.7.0",
"geoportal-access-lib" : "2.1.8",
"loglevel" : "1.6.6"
},
"main" : "dist/GpPluginItowns-src.js",
"homepage" : "https://geoservices.ign.fr/documentation/utilisation_web/extension-itowns.html",
"description" : "French Geoportal Extensions for iTowns",
"version" : "2.3.2",
"bundleDependencies" : [],
"bugs" : {},
"name" : "geoportal-extensions-itowns",
"version" : "2.3.2",
"peerDependencies" : {},
"keywords" : [
"geoportail",
"plugin",
"javascript",
"Itowns"
],
"dependencies" : {
"itowns" : "2.30.0",
"geoportal-access-lib" : "2.1.8",
"proj4" : "2.7.0",
"three" : "0.124.0",
"xmldom" : "^0.1.27",
"sortablejs" : "1.8.4",
"loglevel" : "1.6.6",
"node-fetch" : "^2.6.1"
},
"description" : "French Geoportal Extensions for iTowns",
"scripts" : {},
"repository" : {
"url" : "https://github.com/IGNF/geoportal-extensions.git",
"type" : "git"
},
"files" : [
"dist/",
"src/",
"LICENCE.md",
"README.md",
"package.json"
],
"date" : "30/03/2021",
"module" : "src/Itowns/index.js",
"homepage" : "https://geoservices.ign.fr/documentation/utilisation_web/extension-itowns.html",
"main" : "dist/GpPluginItowns-src.js",
"license" : "CECILL-B",
"peerDependencies" : {}
"scripts" : {}
}
62 changes: 31 additions & 31 deletions build/scripts/release/package-openlayers.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
{
"scripts" : {},
"name" : "geoportal-extensions-openlayers",
"module" : "src/OpenLayers/index.js",
"license" : "CECILL-B",
"files" : [
"dist/",
"src/",
"LICENCE.md",
"README.md",
"package.json"
],
"bugs" : {},
"scripts" : {},
"date" : "11/05/2021",
"bundleDependencies" : [],
"dependencies" : {
"loglevel" : "1.6.6",
"ol-mapbox-style" : "4.2.1",
"@mapbox/mapbox-gl-style-spec" : "13.11.0",
"ol" : "5.3.0",
"eventbusjs" : "0.2.0",
"geoportal-access-lib" : "2.1.8",
"node-fetch" : "^2.6.1",
"xmldom" : "^0.1.27",
"geoportal-access-lib" : "2.1.8",
"proj4" : "2.7.0",
"sortablejs" : "1.8.4",
"ol-mapbox-style" : "4.2.1",
"loglevel" : "1.6.6",
"eventbusjs" : "0.2.0"
},
"devDependencies" : {},
"license" : "CECILL-B",
"directories" : {},
"version" : "3.0.14",
"peerDependencies" : {},
"author" : "IGNF",
"main" : "dist/GpPluginOpenLayers-src.js",
"date" : "30/03/2021",
"bundleDependencies" : [],
"homepage" : "https://geoservices.ign.fr/documentation/utilisation_web/extension-openlayers.html",
"repository" : {
"type" : "git",
"url" : "https://github.com/IGNF/geoportal-extensions.git"
"ol" : "5.3.0",
"sortablejs" : "1.8.4"
},
"module" : "src/OpenLayers/index.js",
"description" : "French Geoportal Extensions for OpenLayers",
"name" : "geoportal-extensions-openlayers",
"keywords" : [
"geoportail",
"plugin",
"javascript",
"OpenLayers"
],
"files" : [
"dist/",
"src/",
"LICENCE.md",
"README.md",
"package.json"
]
"repository" : {
"type" : "git",
"url" : "https://github.com/IGNF/geoportal-extensions.git"
},
"peerDependencies" : {},
"version" : "3.0.16",
"devDependencies" : {},
"main" : "dist/GpPluginOpenLayers-src.js",
"homepage" : "https://geoservices.ign.fr/documentation/utilisation_web/extension-openlayers.html",
"directories" : {},
"description" : "French Geoportal Extensions for OpenLayers",
"author" : "IGNF"
}
30 changes: 30 additions & 0 deletions doc/CHANGELOG-openlayers.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [Extension Geoportail OpenLayers, version 3.0.14](#extension-geoportail-openlayers-version-3014)
* [Summary](#summary-18)
* [Changelog](#changelog-15)
- [Extension Geoportail OpenLayers, version 3.0.16](#extension-geoportail-openlayers-version-3016)
* [Summary](#summary-19)
* [Changelog](#changelog-16)

<!-- tocstop -->

Expand Down Expand Up @@ -746,3 +749,30 @@ Nouveau widget de profil altimétrique et correctif sur le SearchEngine
* [Security]

---
# Extension Geoportail OpenLayers, version 3.0.16

**11/05/2021**
> Release Extension Geoportail openLayers
## Summary

Correctifs sur le profil altimétriques

## Changelog

* [Added]

* [Changed]
- Adaptation du style du profil alti par défaut

* [Deprecated]

* [Removed]

* [Fixed]

- Correctif sur les clics multiple en fin de saisie du profil altimétrique (#298)

* [Security]

---
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "geoportal-extensions",
"description": "French Geoportal Extensions for OpenLayers, Leaflet and iTowns libraries",
"version": "2.3.5",
"date": "11/05/2021",
"version": "2.3.6",
"date": "16/06/2021",
"leafletExtName": "French Geoportal Extension for Leaflet",
"leafletExtVersion": "2.1.9",
"olExtName": "French Geoportal Extension for OpenLayers",
"olExtVersion": "3.0.16",
"itownsExtName": "French Geoportal Extension for Itowns",
"itownsExtVersion": "2.3.2",
"itownsExtVersion": "2.3.3",
"main": "dist/leaflet/GpPluginLeaflet.js, dist/openlayers/GpPluginOpenLayers.js, dist/itowns/GpPluginItowns.js",
"module": "src/Leaflet/index.js, src/OpenLayers/index.js, src/Itowns/index.js",
"directories": {},
Expand Down Expand Up @@ -67,7 +67,7 @@
"@mapbox/mapbox-gl-style-spec": "13.11.0",
"eventbusjs": "0.2.0",
"geoportal-access-lib": "2.1.8",
"itowns": "2.30.0",
"itowns": "2.33.0",
"leaflet": "1.7.1",
"leaflet-draw": "1.0.4",
"loglevel": "^1.6.7",
Expand All @@ -77,7 +77,7 @@
"proj4": "2.7.0",
"proj4leaflet": "1.0.2",
"sortablejs": "1.8.4",
"three": "0.124.0",
"three": "0.127.0",
"whatwg-fetch": "3.0.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h2>Ajout d'un contrôle de gestion des couches : LayerSwitcher</h2>
layer: "ELEVATION.ELEVATIONGRIDCOVERAGE",
ssl: true
}));

// Couche WMTS Geoportail
globeView.addLayer(new Gp.itownsExtended.layer.GeoportalWMTS({
layer: "ORTHOIMAGERY.ORTHOPHOTOS",
Expand All @@ -63,8 +63,7 @@ <h2>Ajout d'un contrôle de gestion des couches : LayerSwitcher</h2>

// Ajout couche Vecteur tuilé par itowns (fx: 2.5 => transparent)
var mvtSource = new itowns.VectorTilesSource({
style: '../../resources/data/mapbox/styles/planign/planign.json',
sprite: 'https://vectortiles.ign.fr/demonstrateur/sprite/PlanIgn',
style: '../../resources/data/mapbox/styles/planign/standard.json',
zoom: {
min: 2,
max: 16,
Expand All @@ -82,7 +81,7 @@ <h2>Ajout d'un contrôle de gestion des couches : LayerSwitcher</h2>
return false;
},
noTextureParentOutsideLimit: true,
labelEnabled: true,
addLabelLayer: true,
source: mvtSource
});

Expand All @@ -92,10 +91,10 @@ <h2>Ajout d'un contrôle de gestion des couches : LayerSwitcher</h2>
return false;
},
noTextureParentOutsideLimit: true,
labelEnabled: true,
addLabelLayer: true,
source: mvtSourceEcole
});

globeView.addLayer(mvtLayer);
globeView.addLayer(mvtLayerEcole);

Expand Down Expand Up @@ -140,4 +139,4 @@ <h2>Ajout d'un contrôle de gestion des couches : LayerSwitcher</h2>
onSuccess: createMap
});
});
</script> {{/content}} {{/extend}}
</script> {{/content}} {{/extend}}
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ <h2>Ajout d'un contrôle de gestion des couches : LayerSwitcher</h2>
var vectorTileLayer = new Gp.itownsExtended.layer.VectorTileLayer({
layer: "PLAN.IGN",
id : "MVT",
url: '../../resources/itowns/planign.json',
url: 'https://wxs.ign.fr/static/vectorTiles/styles/PLAN.IGN/standard.json',
zoom : {
min: 0,
max: 13
}
})

globeView.addLayer(vectorTileLayer);

// ajout du control
Expand Down Expand Up @@ -101,11 +101,10 @@ <h2>Ajout d'un contrôle de gestion des couches : LayerSwitcher</h2>
}

Gp.Services.getConfig({
serverUrl : "./../../resources/AutoConf_VT.js",
callbackSuffix : '',
// apiKey: "{{ apikey }}",
timeOut: 20000,
onSuccess: createMap
});
});
</script> {{/content}} {{/extend}}
</script> {{/content}} {{/extend}}
10 changes: 0 additions & 10 deletions src/Itowns/GlobeViewExtended.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,16 +338,6 @@ GlobeViewExtended.prototype.setLayerOpacity = function (layerId, opacityValue) {
GlobeViewExtended.prototype.setLayerVisibility = function (layerId, visible) {
var layer = this.getColorLayerById(layerId);
layer.visible = visible;

// sync the vectorTiles layer visibility with its labels
if (layer.source.isVectorSource === true) {
if (layer.visible === true) {
layer.labelEnabled = true;
} else {
layer.labelEnabled = false;
}
}

this.getGlobeView().notifyChange(layer);
};

Expand Down
Loading

0 comments on commit fddc717

Please sign in to comment.