|
ArcGIS Runtime SDK for iOS
100.9
|
A popup definition.
Instances of this class respresent popup definitions for geo-elements that need to be displayed in popups. Popup definitions contain information such as -
Instance Methods | |
| (instancetype) | - initWithGeoElement: |
| (instancetype) | - initWithPopupSource: |
Class Methods | |
| (instancetype) | + popupDefinition |
| (instancetype) | + popupDefinitionWithGeoElement: |
| (instancetype) | + popupDefinitionWithPopupSource: |
Properties | |
| BOOL | allowDelete |
| BOOL | allowEdit |
| BOOL | allowEditGeometry |
| NSString * | customDescription |
| NSArray< AGSPopupExpression * > * | expressions |
| NSArray< AGSPopupField * > * | fields |
| NSArray< AGSPopupMedia * > * | media |
| AGSPopupRelatedFeaturesDefinition * | relatedFeaturesDefinition |
| BOOL | showAttachments |
| BOOL | showEditSummary |
| BOOL | showRelatedRecords |
| NSString * | title |
| - (instancetype) initWithGeoElement: | (id< AGSGeoElement >) | geoElement |
Initialize a popup definition based on the attribute schema of the geo-element. By default, all the attributes will be included in the popup fields.
| geoElement | for which popup definition should be created |
| - (instancetype) initWithPopupSource: | (id< AGSPopupSource >) | popupSource |
Initialize a popup definition based on popup source. By default, all the fields available in the source will be included in the popup fields.
| popupSource | for which popup definition should be created |
| + (instancetype) popupDefinition |
| + (instancetype) popupDefinitionWithGeoElement: | (id< AGSGeoElement >) | geoElement |
Initialize a popup definition based on the attribute schema of the geo-element
| geoElement | for which popup definition should be created |
| + (instancetype) popupDefinitionWithPopupSource: | (id< AGSPopupSource >) | popupSource |
Initialize a popup definition based on popup source. By default, all the fields available in the source will be included in the popup fields.
| popupSource | for which popup definition should be created |
|
readwritenonatomicassign |
Whether or not the popup should allow the geo-element to be deleted.
|
readwritenonatomicassign |
Whether or not the popup should allow the geo-element to be edited.
|
readwritenonatomicassign |
Whether or not the popup should allow the geo-element's geometry should be edited. Only applicable when allowEdit is YES.
|
readwritenonatomiccopy |
The description that is shown for the geo-element in the popup. This can be html. If description is nil then the #popupFields are used when viewing attributes. This can contain a literal value, or a placeholder for value from the geo-element's attribute. The placeholder needs to be of the form {field_name} where field_name is a key in the geo-element's attributes.
|
readwritenonatomiccopy |
A list of expressions based on the Arcade language that can be evaluated to display computed information in fields, media, title, or customDescription
|
readwritenonatomiccopy |
The geo-element's fields (as an array of AGSPopupField objects) that are to be displayed in the popup. If description is not nil then the popupFields are not used when viewing attributes.
|
readwritenonatomiccopy |
The media (as an array of AGSPopupMedia objects) that is to be displayed in the popup.
|
readwritenonatomicstrong |
A definition that dictates whether related features should be displayed in the popup and how they should be sorted.
|
readwritenonatomicassign |
Whether or not the popup should show attachments of the geo-element.
|
readwritenonatomicassign |
Whether or not the popup should display a summary of when the geo-element was last edited and by whom.
|
readwritenonatomicassign |
Whether or not the popup should show additional geo-elements that are related to this popup's geo-element.
#relatedFeaturesDefinition.showRelatedFeatures instead.
|
readwritenonatomiccopy |
The title that is displayed for the geo-element in the popup. This can contain a literal value, or a placeholder for value from the geo-element's attribute. The placeholder needs to be of the form {field_name} where field_name is a key in the geo-element's attributes.