Namespace object for Oscar eXchange object.
This class represents a Theme from Oscar eXchange Format
| Properties | |
| layers | |
| selectionLayers | |
| displayOrder | |
| name | |
| srs | |
| projection | |
| isActive | |
| services | |
| covers | |
| Constructor | |
| oscar. | |
| Functions | |
| addLayer | Adds an {oscar.ox.Layer} to the theme object. |
| hasSelectionService | Returns: {Boolean} whether a selection service is available. |
| getSelectionService | Returns: {Object} serviceEntries the selection service. |
| getSelectionService | Returns: {Array} oscar.ogc.CatalogueService An array of catalogue services. |
| hasCatalogueService | Returns: {Boolean} whether a catalogue service is available. |
| hasExtractionService | Returns: {Boolean} whether an extraction service is available. |
| getExtractionService | Returns: {Object} serviceEntries the extraction service. |
| getDefaultCover | Returns: {Object} a default cover or null. |
| getMaxCover | Returns: {Object} the max extent cover. |
| Constants | |
| CLASS_NAME - oscar. |
addLayer : function( oxLayer )
Adds an {oscar.ox.Layer} to the theme object.
| Parameters: oxLayer | {oscar.ox.Layer} the layer to be added. |
This class represents a Layer from Oscar eXchange Format.
| Properties | |
| baseLayer | |
| displayOrder | |
| dataLayers | |
| layerId | |
| layerType | |
| name | |
| parameters | |
| urls | |
| Constructor | |
| oscar. | |
| Functions | |
| addDataLayer Adds an {<oscar. | dataLayers array. |
| addUrl Adds a url source to the urls object. | |
| toMapLayer | Returns: {Object} olLayer which inherits from <OpenLayers.Layer> and is able to be added to an <OpenLayers.Map> object. |
| Constants | |
| CLASS_NAME - oscar. |
dataLayers array.
| Parameters: dataLayer | an {oscar.ox.DataLayer} object. |
Represents a type of Service containing an array of ServiceEntry objects.
| Properties | |
| serviceEntries | An array of oscar.ox.ServiceEntry objects. |
| Constructor | |
| oscar. | |
| Functions | |
| getServiceEntries | Returns an array of service entry objects. |
| getServiceEntry | Returns a specified service entry. |
| Constants | |
| CLASS_NAME - oscar. |
An array of oscar.ox.ServiceEntry objects.
getServiceEntries : function()
Returns an array of service entry objects.
| Returns: {Array} | An array of oscar.ox.ServiceEntry objects. |
getServiceEntry : function( index )
Returns a specified service entry.
| Parameters: index | {Number} The index of the oscar.ox.ServiceEntry to return. |
| Returns: {oscar.ox.ServiceEntry} | A ServiceEntry object. |
Represents the selection service from Oscar eXchange Format.
Inherits from: oscar.ox.Service
Represents the extraction service from Oscar eXchange Format.
Inherits from: oscar.ox.Service
An object containing connection information for a service.
| Properties | |
| url | {String} The URL of the service. |
| version | {String} The version of the service. |
| serviceType | {String} Type of the service. |
| format | {String} |
| identifiers | {Array{String}} |
| geometryName | {String} the geometry property name of the current server. |
| Constructor | |
| oscar. | |
| Constants | |
| CLASS_NAME - oscar. |
Adds an {oscar.ox.Layer} to the theme object.
addLayer : function( oxLayer )
Returns: {Boolean} whether a selection service is available.
hasSelectionService : function()
Returns: {Object} serviceEntries the selection service.
getSelectionService : function()
Returns: {Boolean} whether a catalogue service is available.
hasCatalogueService : function()
Returns: {Boolean} whether an extraction service is available.
hasExtractionService : function()
Returns: {Object} serviceEntries the extraction service.
getExtractionService : function()
Returns: {Object} a default cover or null.
getDefaultCover : function()
Returns: {Object} the max extent cover.
getMaxCover : function()
Returns: {Object} olLayer which inherits from OpenLayers.Layer and is able to be added to an OpenLayers.Map object.
toMapLayer : function( map )
Returns an array of service entry objects.
getServiceEntries : function()
Returns a specified service entry.
getServiceEntry : function( index )