Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
createWorkspace(layer: VectorLayer, map: IgoMap): WfsWorkspace {
return new WfsWorkspace({
id: layer.id,
title: layer.title,
layer,
map,
entityStore: this.createFeatureStore(layer, map),
actionStore: new ActionStore([]),
meta: {
tableTemplate: this.createTableTemplate(layer)
}
});
}