MAPPE DELLA SARDEGNA
sardegnamappe api  ›  api documentation  ›  classe
Class framework.RASViewer


Extends gxp.Viewer - See gxp.Viewer.
Visual container
Defined in: RASViewer.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Visual container
Method Summary
Method Attributes Method Name and Description
 
get base url for current application
 
getConfigLayersByName(config, layerName)
 
private: method[getState] :returns: ``Object`` Representation of the app's current state.
 
load custom data from this object configuration an retrieves it
 
 
serialize a json object
 
FeatureLayer serialization
Class Detail
framework.RASViewer()
Visual container
Method Detail
{String} getBaseUrl()
get base url for current application
Returns:
{String} base url for current application

getConfigLayersByName(config, layerName)
Parameters:
config
layerName

getState()
private: method[getState] :returns: ``Object`` Representation of the app's current state.

loadCustomData(config)
load custom data from this object configuration an retrieves it
Parameters:
config

serializableState()

{Object} serialize()
serialize a json object
Returns:
{Object} map definition in json

{objet} serializeFeatureLayer(layer)
FeatureLayer serialization
Parameters:
{OpenLayers.Layer} layer
Returns:
{objet} inside an Array with serialized feature plus layer information
© 2013 Regione Autonoma della Sardegna