Namespace: Cadcorp

Cadcorp

The root namespace for all Cadcorp code

Classes

Binder
GeognoSIS8AdditionalFileLayer

Namespaces

Control
Framework
GeognoSIS
GeognoSIS
UI
Util

Methods

(static) namespace(namespace, namespaceobjectopt)

Creates the specified namespace if it does not exist. The namespace supplied should be a '.' delimited list of required namespaces. All the namespaces in the string will be created.

Cadcorp.namespace('Cadcorp.Util');
Will create the Util namespace in the Cadcorp namespace
Parameters:
Name Type Attributes Description
namespace string The namespace to create.
namespaceobject Object <optional>
The object to add the namespace to

Type Definitions

GeognoSIS8AdditionalFileLayerConfig

Configutation object for Cadcorp.GeognoSIS8AdditionalFileLayer
Type:
  • Object
Properties:
Name Type Description
name string The display name for the layer
path string The path to the layer
mapUrl string The url to the map in GeognoSIS
layer Cadcorp.OpenLayers.Layer.GeognoSISRest The layer that owns this file base layer

Icon

Cadcorp Icon
Type:
  • Object
Properties:
Name Type Description
file string The url to the image for this icon
id string The id for this icon
height number The height, in pixels, of this icon
width number The width, in pixels, of this icon
offsetx number The x offset, distance in pixels to offset the image when being rendered
offsety number The y offset, distance in pixels to offset the image when being rendered

SerialisableLayer

Serialisable additional Layer
Type:
  • Object
Properties:
Name Type Description
name string The display name for the layer
path string The path to the layer
CLASS_NAME string The type of object

SerialisableWMSLayer

Serialisable WMS Layer
Type:
  • Object
Properties:
Name Type Description
name string The display name for the layer
url string The base url for the wms
params Object An object with key/value pairs representing the GetMap query string parameters and parameter values.
options Object Hashtable of extra options to tag onto the layer. These options include all properties available for OpenLayers.Layer.WMS.
CLASS_NAME string The type of object