Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
G
 getActiveMapSource, GeoMOOSE
 getBookmarkUrl, GeoMOOSE
 getExtent, GeoMOOSE
 getLayerByName, GeoMOOSE.MapSource
 getLayerOpacity, GeoMOOSE
 getLayerParameters, GeoMOOSE
 getLayerParams, GeoMOOSE.MapSource.WMS
 getLayerUrl, GeoMOOSE
 getLegendUrls, GeoMOOSE
 getMapbook, GeoMOOSE.Application
 getMapSource, GeoMOOSE.Application
 getMapSourceType, GeoMOOSE
 getScale, GeoMOOSE
 getStatusDifferences
 getTab, GeoMOOSE
 getTitle, GeoMOOSE.ServiceInputTypes
 getUrlParameters, GeoMOOSE
 getVisibleLayers
 gotMapbook, GeoMOOSE.Application
I
 id, GeoMOOSE
 inScale, GeoMOOSE
 isDefined, GeoMOOSE
 isEditable, GeoMOOSE
 isPrintable, GeoMOOSE.MapSource
 isVisible, GeoMOOSE.MapSource
M
 moveLayerDown, GeoMOOSE
 moveLayerUp, GeoMOOSE
O
 onActivateMapSource, GeoMOOSE.Application
 onGotMapbook, GeoMOOSE.Application
 onLayersChange
 onMapbookLoadError, GeoMOOSE.Application
P
 parseBoolean, GeoMOOSE
 parseConfiguration, GeoMOOSE.Application
 postCreate, GeoMOOSE.Tab
 preParseNode, GeoMOOSE.MapSource.MapServer
 preParseNode(mapbook_xml), GeoMOOSE.MapSource
 print
 processTemplate, GeoMOOSE
R
 refreshLayers, GeoMOOSE
 register, GeoMOOSE
 registerMapSourceType, GeoMOOSE
 removeTab, GeoMOOSE
 renderGroup, GeoMOOSE.Tab.Catalog
 renderLayer, GeoMOOSE.Tab.Catalog
 restoreTools, GeoMOOSE.Tab.Service
S
 save, GeoMOOSE.MapSource.Vector
 saveChanges, GeoMOOSE
 selectTab, GeoMOOSE
 setLayerOpacity, GeoMOOSE
 setVisibility, GeoMOOSE.MapSource
 splitPaths, GeoMOOSE
 Start Move, GeoMOOSE.Popup
 start_measure, GeoMOOSE.Tool.MeasureArea
 startService, GeoMOOSE
 stripCommas, GeoMOOSE
T
 toBeginning, GeoMOOSE.Tab.Service
 toggleGroup, GeoMOOSE.Tab.Catalog
 turnLayerOff, GeoMOOSE
 turnLayerOn, GeoMOOSE
U
 unfadeLayer, GeoMOOSE
 updateLayerFilter, GeoMOOSE
 updateLayerParameters, GeoMOOSE
W
 warning, GeoMOOSE
getActiveMapSource: function()
Gets the active map source.
getBookmarkUrl: function()
Get an URL for bookmarking.
getExtent: function()
Get the map’s extent as an array.
getLayerByName: function(name)
Returns a layer by name.
getLayerOpacity : function(layerName)
Get the client-side Opacity parameter setting.
getLayerParameters : function(layerName)
Get the params for a given layer.
getLayerParams: function(all_params)
getLayerUrl : function(layerName)
Get the base URL for a given layer.
getLegendUrls: function(layer_paths)
Returns an array of legend URLs for a given set of paths.
getMapbook: function (url)
Loads the mapbook from the CONFIG.mapbook, or an alternative from the url parameter.
getMapSource: function(name)
Takes a full path and return a MapSource
getMapSourceType: function(map_source_type)
Get the class for a given layer type Parameters: map_source_type - The map-source type from the Mapbook.
getScale: function()
Return the map’s current scale.
getStatusDifferences: function()
Iterates through all the Map Source’s and Layers and returns which ones have changed through use of the application.
getStatusDifferences: function()
Returns a two element object with lists for “on” and “off”, representing layers that are currently different than their definition in the mapbook.
getTab: function(tab_name)
Recall a tab that has been added with addTab.
getTitle: function()
Returns the title/label of this input.
getUrlParameters: function()
Parses URL parameters and returns a hash.
getVisibleLayers : function()
Get the list of currently visible layer paths.
getVisibleLayers: function()
Iterates through the mapSources and returns a list of the visible paths.
gotMapbook: function(response)
Called immediate after the mapbook is loaded from the server.
id: function()
Generates an unique ID
inScale: function(minscale,
maxscale)
Check whether a given min/maxscale is within the current scale.
isDefined: function(v)
Check for the null condition in a variable.
isEditable: function(source)
Checks to see if a MapSource is editable.
isPrintable: function()
Check whether the .printable flag is set.
isVisible: function()
By default the isVisible checks to see if any layers are “on”.
moveLayerDown: function(path)
Move’s a layer down on the visibility stack.
moveLayerUp: function(path)
Move’s a layer up on the visibility stack.
onActivateMapSource: function(path)
Triggered when a layer is “activated.”
onGotMapbook: function(response)
Called when the mapbook is loaded and ready for parsing.
onLayersChange: function(path,
visibility)
onLayersChange: function (path,
visibility)
Called every time a change is made to the visible layers list.
onLayersChange: function(path,
visibility)
When the Layers List changes, update the params, and refresh the layer.
onLayersChange: function(path,
visibility)
When the Layers List changes, update the params, and refresh the layer.
onLayersChange: function(path,
visibility)
When the Layers List changes, update the params, and refresh the layer.
onMapbookLoadError: function(response)
Called when the Mapbook fails to load.
function parseBoolean(bool,
def)
Inputs a string and outputs a boolean.
Parses the configuration into the global CONFIGURATION hash
postCreate: function()
This function is called after the tab has been added to the user interface.
preParseNode: function(mapbook_xml)
Override the default XML to support the MapServer format.
preParseNode: function(mapbook_xml)
Can be overridden to convert some layer types (e.g.
printable: true, /* this can be printed */ print: function()
Get a print represetnation for the vectors.
printable: true, /* this can be printed */ print: function()
Return the print representation of this layer.
processTemplate : function (template,
replace_dict)
A low-cost, built-in template utility for GeoMOOSE.
refreshLayers : function(layerNames)
Force some layers to redraw.
register: function(event_type,
ref_obj,
func)
Register an event with GM_Events.
registerMapSourceType: function(map_source_type,
js_class)
Registers a Class to a GeoMOOSE class type Parameters: map_source_type - The map-source type from the Mapbook.
removeTab: function(tab_name)
Removes a tab from the internal list, but not the user interface.
renderGroup: function(groupElementId,
group)
Render the Group from the catalog.
renderLayer: function(groupElementId,
layer_xml,
overrideStatusList)
Responsible for actually rendering the layer in the catalog.
restoreTools: function()
Renables the last tool, if defined.
save: function()
Called after any changes.
saveChanges: function(name)
selectTab: function(tab_name)
Bring a tab to the forefront.
setLayerOpacity: function(layerName,
opacity)
Set the client-side Opacity parameter setting.
setVisibility: function(path,
visibility)
Turn a layer on or off.
splitPaths : function(layerPaths)
Splits paths in a GeoMOOSE path string (split by ‘:’)
Called when a mouse down happens in the title.
start_measure: function()
Create a tab for the contents of the measure tab.
startService : function(serviceName,
settingsObj,
forceStart)
Start a service with some given parameters
function stripCommas(v)
Remove the commas from a number.
toBeginning: function()
Go back to the start of the settings for the service.
toggleGroup: function()
Toggle the group div’s children’s visibility.
Turns off some layers.
Turns on some layers.
unfadeLayer: function(path)
Un-Fade out the opacity by CONFIGURATION.layer_controls.fade.change_percent.
updateLayerFilter: function(layerName,
filterText)
Change the filter for a given layer.
updateLayerParameters : function(layerName,
paramObject)
Change the params for a given layer.
warning: function()
Similar to error, but with less severity.
Close