Class IWLayerInfoManager

Implemented by IWMap, manages event and data handling for layers.

Author: KUN, JAN

Constructor Summary
IWLayerInfoManager(map)
            Can add IWRequestLayer, they will start to throw 'ondatareceive' events.
 
Method Summary
 boolean addRequestLayer(requestLayer)
           Adds a requestLayer.
 IWPoint getCaptureOffset()
           Returns the capture offset.
 IWSize getCaptureSize()
           Returns the capture size.
 Object getMaximumHits()
           Returns maximum hits for given layer.
 boolean removeRequestLayer(requestLayer)
           Removes a requestLayer
 void setCaptureOffset(offset)
           Sets the capture offset.
 void setCaptureSize(newCaptureSize)
           Sets the capture size of the GetIdentifyInfo mapserver request. of 35 x 35 pixel. The capture size must be set equal or greater than the largest image size which will be drawn on the map. If the largest image has a dimension of 30 x of 30 pixels, then also the capture size must be adjusted to this size.
  setMaximumHits(maxHits)
           Defines maximum hits per layer.
 String toString()
           Returns a string representation of this object.
 
Event Summary
 void triggerOnDataReceive(event)
           The onDataReceive event is fired when data is received.

Register an event listener with IWEventManager.addListener(map.getLayerInfoManager(), 'ondatareceive', yourHandlerMethod(event)); to receive the event.

 
Constructor Detail

IWLayerInfoManager

IWLayerInfoManager(map)

Method Detail

addRequestLayer

boolean addRequestLayer(requestLayer)

getCaptureOffset

IWPoint getCaptureOffset()

getCaptureSize

IWSize getCaptureSize()

getMaximumHits

Object getMaximumHits()

removeRequestLayer

boolean removeRequestLayer(requestLayer)

setCaptureOffset

void setCaptureOffset(offset)

setCaptureSize

void setCaptureSize(newCaptureSize)

setMaximumHits

 setMaximumHits(maxHits)

toString

String toString()

Event Detail

triggerOnDataReceive

void triggerOnDataReceive(event)

Source-Code Copyright 2007-2009 infoware GmbH - Documentation generated by JsDoc Toolkit 1.4.1 on Tue Nov 28 2017 09:51:51 GMT+0100 (MEZ)