| generic class for map widgets. |
| |
| Callback for when all maps have been loaded |
| Attaches a context menu as defined in the AppDef to the map |
| Controls the creation of Layers based on the MapGroup object passed in |
| Called after each layer is loaded in the OL viewport. |
| handles mouse wheel events by accummulating the events and setting a timer to do the actual zoom in/out |
| Carries out the actual map zoom based on the wheel movement |
| User spun scroll wheel up |
| User spun scroll wheel down |
| returns the dom element for this widget |
| returns the name of the baselayer map |
| returns the Title of the baselayer map. |
| returns the server session ID |
| returns the ID of dom element for this widget |
| sets options on the OpenLayers map object, a wrapper for the OL function |
| adds a map/Layer to the map and registers some event handlers on the map |
| returns the array of map objects |
| Called to reload all the map objects. |
| Loads the ScaleRange objects separate from the LoadMap sequence since this also generates sprites and is a relatively expensive operation. |
| dispatch query requests to the maps |
| handle selection events from maps and republish for widgets as appropriate |
| cehck to see if any of the maps have an active selection |
| clear the selection on all maps |
| initiates a call to get the current selection asynchronously in case we need to retrieve the details from the server |
| sets a Selection XML back to the server for each of the maps |
| accumulate the selection results from each map and when all have reported in, pass the results to the callback function |
| sets the active layer for selection/manipulation |
| returns the active layer for selection/manipulation |
| indicate that a new asynchronous process has started and make sure the visual indicator is visible for the user. |
| indicate that an asynchronous process has completed and hide the visual indicator if no remaining processes are active. |
| OpenLayers event handler for whenever the map changes either zoom level of the center has changed. |
| check to see if there are any outstanding requests to the server |
| callback for when the browser window size changes, simply calls resize on the map viewport layout object |
| handles the resizing of the maps and triggers a Fusion event |
| redraws the map using current extents and zoom level. |
| sets the background color for the map |
| handle selection events from maps and republish for widgets as appropriate |
| |
| gets the intitial extents from all maps with or without including the extent of any Generic/commercial layers |
| sets the extent of the map to the max as returned by loadMap |
| returns if the map has finished loading (based on setting the _oCurrentExtent value) |
| sets the map zoom and extent. |
| sets the map zoom and extent. |
| sets the map zoom and extent. |
| sets the map zoom and extent. |
| returns the current center of the map view |
| returns the Extent of the map given a center point and a scale (optional) |