Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
pRend.attachStylesToLayer(this._pointLayer);
options.proportionalPolygon = true;
}
rend = classBreaksRenderer(rendererInfo, options);
break;
case 'uniqueValue':
rend = uniqueValueRenderer(rendererInfo, options);
break;
default:
rend = simpleRenderer(rendererInfo, options);
}
rend.attachStylesToLayer(this);
};
}
Esri.FeatureLayer.addInitHook(function () {
// the only method not shared with the clustered implementation
L.Util.bind(this.createNewLayer, this);
wireUpRenderers();
});
if (L.esri.Cluster) {
L.esri.Cluster.FeatureLayer.addInitHook(wireUpRenderers)
}