Browse Source

notice PHP en moins

svn/root/tags/v4.47.18
erational@erational.org 5 years ago
parent
commit
793f0f202b
  1. 3
      gis_options.php
  2. 4
      paquet.xml

3
gis_options.php

@ -10,6 +10,7 @@ define('_DIR_LIB_GIS', find_in_path('lib/leaflet/'));
$GLOBALS['logo_libelles']['id_gis'] = _T('gis:libelle_logo_gis');
$config = @unserialize($GLOBALS['meta']['gis']);
$api_key_bing = isset($config['api_key_bing']) ? trim($config['api_key_bing']) : '';
$gis_layers = array (
'openstreetmap_mapnik' => array(
@ -46,7 +47,7 @@ $gis_layers = array (
),
'bing_aerial' => array(
'nom' => 'Bing Aerial',
'layer' => 'L.BingLayer("'.$config['api_key_bing'].'")'
'layer' => 'L.BingLayer("'.$api_key_bing.'")'
),
'opentopomap' => array(
'nom' => 'OpenTopoMap',

4
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="gis"
categorie="divers"
version="4.44.2"
version="4.44.3"
schema="2.1.0"
etat="stable"
compatibilite="[3.0.0;3.2.*]"
@ -24,7 +24,7 @@
<credit lien="http://wiki.openstreetmap.org/wiki/Nominatim">Nominatim</credit>
<credit lien="https://photon.komoot.de/">Photon</credit>
<credit lien="http://mattrich.deviantart.com/art/Picnic-101256405">Icône de mattrich sous licence CC BY-NC-SA</credit>
<copyright>2011-2016</copyright>
<copyright>2011-2017</copyright>
<licence>GPL v3</licence>
<traduire module="gis" reference="fr" gestionnaire="salvatore" />

Loading…
Cancel
Save