From 84b77b09adecc2b8becb40edad60fef78776f36c Mon Sep 17 00:00:00 2001 From: john gravois Date: Tue, 28 Apr 2015 12:14:54 -0700 Subject: [PATCH] updated API reference --- .../api-reference/layers/feature-layer.md | 17 ++++++++++++--- .../api-reference/services/feature-layer.md | 21 ++++++++++++++----- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/site/source/pages/api-reference/layers/feature-layer.md b/site/source/pages/api-reference/layers/feature-layer.md index fb6a509b4..01f685739 100644 --- a/site/source/pages/api-reference/layers/feature-layer.md +++ b/site/source/pages/api-reference/layers/feature-layer.md @@ -277,7 +277,7 @@ featureLayer.query() Adds a new feature to the feature layer. this also adds the feature to the map if creation is successful. @@ -288,7 +288,7 @@ featureLayer.query() Update the provided feature on the Feature Layer. This also updates the feature on the map. @@ -299,7 +299,18 @@ featureLayer.query() Remove the feature with the provided id from the feature layer. This will also remove the feature from the map if it exists. + + + + deleteFeatures({{{param 'Array of String or Integers' 'ids'}}}, {{{param 'Function' 'callback'}}}, {{{param 'Object' 'context'}}}) + this + + Removes an array of features with the provided ids from the feature layer. This will also remove the features from the map if they exist. + diff --git a/site/source/pages/api-reference/services/feature-layer.md b/site/source/pages/api-reference/services/feature-layer.md index 37665602a..069d3e55b 100644 --- a/site/source/pages/api-reference/services/feature-layer.md +++ b/site/source/pages/api-reference/services/feature-layer.md @@ -65,7 +65,7 @@ Inherits from [`L.esri.Service`]({{assets}}api-reference/services/service.html) Adds a new feature to the feature layer. this also adds the feature to the map if creation is successful. @@ -76,7 +76,7 @@ Inherits from [`L.esri.Service`]({{assets}}api-reference/services/service.html) Update the provided feature on the Feature Layer. This also updates the feature on the map. @@ -86,8 +86,19 @@ Inherits from [`L.esri.Service`]({{assets}}api-reference/services/service.html) Remove the feature with the provided id from the feature layer. This will also remove the feature from the map if it exists. + + + + deleteFeatures({{{param 'Array of String or Integers' 'ids'}}}, {{{param 'Function' 'callback'}}}, {{{param 'Object' 'context'}}}) + this + + Removes an array of features with the provided ids from the feature layer. This will also remove the features from the map if they exist. + @@ -96,7 +107,7 @@ Inherits from [`L.esri.Service`]({{assets}}api-reference/services/service.html) ### Examples -**Note**: These examples use a public feature service on ArcGIS Online that required no authentication. +**Note**: These examples use a public feature service on ArcGIS Online that does not require authentication. ##### Adding Features ```js