create With Item
Creates a new FeatureLayer
object from a feature layer, map service, or feature service portal item. If the portal item is a map or feature service, the FeatureLayer
will be created from the first layer on the service.
Return
Since
200.1.0
Parameters
item
a feature layer Item