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)
Creates a BaseMap from a JSON parser.
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)

Creates a BaseMap from a JSON parser.

Parameters
parser JsonParser: contains the JSON to parse
Returns
BaseMap a new BaseMap instance
Throws
PortalException if unable to complete the request

public List<WebMapLayer> getBaseMapLayers ()

Returns all base map layers.

Returns
List<WebMapLayer> a java.util.List of WebMapLayer

public String getTitle ()

Returns the tile of the base map.

Returns
String the title