[fusion-commits] r3067 - trunk/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Sun Nov 15 13:26:49 PST 2026
Author: jng
Date: 2026-11-15 13:26:47 -0800 (Sun, 15 Nov 2026)
New Revision: 3067
Modified:
trunk/lib/Map.js
Log:
Fix: Shift-Click errors on selection number of elements selected in the Fusion.SelectionObject.Layer
Modified: trunk/lib/Map.js
===================================================================
--- trunk/lib/Map.js 2026-11-06 07:55:51 UTC (rev 3066)
+++ trunk/lib/Map.js 2026-11-15 21:26:47 UTC (rev 3067)
@@ -2220,6 +2220,13 @@
initialize: function(o, layerName)
{
this.name = layerName;
+
+ if (!o || !o[layerName]) {
+ this.nElements = 0;
+ this.nProperties = 0;
+ return;
+ }
+
this.nElements = o[layerName].numelements;
this.aElements = [];
More information about the fusion-commits
mailing list