Community Map Builder 27 Apr 2008

Class GLOBALS

Object
   |
   +--GLOBALS

class GLOBALS

 
Method Summary
<static> void addEvent(elementObject, eventName, functionObject)
           attach an event to an element.
<static> Object AsciiToNum( ascii )
          
<static> void checkIESecurity()
           copied from sarissa, a function to check browser security setting in IE, opens a help page if ActiveX objects are disabled.
<static> void debug(output)
           write debugging info to a textbox onscreen.
<static> Object degToRad(deg)
          
<static> Object formatMGRS()
          
<static> Object formatNumber(aNumber, numDecimals)
          
<static> Object get100kID( easting, northing, zone_number)
           Get the two letter 100k designator for a given UTM easting, northing and zone number value.
<static> Object get100kSetForZone(i)
           Given a UTM zone number, figure out the MGRS 100K set it is in.
<static> Object getAbsPos(elt,which)
           TBD: Comment me.
<static> Object getAbsX(elt)
          
<static> Object getAbsY(elt)
           get the absolute position of HTML element NS4, IE4/5 & NS6, even if it's in a table.
<static> Object getArgs()
           parse comma-separated name=value argument pairs from the query string of the URL; the function stores name=value pairs in properties of an object and returns that object.
<static> Object getGeoCoordX(context, xCooord)
           convert screen x coordinate to geographic coordinate.
<static> Object getGeoCoordY(yCoord)
           convert screen coordinate to screen coordinate.
<static> Object getLetter100kID( column, row, parm)
           Get the two-letter MGRS 100k designator given information translated from the UTM northing, easting and zone number.
<static> Object getLetterDesignator(lat)
          
<static> Object getNodeValue(sResult)
           getNodevalue return value of node it as OpenLayers style
<static> Object getPageX(e)
           get the absolute position of a user event (e.g., a mousedown).
<static> Object getPageY(e)
           get the absolute position of a user event (e.g., a mousedown).
<static> Object getProxyPlusUrl(url)
           If URL is local, then return URL unchanged, else return URL of http://proxy?url=URL , or null if proxy not defined.
<static> Object getScreenX(context, xCoord)
           convert geographic x coordinate to screen coordinate.
<static> Object getScreenY(context, yCoord)
           convert geographic y coordinate to screen coordinate.
<static> void handleEventWithObject(evt)
           handle event attached to an object.
<static> Object imageLoaded()
          
<static> Object LLtoUTM()
           Converts a set of Longitude and Latitude co-ordinates to UTM given an ellipsoid
<static> void loadCss(cssFileName)
           Dynamically loads a stylesheet into the html page.
<static> Object makeElt(type)
           create an element and append it to the document body element.
<static> void mapbuilderInit()
           Initialise Mapbuilder if script has been loaded, else wait to be called again.
<static> void mbDebugMessage(object, message)
           Show a message if the debug property of the object has been set.
<static> void mbDoLoad(initFunction)
           Mapbuilder's main initialisation script.
<static> Object mbFormatMessage(messageFormat)
           Format a message with the extra arguments.
<static> Object mbGetMessage(messageKey)
           Get a message from the widgetText file and format it if extra arguments are passed.
<static> Object MGRS()
          
<static> Object NumToAscii( num )
          
<static> Object openPopup(url, width, height)
           open a popup window, adapted from http://www.quirksmode.org/js/croswin.html
<static> Object postGetLoad(sUri, docToSend, contentType , dir, fileName)
           A more flexible interface for loading docs that allows POST et GET param for save model
<static> Object postLoad(sUri, docToSend, contentType )
           A more flexible interface for loading docs that allows POST and async loading
<static> Object returnTarget(evt)
           determine and return the target element of an event.
<static> Object sld2OlStyle(node)
           extract a style from a SLD node of an XML doc and return it as OpenLayers style
<static> Object sld2UrlParam(node)
           extract a style from a SLD node of an XML doc and return it as url parameter for a WMS request
<static> Object styleValue(aSelector, styleKey)
          


Method Detail

addEvent

<static> void addEvent(elementObject, eventName, functionObject)

AsciiToNum

<static> Object AsciiToNum( ascii )

checkIESecurity

<static> void checkIESecurity()

debug

<static> void debug(output)

degToRad

<static> Object degToRad(deg)

formatMGRS

<static> Object formatMGRS()

formatNumber

<static> Object formatNumber(aNumber, numDecimals)

get100kID

<static> Object get100kID( easting, northing, zone_number)

get100kSetForZone

<static> Object get100kSetForZone(i)

getAbsPos

<static> Object getAbsPos(elt,which)

getAbsX

<static> Object getAbsX(elt)

getAbsY

<static> Object getAbsY(elt)

getArgs

<static> Object getArgs()

getGeoCoordX

<static> Object getGeoCoordX(context, xCooord)

getGeoCoordY

<static> Object getGeoCoordY(yCoord)

getLetter100kID

<static> Object getLetter100kID( column, row, parm)

getLetterDesignator

<static> Object getLetterDesignator(lat)

getNodeValue

<static> Object getNodeValue(sResult)

getPageX

<static> Object getPageX(e)

getPageY

<static> Object getPageY(e)

getProxyPlusUrl

<static> Object getProxyPlusUrl(url)

getScreenX

<static> Object getScreenX(context, xCoord)

getScreenY

<static> Object getScreenY(context, yCoord)

handleEventWithObject

<static> void handleEventWithObject(evt)

imageLoaded

<static> Object imageLoaded()

LLtoUTM

<static> Object LLtoUTM()

loadCss

<static> void loadCss(cssFileName)

makeElt

<static> Object makeElt(type)

mapbuilderInit

<static> void mapbuilderInit()

mbDebugMessage

<static> void mbDebugMessage(object, message)

mbDoLoad

<static> void mbDoLoad(initFunction)

mbFormatMessage

<static> Object mbFormatMessage(messageFormat)

mbGetMessage

<static> Object mbGetMessage(messageKey)

MGRS

<static> Object MGRS()

NumToAscii

<static> Object NumToAscii( num )

openPopup

<static> Object openPopup(url, width, height)

postGetLoad

<static> Object postGetLoad(sUri, docToSend, contentType , dir, fileName)

postLoad

<static> Object postLoad(sUri, docToSend, contentType )

returnTarget

<static> Object returnTarget(evt)

sld2OlStyle

<static> Object sld2OlStyle(node)

sld2UrlParam

<static> Object sld2UrlParam(node)

styleValue

<static> Object styleValue(aSelector, styleKey)

Community Map Builder 27 Apr 2008

Documentation generated by JSDoc on Sun Apr 27 20:30:54 2008