ArcGIS Runtime SDK for iOS: AGSBookmark.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSBookmark.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSObject.h>
27 
28 @class AGSViewpoint;
29  //Required for Globals API doc
31 
37 @interface AGSBookmark : AGSObject <NSCopying>
38 
39 
40 #pragma mark -
41 #pragma mark initializers
42 
49 -(instancetype)initWithName:(NSString*)name viewpoint:(AGSViewpoint*)viewpoint;
50 
51 +(instancetype)bookmark;
52 
59 +(instancetype)bookmarkWithName:(NSString*)name viewpoint:(AGSViewpoint*)viewpoint;
60 
61 #pragma mark -
62 #pragma mark properties
63 
67 @property (nonatomic, copy, readwrite) NSString *name;
68 
72 @property (nullable, nonatomic, strong, readwrite) AGSViewpoint *viewpoint;
73 
74 #pragma mark -
75 #pragma mark methods
76 
77 
78 @end
A geographic or time location for quick navigation.
Definition: AGSBookmark.h:37
AGSViewpoint * viewpoint
Definition: AGSBookmark.h:72
NSString * name
Definition: AGSBookmark.h:67
instancetype bookmark()
Definition: AGSObject.h:28
Represents the view location of an AGSMapView or AGSSceneView object.
Definition: AGSViewpoint.h:51