diff --git a/models/d.poi.php b/models/d.poi.php
index 98ff844..026c4ea 100755
--- a/models/d.poi.php
+++ b/models/d.poi.php
@@ -39,6 +39,10 @@ class Poi
public $alt_position = NULL;
public $parameters = NULL;
+ public $lat;
+ public $lon;
+ public $ele;
+
/*****
** Checks if a page at this URL exists and return the ID
*****/
diff --git a/views/js/d.map.js b/views/js/d.map.js
index ffa91fa..889255c 100755
--- a/views/js/d.map.js
+++ b/views/js/d.map.js
@@ -3,7 +3,8 @@ var mymap;
$( document ).ready(function() {
// Differents layers for the map
var topo_maptiler = L.tileLayer('https://api.maptiler.com/maps/topographique/{z}/{x}/{y}.png?key=Sm8M7mJ53GtYdl773rpi', {tms: false, attribution: 'Carte © MapTiler, Données © Contributeurs OpenStreetMap', tileSize: 512, zoomOffset: -1, minZoom: 1});
- var ign = L.tileLayer('https://wxs.ign.fr/5sf7ych7ecsa575btea2ln17/geoportail/wmts?service=WMTS&request=GetTile&version=1.0.0&tilematrixset=PM&tilematrix={z}&tilecol={x}&tilerow={y}&layer=ORTHOIMAGERY.ORTHOPHOTOS&format=image/jpeg&style=normal', {attribution: 'Carte & Connées © IGN-F/Géoportail'});
+ var ign = L.tileLayer('https://data.geopf.fr/private/wmts?&REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&STYLE=normal&TILEMATRIXSET=PM&FORMAT=image/jpeg&LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&apikey=ign_scan_ws', {attribution: 'Carte & Connées © IGN-F/Géoportail'});
+
// Base layers
var baseLayers = {
"OpenStreetMap": topo_maptiler,
diff --git a/views/js/d.poi_map.js b/views/js/d.poi_map.js
index a705913..50b9809 100755
--- a/views/js/d.poi_map.js
+++ b/views/js/d.poi_map.js
@@ -4,7 +4,7 @@ var poi_layer;
$( document ).ready(function() {
// Differents layers for the map
var topo_maptiler = L.tileLayer('https://api.maptiler.com/maps/topographique/{z}/{x}/{y}.png?key=Sm8M7mJ53GtYdl773rpi', {tms: false, attribution: 'Carte © MapTiler, Données © Contributeurs OpenStreetMap', tileSize: 512, zoomOffset: -1, minZoom: 1});
- var ign = L.tileLayer('https://wxs.ign.fr/5sf7ych7ecsa575btea2ln17/geoportail/wmts?service=WMTS&request=GetTile&version=1.0.0&tilematrixset=PM&tilematrix={z}&tilecol={x}&tilerow={y}&layer=ORTHOIMAGERY.ORTHOPHOTOS&format=image/jpeg&style=normal', {attribution: 'Carte & Connées © IGN-F/Géoportail'});
+ var ign = L.tileLayer('https://data.geopf.fr/private/wmts?&REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&STYLE=normal&TILEMATRIXSET=PM&FORMAT=image/jpeg&LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&apikey=ign_scan_ws', {attribution: 'Carte & Connées © IGN-F/Géoportail'});
// Base layers
var baseLayers = {
"OpenStreetMap": topo_maptiler,