Bind a function to an object.
bind: function( func, object )
This is the loadCheck method to see if the projection code is loaded
checkCodeLoaded: function( projName )
This is the loadCheck method to see if the def object exists
checkDefsLoaded: function()
IE workaround since there is no onerror handler.
checkReadyState: function()
Base class used to construct all other classes.
Class: function()
createAreaMeasureControl: function()
Create and return an {mapfish.widgets.LayerTree}
createLayerTree: function( config )
createLengthMeasureControl: function()
Create and return an {OpenLayers.Map} and place a vector drawing layer {OpenLayers.Layer.Vector} on top
createMap: function( config )
Create and return an {GeoExt.MapPanel} and create an {OpenLayers.Map} if it doesn’t exist
createMapPanel: function( config )
Create the permalink parameters
createParams: function( center, zoom, layers )
Create and return an array of functions.
createToolbar: function( config )
Report an error in loading the defs file, but continue on using WGS84
defsFailed: function()
Continues the Proj object initilization once the def file is loaded
defsLoaded: function()
Sets several derived constant values and initialization of datum and ellipse parameters.
deriveConstants: function()
Set the permalink value
draw: function()
Copy all properties of a source object to a destination object.
extend: function( destination, source )
Return the path to this script.
getScriptLocation: function ()
Highlight features in the map
highlightObjects: function( layer, ids )
Constructor for Proj4js.Proj objects
initialize: function( srsCode )
Finalize the initialization of the Proj object
initTransforms: function()
Creates the REST URL for loading the definition from a web service and loads it.
loadFromService: function()
Loads projection class code dynamically if required.
loadProjCode: function( projName )
Loads any proj dependencies or continue on to final initialization.
loadProjCodeSuccess: function( projName )
Loads the coordinate system initialization string if required.
loadProjDefinition: function()
Load a JS file from a URL into a script tag in the page.
loadScript: function( url, onload, onfail, loadCheck )
Parses the PROJ.4 initialization string and sets the associated properties.
parseDefs: function()
Recenter map based on list of features
recenterOnObjects: function( layer, ids )
An internal method to report errors back to user.
reportError: function( msg )
Set the map base on the layer nodes, the map center and the zoom level
setMap: function( map )
Recenter and highlight a list of features
showFeatures: function( layer, ids )
Show a feature tooltip.
showFeatureTooltip: function( config )
Show a marker in the map and associate a popup if an html content is provided
showMarker: function( options )
Shows a {GeoExt.Popup}
showPopup: function( options )
Transform a point coordinate from one map projection to another.
transform: function( source, dest, point )
Update the permalink according to the layer tree
updateLayerTreeFromPermalink: function()
Update the permalink
updateLink: function()