Skip to content

Commit

Permalink
[VER] 4.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Oct 14, 2024
1 parent f551499 commit dc1b0b0
Show file tree
Hide file tree
Showing 6 changed files with 1,172 additions and 5 deletions.
1,156 changes: 1,156 additions & 0 deletions docs/index.afd1d6c6.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="fr" xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" href="index.a6f0a7ea.css"><script type="module" src="index.runtime.d794670b.js"></script><title>Créer une carte - Ma carte IGN</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="description" content="Maps"><meta name="keywords" content><link rel="icon" type="image/png" href="logo.fb0b1dda.png"><meta name="mobile-web-app-capable" content="yes"><meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="translucent-black"><link rel="apple-touch-icon" href="logo.fb0b1dda.png"><link rel="apple-touch-startup-image" href="logo.fb0b1dda.png"><meta name="format-detection" content="telephone=no"><meta name="msapplication-tap-highlight" content="no"></head><body> <script type="module" src="index.a835676e.js"></script> </body></html>
<!DOCTYPE html><html lang="fr" xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" href="index.a6f0a7ea.css"><script type="module" src="index.runtime.9d464419.js"></script><title>Créer une carte - Ma carte IGN</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="description" content="Maps"><meta name="keywords" content><link rel="icon" type="image/png" href="logo.fb0b1dda.png"><meta name="mobile-web-app-capable" content="yes"><meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="translucent-black"><link rel="apple-touch-icon" href="logo.fb0b1dda.png"><link rel="apple-touch-startup-image" href="logo.fb0b1dda.png"><meta name="format-detection" content="telephone=no"><meta name="msapplication-tap-highlight" content="no"></head><body> <script type="module" src="index.afd1d6c6.js"></script> </body></html>
1 change: 1 addition & 0 deletions docs/index.runtime.9d464419.js

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

4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mceditor",
"version": "4.3.7",
"version": "4.3.8",
"description": "Outils de creation de cartes",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
12 changes: 11 additions & 1 deletion src/layerShop/layers/addLayerWMS.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,21 @@ const wmsCapabilities = new WMSCapabilities({
'BRGM': 'https://geoservices.brgm.fr/geologie',
// 'Espagne': 'https://www.ign.es/wms-inspire/ign-base',
},
optional: 'apikey',
optional: 'apikey,info_format',
cors: true,
onselect: function(layer, options) {
// Get info_format
const extra = wmsCapabilities._elements.input.value.split('?')
extra.forEach(ex => {
const param = ex.split('=');
if (/^info_format$/i.test(param[0])) {
options.layer.info_format = param[1]
}
})
// update
layer.set('type', 'WMS');
layer.set('wmsparam', options);
// Insert layer
insertLayer(layer);
}
});
Expand Down

0 comments on commit dc1b0b0

Please sign in to comment.