JMap.Feature.deleteByIds
Deletes the features for the given layer and features ids.
the JMap layer id
the JMap feature ids to delete
if layer or feature not found
// deletes 3 features on layer id="3"JMap.Feature .deleteByIds(3, [4, 5, 16]) .then(() => console.info("Features have been deleted")) .catch(error => console.error("An error occured", error)) Copy
// deletes 3 features on layer id="3"JMap.Feature .deleteByIds(3, [4, 5, 16]) .then(() => console.info("Features have been deleted")) .catch(error => console.error("An error occured", error))
JMap.Feature.deleteByIds
Deletes the features for the given layer and features ids.