Class Dmp.Layer.TileLayer


Extends .
TileLayers. If a display property is changed, application MUST call [LAYER].refresh() or [MAP].refresh()

Class Summary
Constructor Attributes Constructor Name and Description
 
Dmp.Layer.TileLayer(id, connectionId, resourceName, params)
Method Summary
Method Attributes Method Name and Description
 
attr(property, val)
Sets 'property' if 'val' is provided, returns 'property' otherwise
 
draw()
must be manually called (through refresh()) after a property change
 
Used at the application level.
Class Detail
Dmp.Layer.TileLayer(id, connectionId, resourceName, params)
Parameters:
{String} id
{String} connectionId
{String} resourceName
{Object} params
Throws:
id/connectionId is null or not a string
Returns:
instance
Requires:
Method Detail
attr(property, val)
Sets 'property' if 'val' is provided, returns 'property' otherwise
Parameters:
{Object} property
{Object} val
Returns:
[property] if val is null
draw()
must be manually called (through refresh()) after a property change
refresh()
Used at the application level. Must be called after a property is changed for correct layer behavior