Package com.esri.arcgisruntime.layers
Class MobileBasemapLayer
- java.lang.Object
-
- com.esri.arcgisruntime.layers.Layer
-
- com.esri.arcgisruntime.layers.MobileBasemapLayer
-
- All Implemented Interfaces:
LayerContent
,Loadable
public final class MobileBasemapLayer extends Layer
A layer that can visualize the basemap layer of a map from mobile map package.A mobile basemap layer can render feature, tiled, vector tiled and raster data together in a group as a single basemap layer. This layer abstracts the complexity of multiple layers into one simple-to-use layer.
You can create a basemap layer using ArcGIS Pro and package it, along with its map, into a mobile map package (.mmpk) for use offline. Each package may contain one or more maps, each of which can contain a basemap with basemap layers.
If a basemap layer contains features, they will be stored in a compressed format that can be displayed quickly along with any associated labels. This compressed format does not support feature selection, query, identify and time.
- Since:
- 100.0.0
- See Also:
Layer
,MobileMapPackage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MobileBasemapLayer
copy()
Creates a deep copy of this MobileBasemapLayer instance.java.lang.String
getPath()
Gets the relative path to the mobile basemap layer inside the mobile map package.java.util.List<java.lang.Long>
getSublayerIds()
Gets an unmodifiable list of sublayer IDs.-
Methods inherited from class com.esri.arcgisruntime.layers.Layer
addDoneLoadingListener, addLoadStatusChangedListener, addVisibilityChangedListener, cancelLoad, canChangeVisibility, canShowInLegend, fetchLegendInfosAsync, getAttribution, getDescription, getFullExtent, getId, getItem, getLoadError, getLoadStatus, getMaxScale, getMinScale, getName, getOpacity, getSpatialReference, getSubLayerContents, isIdentifyEnabled, isVisible, isVisibleAtScale, loadAsync, removeDoneLoadingListener, removeLoadStatusChangedListener, removeVisibilityChangedListener, retryLoadAsync, setCanShowInLegend, setDescription, setId, setMaxScale, setMinScale, setName, setOpacity, setVisible
-
-
-
-
Method Detail
-
getPath
public java.lang.String getPath()
Gets the relative path to the mobile basemap layer inside the mobile map package.- Returns:
- mobile map package path
- Since:
- 100.0.0
-
getSublayerIds
public java.util.List<java.lang.Long> getSublayerIds()
Gets an unmodifiable list of sublayer IDs.- Returns:
- a list of sublayer IDs
- Since:
- 100.0.0
-
copy
public MobileBasemapLayer copy()
Creates a deep copy of this MobileBasemapLayer instance.- Returns:
- a deep copy of this MobileBasemapLayer instance, which means that copies of all fields of this layer are made including its loading state
- Since:
- 100.1.0
-
-