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