Changeset 71240 in spip-zone


Ignore:
Timestamp:
Mar 28, 2013, 4:03:28 PM (7 years ago)
Author:
marcimat@…
Message:

2 coquilles concernant les clusters dans la migration du js en fichier externe

Location:
_plugins_/gis/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/gis/trunk/javascript/gis_init_map.js

    r71050 r71240  
    165165                        if (mapcfg["clusterStyles"].length)
    166166                                options["styles"] = mapcfg["clusterStyles"];
    167                         map.markerCluster = new L.Marker.Clusterer(map, markers, options);
     167                        map.markerCluster = new L.Marker.Clusterer(map, map.markers, options);
    168168                }
    169169        }
  • _plugins_/gis/trunk/modeles/carte_gis.html

    r70515 r71240  
    103103"autocenterandzoom":[(#ENV{autocenterandzoom,#ENV{centrer_auto}}|?{true,false})],
    104104"open_id":"[(#ENV{id_a_ouvrir,''})]",
    105 "clusterStyles":[(#ENV*{clusterStyles,#ARRAY}|json_encode)],
     105"clusterStyles":\[[(#ENV*{clusterStyles,#ARRAY}|json_encode)]\],
    106106"affiche_points":[(#ENV{point,''}|=={non}|?{false,true})],
    107107"json_points":{
  • _plugins_/gis/trunk/paquet.xml

    r71050 r71240  
    22        prefix="gis"
    33        categorie="divers"
    4         version="4.6.6"
     4        version="4.6.7"
    55        schema="2.0.3"
    66        etat="test"
Note: See TracChangeset for help on using the changeset viewer.