Changeset 109377 in spip-zone


Ignore:
Timestamp:
Mar 8, 2018, 2:55:29 PM (15 months ago)
Author:
brunobergot@…
Message:

version 4.44.15 : étendre setGeoJsonFeatureIcon() afin de permettre de définir shadowAnchor pour les icones persos

Location:
_plugins_/gis/trunk
Files:
2 edited

Legend:

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

    r107425 r109377  
    158158                        if (feature.properties.shadow_size)
    159159                                icon_options.shadowSize = [feature.properties.shadow_size[0], feature.properties.shadow_size[1]];
     160                        if (feature.properties.shadow_anchor)
     161                                icon_options.shadowAnchor = [feature.properties.shadow_anchor[0], feature.properties.shadow_anchor[1]];
    160162                        layer.setIcon(L.icon(icon_options));
    161163                }
  • _plugins_/gis/trunk/paquet.xml

    r108556 r109377  
    22        prefix="gis"
    33        categorie="divers"
    4         version="4.44.14"
     4        version="4.44.15"
    55        schema="2.1.0"
    66        etat="stable"
Note: See TracChangeset for help on using the changeset viewer.