com.esri.android.map.ags
Class ArcGISFeatureLayer.Options

java.lang.Object
  extended by com.esri.android.map.ags.ArcGISFeatureLayer.Options
Enclosing class:
ArcGISFeatureLayer

public static class ArcGISFeatureLayer.Options
extends Object

The options to instantiate the feature layer.


Field Summary
 InfoTemplate infoTemplate
          The template defines the content to display in the map info window when the user clicks on a feature.
 double maxAllowableOffset
          This is only applicable for feature layers that are not editable.
 ArcGISFeatureLayer.MODE mode
          Specify the layers mode of operation.
 String[] outFields
          An array of field names to include in the feature layer.
 
Constructor Summary
ArcGISFeatureLayer.Options()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mode

public ArcGISFeatureLayer.MODE mode
Specify the layers mode of operation. Each mode determines when and how many features are sent to the client. By default, it is SNAPSHOT mode.


maxAllowableOffset

public double maxAllowableOffset
This is only applicable for feature layers that are not editable. The maximum allowable offset used for generalizing geometries returned by the query operation. The default is 0. If 0 is specified the value is not passed to the server in a query. The offset is in the units of the spatialReference.


infoTemplate

public InfoTemplate infoTemplate
The template defines the content to display in the map info window when the user clicks on a feature. If not specified, the info window will not be displayed.


outFields

public String[] outFields
An array of field names to include in the feature layer. If not specified, the feature layer will return all fields, you can also optionally use "*" to return all fields. The ObjectId field will always be included in the feature layer even if not specified here.

Constructor Detail

ArcGISFeatureLayer.Options

public ArcGISFeatureLayer.Options()


Copyright © 2012. All Rights Reserved.