Browse Source

version 4.26.2 : permettre l'ajout de couche persos depuis config/mes_options (Vincent Legeard)

svn/root/tags/v4.47.18
brunobergot@gmail.com 8 years ago
parent
commit
ac5d151cb1
  1. 7
      gis_options.php
  2. 2
      paquet.xml

7
gis_options.php

@ -9,7 +9,7 @@ $GLOBALS['logo_libelles']['id_gis'] = _T('gis:libelle_logo_gis');
$config = @unserialize($GLOBALS['meta']['gis']);
$GLOBALS['gis_layers'] = array (
$gis_layers = array (
'openstreetmap_mapnik' => array(
'nom' => 'OpenStreetMap',
'layer' => 'L.tileLayer.provider("OpenStreetMap")'
@ -160,4 +160,9 @@ $GLOBALS['gis_layers'] = array (
)
);
if (is_array($GLOBALS['gis_layers']))
$GLOBALS['gis_layers'] = array_merge($gis_layers,$GLOBALS['gis_layers']);
else
$GLOBALS['gis_layers'] = $gis_layers;
?>

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="gis"
categorie="divers"
version="4.26.1"
version="4.26.2"
schema="2.0.7"
etat="stable"
compatibilite="[3.0.0;3.1.*]"

Loading…
Cancel
Save