GeoMOOSE.ServiceInputTypes

Container for the litany of service inputs.

Summary
GeoMOOSE.ServiceInputTypesContainer for the litany of service inputs.
Functions
getTitleReturns the title/label of this input.
GeoMOOSE.Services.InputType.TextProvide a text label for describing behaviour to the user.
Functions
_setValueInternal method for setting up the value.
GeoMOOSE.Services.InputType.ColorProvides both a freeform hex input and a color picker.
Variables
_labelHTMLStores the text template for updating the legend chip in a color picker.
Functions
_setValueTakes in the value from the onChange of the Palette, sets the local value and updates the display.
GeoMOOSE.Services.InputType.ProjectionSends the current projection definition for the map to the service.
GeoMOOSE.Services.InputType.LengthUses a combination of a textbox and a drop down in order to provide multiple unit compatibility for entering length information.
Functions
_setValueUses the value from the select and the textbox to convert the users input to meters.

Functions

getTitle

getTitle: function()

Returns the title/label of this input.

GeoMOOSE.Services.InputType.Text

Provide a text label for describing behaviour to the user.

Summary
Functions
_setValueInternal method for setting up the value.

Functions

_setValue

_setValue: function(value)

Internal method for setting up the value.

GeoMOOSE.Services.InputType.Color

Provides both a freeform hex input and a color picker.

Summary
Variables
_labelHTMLStores the text template for updating the legend chip in a color picker.
Functions
_setValueTakes in the value from the onChange of the Palette, sets the local value and updates the display.

Variables

_labelHTML

_labelHTML: '<span class="dijitInline" style="border: solid 1px black; width: 18px; height: 1em; background-color: ${color}"></span>'

Stores the text template for updating the legend chip in a color picker.

Functions

_setValue

_setValue: function(value)

Takes in the value from the onChange of the Palette, sets the local value and updates the display.

GeoMOOSE.Services.InputType.Projection

Sends the current projection definition for the map to the service.  Useful for when datasets may not match the projection of the map.

GeoMOOSE.Services.InputType.Length

Uses a combination of a textbox and a drop down in order to provide multiple unit compatibility for entering length information.

Summary
Functions
_setValueUses the value from the select and the textbox to convert the users input to meters.

Functions

_setValue

_setValue: function(value)

Uses the value from the select and the textbox to convert the users input to meters.

getTitle: function()
Returns the title/label of this input.
_setValue: function(value)
Internal method for setting up the value.
_labelHTML: '<span class="dijitInline" style="border: solid 1px black; width: 18px; height: 1em; background-color: ${color}"></span>'
Stores the text template for updating the legend chip in a color picker.
_setValue: function(value)
Takes in the value from the onChange of the Palette, sets the local value and updates the display.
_setValue: function(value)
Uses the value from the select and the textbox to convert the users input to meters.
Close