Arc GISMap Image Sublayer
An ArcGIS map image sublayer. ArcGISMapImageLayer displays maps from an ArcGIS map server. Each layer in the underlying map service is represented by an ArcGISSublayer. You can control the visibility and symbols of sublayers and filter data with layer definition expressions.
You can get this object from ArcGISMapImageLayer.getMapImageSublayers() once the map image layer is loaded or you can get a collection of handles from another map image sublayer by using ArcGISSublayer.getSublayers(). You can also create a new sublayer from ArcGISMapImageSublayer.ArcGISMapImageSublayer(Long).
See also
()
()
(Long)
Constructors
Create a map image sublayer with the specified id.
Create a map image sublayer with the specified id and a sublayer source. Create a map image sublayer with the specified id and the specified sublayer source. Only map services that support dynamic layers will be able to manage sublayers with sublayer sources.
Functions
Cancels loading metadata for the Loadable object.
Clones the ArcGISMapImageSublayer.
Tests if this object is equal to a second ArcGISSublayer object.
Fetches the list of legend info.
Returns the layer content's effective visibility at the specified scale. Returns the effective layer content visibility. This effective visibility takes care of the effective visibility of the parents at the specified scale. Will return false if an error occurs.
Properties
The sublayer's definition expression. The definition expression string uses the SQL-92 where clause syntax (https://en.wikipedia.org/wiki/SQL-92). Be sure to escape special characters in the expression string as required for your platform. The DATE keyword expects the date format yyyy-mm-dd and the TIMESTAMP keyword expects the time stamp format yyyy-mm-dd hh:mm:ss. See the ArcGIS Blog article entitled "Querying Feature Services Date-Time Queries" (https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries/) for more information.
A flag indicating whether the PopupDefinition defined on the PopupSource is enable / disable. Will return false if an error occurs.