Lib Fusion. Widget.Map |
Fusion. Widget.Mapgeneric class for map widgets. Provides common utility classes. Summary
|
wheelChange: function( evt, deltaZ )
User spun scroll wheel up
wheelUp: function( evt )
User spun scroll wheel down
wheelDown: function( evt )
dispatch query requests to maps
query: function( options )
handle selection events from maps and republish for widgets as appropriate
mapLoadHandler: function()
handle selection events from maps and republish for widgets as appropriate
selectionHandler: function()
returns true if any map has a selection
hasSelection: function()
clear the selection on all maps
clearSelection: function()
returns the current selection asynchronously in case we need to retrieve the details from the server
getSelection: function( callback, layers, startcount )
sets a Selection XML back to the server
setSelection: function( selText, zoomTo )
accumulate the selection results from each map and when all have reported in, pass the results to the callback function
accumulateSelection: function( map, oSelection )
sets the active layer for selection/manipulation
setActiveLayer: function( oLayer )
returns the active layer for selection/manipulation
getActiveLayer: function()
returns the current center of the map view
getCurrentCenter: function()
returns the Extent of the map given a center point and a scale (optional)
getExtentFromPoint: function( fX, fY, fScale )