diff --git a/public/ign/autoconf-https.json b/public/ign/autoconf-https.json new file mode 100644 index 0000000..852de5b --- /dev/null +++ b/public/ign/autoconf-https.json @@ -0,0 +1 @@ +callback({"http":{"status":200,"error":null},"xml":"Service d'autoconfiguration des APIdefaulthttps://wxs.ign.fr/static/style_wms_getfeatureinfo/default.xsl1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625,0.0006866455078125,0.00034332275390625,0.000171661376953126,0.0000858306884765628,0.0000429153442382813,0.0000214576721191407,0.0000107288360595703,0.00000536441802978517,0.00000268220901489259,0.0000013411045074463,0.000000670552253723145,0.00000033527612686157EPSG:3857CRS:84IGNF:WGS84RRAFGEOEPSG:4558IGNF:UTM20W84GUADEPSG:2969EPSG:4559IGNF:GUAD48UTM20EPSG:32620-64,11.7,-59,18.185331282090399.554629-61.73277777815.996111111EPSG:3857CRS:84IGNF:UTM43SW84EPSG:3274376,-40,79,-3685311282090399.55462977.571944-37.796389EPSG:3857CRS:84IGNF:TERA50STEREOEPSG:2986132.56,-68.62,144.54,-64.03853112820903976.437028140.001389-66.66278EPSG:3857CRS:84IGNF:UTM39SW84EPSG:32739IGNF:CROZ63UTM39S47,-48,55,-443412412820903938.21851451.866667-46.433333EPSG:3857CRS:84IGNF:ETRS89GEOEPSG:4258EPSG:3038EPSG:3039EPSG:3040EPSG:3041EPSG:3042EPSG:3043EPSG:3044EPSG:3045EPSG:3046EPSG:3047EPSG:3048EPSG:3049EPSG:3050EPSG:3051EPSG:25828EPSG:25829EPSG:25830EPSG:25831EPSG:25832EPSG:25833EPSG:25834EPSG:25835EPSG:25836EPSG:25837EPSG:25838IGNF:ETRS89LCCEPSG:3034IGNF:ETRS89LAEAEPSG:3035-31.17,27.33,69.03,80.835331282090392445.9849054.35242550.846686EPSG:3857CRS:84IGNF:RGF93GEPSG:4171IGNF:LAMB93EPSG:2154IGNF:LAMBEEPSG:27582EPSG:27572-31.17,27.33,69.03,80.835331282090392445.9849052.34527439848.860832558EPSG:3857CRS:84IGNF:WGS84RRAFGEOEPSG:4558IGNF:UTM20W84GUADEPSG:2969EPSG:4559IGNF:GUAD48UTM20EPSG:32620-63.2,15.75,-60,17.55331282090399.554629-61.73277777815.996111111EPSG:3857CRS:84IGNF:RGFG95GEOEPSG:4624IGNF:UTM22RGFG95EPSG:2972IGNF:CSG67UTM22EPSG:32622-62.1,-4.3,-46,11.553312820903976.437028-52.3052777784.932222222EPSG:3857CRS:84IGNF:UTM42SW84EPSG:32742IGNF:KERG62UTM42S62,-53,76,-453412412820903938.21851470.215278-49.354167EPSG:3857CRS:84IGNF:WGS84RRAFGEOEPSG:5489IGNF:UTM20W84MARTEPSG:5490EPSG:2973EPSG:4559IGNF:MART38UTM20EPSG:32620-64,11.7,-59,15.75331282090399.554629-61.07514.6EPSG:3857CRS:84IGNF:RGM04GEOEPSG:4470IGNF:RGM04UTM38SEPSG:32738IGNF:MAYO50UTM38SEPSG:447140,-17.5,56,35331282090394.77730245.228333333-12.781666667EPSG:3857CRS:84IGNF:RGNCGEOIGNF:RGNCUTM57SEPSG:32757IGNF:RGNCUTM58SEPSG:32758IGNF:RGNCUTM59SEPSG:32759160,-24.3,170,-17.1533128209039152.874057166.433333-22.283333EPSG:3857CRS:84IGNF:RGPFGEOIGNF:RGPFUTM5SEPSG:3296IGNF:RGPFUTM6SEPSG:3297EPSG:32706IGNF:RGPFUTM7SEPSG:3298EPSG:32707IGNF:TAHAAUTM05SIGNF:MOOREA87U6SIGNF:TAHI79UTM6SIGNF:NUKU72U7SIGNF:IGN63UTM7S-160,-28.2,-108,1153312820903938.218514-149.569444-17.536111EPSG:3857CRS:84IGNF:RGR92GEOIGNF:RGR92UTM40SEPSG:2975EPSG:4627EPSG:32740IGNF:REUN47GAUSSL37.5,-26.2,60,-17.755331282090399.55462955.466666667-20.875EPSG:3857CRS:84IGNF:WGS84RRAFGEOEPSG:4558IGNF:UTM20W84GUADEPSG:2969EPSG:4559IGNF:GUAD48UTM20EPSG:32620-63,17.75,-62.7,17.995331282090399.554629-62.8517.895833EPSG:3857CRS:84IGNF:WGS84RRAFGEOEPSG:4558IGNF:UTM20W84GUADEPSG:2969EPSG:4559IGNF:GUAD48UTM20EPSG:32620-63.19,18,-62.9,18.185331282090399.554629-63.08888818.069722EPSG:3857CRS:84IGNF:RGSPM06GEOIGNF:RGSPM06U21EPSG:4467EPSG:32606IGNF:STPM50UTM21-60,43.5,-50,525331282090394.777302-56.17361146.780556EPSG:3857CRS:84-180,-90,180,90533128209039156543.0339280.00.0EPSG:3857CRS:84IGNF:UTM01SW84EPSG:32701IGNF:WALL78UTM1S-178.5,-14.6,-175.8,-12.821331282090394.777302-176.173611-13.283333PMEPSG:38570559082264.0287178958533332-20037508 20037508256256111279541132.0143588959472254-20037508 200375082562562210545978.7734655447186469-20037508 200375082562561024102411272989.3867327723085907-20037508 200375082562562048204812136494.6933663861796617-20037508 20037508256256409640961368247.3466831930771477-20037508 20037508256256819281921434123.6733415965449154-20037508 2003750825625616384163841517061.8366707982724577-20037508 200375082562563276832768168530.9183353991362289-20037508 200375082562566553665536174265.4591676995681144-20037508 20037508256256131072131072182132.7295838497840572-20037508 20037508256256262144262144191066.3647919248918304-20037508 200375082562565242885242882139770566.0071793960087234-20037508 200375082562564420533.1823959624461134-20037508 200375082562561048576104857621266.5911979812228585-20037508 2003750825625620971522097152369885283.0035897239868063-20037508 2003750825625688434942641.5017948619934032-20037508 200375082562561616517471320.7508974309967016-20037508 20037508256256323268735660.3754487154983508-20037508 20037508256256646474367830.1877243577491754-20037508 2003750825625612812882183915.0938621788745877-20037508 2003750825625625625691091957.5469310886252288-20037508 20037508256256512512WGS84GIGNF:WGS84G0279541132.014358867541886990 -180256256211133247939.593511055776616690 -18025625642269885283.003589716885471790 -18025625684334942641.501794858442735990 -180256256168417471320.750897429221367990 -180256256321658735660.375448714610684090 -180256256643264367830.187724357305342090 -1802562561286472183915.093862178652671090 -18025625625612881091957.546931089326335590 -1802562565122569545978.773465544663167790 -180256256102451210272989.386732772331583990 -1802562562048102411136494.693366386165791990 -180256256409620481268247.346683193082896090 -180256256819240961334123.673341596541448090 -1802562561638481921417061.836670798270724090 -1802562563276816384158530.918335399135362090 -1802562566553632768164265.459167699567681090 -18025625613107265536172132.729583849783840590 -180256256262144131072"}); \ No newline at end of file diff --git a/public/ign/autoconf.js b/public/ign/autoconf.json similarity index 100% rename from public/ign/autoconf.js rename to public/ign/autoconf.json diff --git a/public/index.html b/public/index.html index 446a507..67ff567 100644 --- a/public/index.html +++ b/public/index.html @@ -2,7 +2,7 @@ - + diff --git a/public/map.js b/public/map.js index 216e782..9c40b21 100644 --- a/public/map.js +++ b/public/map.js @@ -1,5 +1,5 @@ const go = () => { - const ignKey = 'choisirgeoportail'; + const ignKey = 'choisirgeoportail'; const ignOLLayer = new ol.layer.VectorTile({ title: 'Plan IGN vecteur', @@ -67,7 +67,7 @@ const go = () => { // Connection to Geoportail server Gp.Services.getConfig({ - serverUrl: './ign/autoconf.js', + serverUrl: './ign/autoconf-https.json', callbackSuffix: '', onSuccess: go, });