Community Map Builder 27 Apr 2008

Class Mapbuilder

Object
   |
   +--Mapbuilder

class Mapbuilder

Defined in Mapbuilder.js

Requires:

Author: Cameron Shorter


Field Summary
 Object loadingScripts
          Array of objects that are loading.
 Object loadOrdered
          
 Object loadState
          Determines which Mapbuilder scripts are loading.
 Object orderedScripts
          Array of scripts that have to be loaded ordered
 Object scriptLoader
          Timer to load ordered scripts
 Object scriptsTimer
          Timer to periodically check if scripts have loaded.
<static>  Object Popup
          Derived from OpenLayers.Popup (svn r6430) and OpenLayers.Popup.Anchored (svn r5614), this class preserves the functionality of OpenLayers.Popup.Anchored before the new style popups of http://trac.openlayers.org/ticket/926 were introduced.
 
Constructor Summary
Mapbuilder ()
            This Object bootstraps the Mapbuilder libraries by loading the core script files.
 
Method Summary
 void checkScriptsLoaded()
           Called periodically and moves onto the next loadState when this round of scripts have loaded.
 void checkScriptState(script)
           readyState handler for scripts - IE only.
 void doLoadScript(script)
           starts script loading by adding the script node to the dom tree - IE only.
 void loadNextScript()
           loads one script after another - only for IE.
 void loadScript(url)
           Dynamically load a script file if it has not already been loaded.
 void loadScriptsFromXpath(nodes,dir)
           Internal function to load scripts for components that don't have specified in the config file.
 void setLoadState(newState)
           Move onto loading the next set of scripts.
<static> Object getProperty(domNode, propertyName, defaultValue)
           Convenience method that is used to parse dom nodes.
<static> Object parseBoolean(value)
           Convenience method to parse a string or number as a boolean value

Field Detail

loadingScripts

Object loadingScripts

loadOrdered

Object loadOrdered

loadState

Object loadState

orderedScripts

Object orderedScripts

scriptLoader

Object scriptLoader

scriptsTimer

Object scriptsTimer

Popup

<static> Object Popup

Constructor Detail

Mapbuilder

Mapbuilder()

Method Detail

checkScriptsLoaded

void checkScriptsLoaded()

checkScriptState

void checkScriptState(script)

doLoadScript

void doLoadScript(script)

loadNextScript

void loadNextScript()

loadScript

void loadScript(url)

loadScriptsFromXpath

void loadScriptsFromXpath(nodes,dir)

setLoadState

void setLoadState(newState)

getProperty

<static> Object getProperty(domNode, propertyName, defaultValue)

parseBoolean

<static> Object parseBoolean(value)

Community Map Builder 27 Apr 2008

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