Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
map.addOverlayType('esri-feature', function(conf) {
return esri.featureLayer(conf);
});
createLeafletElement(props) {
return featureLayer({ ...props });
}
}
addFeatureLayer(config: any) {
const featureLayer = new esri.featureLayer(config);
this.map.addLayer(featureLayer);
return featureLayer;
}
addFeatureLayer(config: any) {
const featureLayer = new esri.featureLayer(config);
this.map.addLayer(featureLayer);
return featureLayer;
}