public class

BaseMap

extends Object
java.lang.Object
   ↳ com.esri.core.portal.BaseMap

Class Overview

This class represents a base map described in a WebMap.

Summary

Protected Constructors
BaseMap()
Creates an empty BaseMap.
Public Methods
static BaseMap fromJson(JsonParser parser)
Sets the internal state of the BaseMap with a response received from the server.
List<WebMapLayer> getBaseMapLayers()
Returns all base map layers.
String getTitle()
Returns the tile of the base map.
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected BaseMap ()

Creates an empty BaseMap. Users will never construct a BaseMap instance programmatically.

Public Methods

public static BaseMap fromJson (JsonParser parser)

Sets the internal state of the BaseMap with a response received from the server.

Parameters
parser the JsonParser instance
Returns
  • a BaseMap instance
Throws
PortalException the portal exception

public List<WebMapLayer> getBaseMapLayers ()

Returns all base map layers.

Returns
  • a List of WebMapLayer

public String getTitle ()

Returns the tile of the base map.

Returns
  • the title