Guard against NPE in native code
@@ -492,8 +492,10 @@ namespace carto {
}
element = cluster.clusterElement;
}
+ if (element) {
addRendererElement(element);
}
+ }
bool billboardsChanged = refreshRendererElements();
