The viewer application
Attributes to symbolize on
View model for the class breaks selector widget.
What kind of symbolization is it?
The widgets used to configure the symbology for each class
Configuration for the symbology settings view-model.
Flag to stop change events from being applied while configuring
Bindings that fire after class creation is begun but before it completes need to know not to kick this off again
Default symbols for data that does not fall within generated classes
Type of feature being symbolized. One of 'Point' 'Line' or 'Polygon'
What kind of field is it? Numeric fields are sometimes unique value renderers if data is limited.
Observable for the user-selected line width.
View model for the line width selector widget
Observable for the user-selected marker size.
View model for the marker size selector widget
These are used to translate style ids from Esri JS API to Esri REST API form
The currently selected markerStyle
Styles available to point markers.
Maximum allowable number of renderer classes
Max number of samples to use in class creation
Disables availability of marker related options.
Observable for the selected number of class breaks.
Don't unnecessarily try to create class breaks renderers that won't work
Symbology class for 'other' values
Widget for the other value renderer
Temporary cache of ArcGIS Server query responses created by symbolization. Indexed by a hash of url + field + extent. Cleared when changing layers.
Some configurations of layer extent, map extent and renderer type will cause multiple query requests with the same parameters to occur. This is bad for two reasons:
1: Requests to ArcGIS Server are often sent with no-cache headers, so the identical requests cannot be counted on to 304. But it's ok if they do, as they are separated only by milliseconds in practice.
2: When the requests do 304, a strange bug is exposed in Chrome only where the esri (dojo) request will timeout and not recieve results even though it is an immediate 304. This causes the code to hang for a full minute before dropping into the error handler. Hopefully this will be fixed in the future, as I can't figure out at all why this should occur, or which part of the stack is at fault here.
The currently selected symbology class
The colors used in the symbology
Whether values which fall outside the configured breaks/classes should have a symbol
Symbology class info for binding to view
Observable for the user-selected fill transparency.
View model for the transparency selector widget
Whether to use AGS advanced query functionality to create classes
Given a quantitative value field, automatically create a set of class breaks to use for a renderer PRIVATE: Internal method of this widget
Assign default colors to classes and configure the symbology widgets PRIVATE: Only call from this widget.
Given a string field, automatically create a set of unique values to use for a renderer PRIVATE: Internal method of this widget
Returns a renderer based on the current widget setttings as a JSON string PRIVATE: Call 'getRenderer' on AttributeSymbologySettingsView
Restores settings to the default state PRIVATE: Call 'reset' on AttributeSymbologySettingsView
Sets the state of the widget based on a supplied class breaks or unique value renderer PRIVATE: Call 'setFromRenderer' on AttributeSymbologySettingsView
Binds a handler to an Observable or to a dojo.connect. Binding to an Observable:
``` this.auto(someObservable, function (newValue) { });
with explicit scope:
this.auto(someObservable, this, function (newValue) { });
Alternately, pass an event name as a string to use dojo.connect:
this.auto(window, "onclick", function () { }); ```
Either an Observable (for observable bindings) or a regular object (if arg1 is a string)
If arg0 is an Observable, a function or scope object. Otherwise, an event name (to use with dojo.connect).
If arg0 is an Observable, a function handler.
Destroys the object completely
Disposes any bindings tracked by this object.
Gets a language resource from the Application's resource dictionary, given a key, and optional locale. Returns null if the resource does not exist.
The locale of the resource to fetch. Defaults to the current application locale.
Initialize the widget based on configuration.
Override or attach to provide custom clean-up behaviour.
Tracks a subscription to an {@link geocortex.framework.commands.Command}, disposing it when this object is disposed with the destroy method.
Tracks a subscription to an {@link geocortex.framework.events.Event}, disposing it when this object is disposed with the destroy method.
View-model for the attribute symbology settings widget.