Changeset 70349 in spip-zone


Ignore:
Timestamp:
Mar 3, 2013, 10:57:00 AM (7 years ago)
Author:
jean-marc.viglino@…
Message:

[BUG] Affichage des popups (non KML)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/spip_geoportail/js/geoportail.js

    r70212 r70349  
    543543                {       opts.preFeatureInsert = Geoportal.Popup.setPointerCursorForFeature;
    544544                        l = map.getMap().addLayer(type, name, url, opts, { formatOptions :{extractStyles : true}, preventDefaultBehavior : true });
     545                        l.spipType = type;
    545546                }
    546547                if (l)
     
    11641165                if (!hover)
    11651166                {       if (att.description) html += att.description;
    1166                         else
     1167                        else if (feature.layer.spipType == 'KML')
    11671168                        {       var t = "";
    11681169                                for (var a in att)
Note: See TracChangeset for help on using the changeset viewer.