bookmark
A saved geographic extent that allows end users to quickly navigate to a particular area of interest.
Properties
Property | Details |
---|---|
extent | An envelope object containing a spatial reference, a lower left coordinate, and an upper right coordinate defining the rectangular area of the bookmark. The spatial reference is the same as that used in the basemap layers. Documentation for the envelope is in the Geometry Objects topic of the ArcGIS REST API help. |
name | A string name for the bookmark. |
Example
This example shows three bookmarks that zoom to certain counties in the United States.
"bookmarks": [
{
"extent": {
"spatialReference": {"wkid": 102100},
"xmax": -1.2251063434141435E7,
"xmin": -1.2561092020865962E7,
"ymax": 4977986.7113767695,
"ymin": 4811659.737828305
},
"name": "Utah County"
},
{
"extent": {
"spatialReference": {"wkid": 102100},
"xmax": -1.2615515185004937E7,
"xmin": -1.3235572358454255E7,
"ymax": 4310538.580390846,
"ymin": 3977884.633293776
},
"name": "San Bernardino County"
},
{
"extent": {
"spatialReference": {"wkid": 102100},
"xmax": -1.3587844475773152E7,
"xmin": -1.374285876913555E7,
"ymax": 5979665.819892921,
"ymin": 5896502.333118618
},
"name": "Thurston County"
}
]
12/11/2012