public class

Bookmark

extends Object
java.lang.Object
   ↳ com.esri.core.map.Bookmark

Class Overview

Represents a bookmark object defined in the Web map.

Summary

Public Constructors
Bookmark()
Public Methods
static Bookmark fromJson(JsonParser parser)
Returns the Bookmark object from the JsonParer object.
Envelope getExtent()
Returns the envelope of the bookmark.
String getName()
Returns the name of the bookmark.
SpatialReference getSpatialReference()
Returns the spatial reference.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Bookmark ()

Public Methods

public static Bookmark fromJson (JsonParser parser)

Returns the Bookmark object from the JsonParer object.

Parameters
parser a JsonParser object
Returns
  • a Bookmark object
Throws
Exception when the parser throwing the exception.

public Envelope getExtent ()

Returns the envelope of the bookmark.

Returns
  • an Envelope object

public String getName ()

Returns the name of the bookmark.

Returns
  • String

public SpatialReference getSpatialReference ()

Returns the spatial reference.

Returns
  • a SpatialReference object.