ArcGIS Runtime SDK for iOS: AGSDictionaryRenderer.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSDictionaryRenderer.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 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/AGSRenderer.h>
27 
28 @class AGSArcadeExpression;
30  //Required for Globals API doc
32 
47 
48 
49 
50 #pragma mark -
51 #pragma mark initializers
52 
53 
54 
60 -(instancetype)initWithDictionarySymbolStyle:(AGSDictionarySymbolStyle*)dictionarySymbolStyle;
61 
67 +(instancetype)dictionaryRendererWithDictionarySymbolStyle:(AGSDictionarySymbolStyle*)dictionarySymbolStyle;
68 
76 -(instancetype)initWithDictionarySymbolStyle:(AGSDictionarySymbolStyle*)dictionarySymbolStyle
77  symbologyFieldOverrides:(NSDictionary<NSString*, id> *)symbologyFieldOverrides
78  textFieldOverrides:(NSDictionary<NSString*, NSString*> *)textFieldOverrides;
79 
87 +(instancetype)dictionaryRendererWithDictionarySymbolStyle:(AGSDictionarySymbolStyle *)dictionarySymbolStyle
88  symbologyFieldOverrides:(NSDictionary<NSString*, id> *)symbologyFieldOverrides
89  textFieldOverrides:(NSDictionary<NSString*, NSString*> *)textFieldOverrides;
90 
91 #pragma mark -
92 #pragma mark properties
93 
97 @property (nonatomic, strong, readwrite) AGSDictionarySymbolStyle *dictionarySymbolStyle;
98 
108 @property (nullable, nonatomic, strong, readwrite) AGSArcadeExpression *scaleExpression;
109 
117 @property (nonatomic, copy, readwrite) NSDictionary<NSString*, NSString*> *symbologyFieldOverrides;
118 
126 @property (nonatomic, copy, readwrite) NSDictionary<NSString*, NSString*> *textFieldOverrides;
127 
128 #pragma mark -
129 #pragma mark methods
130 
131 @end
132 
134 
139 @property (nonatomic, assign, readwrite) double textVisibilityMaxScale ;
140 
145 @property (nonatomic, assign, readwrite) double textVisibilityMinScale ;
146 
151 @property (nonatomic, assign, readwrite, getter=isTextVisible) BOOL textVisible ;
152 
153 @end
154 
155 
Definition: AGSDictionaryRenderer.h:133
An Arcade expression object, containing an expression, a name, a return type and a title.
Definition: AGSArcadeExpression.h:50
Renders @AGSGeoElements using symbols generated from an AGSDictionarySymbolStyle.
Definition: AGSDictionaryRenderer.h:47
AGSDictionarySymbolStyle * dictionarySymbolStyle
Definition: AGSDictionaryRenderer.h:97
NSDictionary< NSString *, NSString * > * textFieldOverrides
Definition: AGSDictionaryRenderer.h:126
AGSArcadeExpression * scaleExpression
Definition: AGSDictionaryRenderer.h:108
NSDictionary< NSString *, NSString * > * symbologyFieldOverrides
Definition: AGSDictionaryRenderer.h:117
A dictionary symbol style object containing symbol primitives and rules for generating symbols from a...
Definition: AGSDictionarySymbolStyle.h:50
An abstract base class for renderers.
Definition: AGSRenderer.h:55