ArcGIS Runtime SDK for iOS: AGSBookmark.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSBookmark.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18 
19 #import <ArcGIS/AGSObject.h>
20 
21 @class AGSViewpoint;
22  //Required for Globals API doc
24 
30 @interface AGSBookmark : AGSObject <NSCopying>
31 
32 
33 #pragma mark -
34 #pragma mark initializers
35 
42 -(instancetype)initWithName:(NSString*)name viewpoint:(AGSViewpoint*)viewpoint;
43 
44 +(instancetype)bookmark;
45 
52 +(instancetype)bookmarkWithName:(NSString*)name viewpoint:(AGSViewpoint*)viewpoint;
53 
54 #pragma mark -
55 #pragma mark properties
56 
60 @property (nonatomic, copy, readwrite) NSString *name;
61 
65 @property (nullable, nonatomic, strong, readwrite) AGSViewpoint *viewpoint;
66 
67 #pragma mark -
68 #pragma mark methods
69 
70 
71 @end
instancetype bookmark()
NSString * name
Definition: AGSBookmark.h:60
A bookmark in a map.
Definition: AGSBookmark.h:30
Represents the view location of AGSMapView or AGSSceneView.
Definition: AGSViewpoint.h:49
Definition: AGSObject.h:21