Community Map Builder 27 Apr 2008

Class FeatureSelectHandler

Object
   |
   +--ToolBase
         |
         +--FeatureSelectHandler

class FeatureSelectHandler
extends ToolBase

Defined in FeatureSelectHandler.js

Author: Andreas Hocevar andreas.hocevarATgmail.com


Field Summary
 Object map
          Map for this FeatureSelectHandler.
 Object mbFeatureSelectHandler
          
 Object selectStyle
          
 Object sourceModels
          
   
Fields inherited from class ToolBase
model, toolNode, enabled
 
Constructor Summary
FeatureSelectHandler (toolNode, model)
            Manages mouseover and clicks on vector features in the map.
 
Method Summary
 void clear(objRef)
          
 void configInit(objRef)
           Tool Initialisation - Step 1 of 3.
 void contextInit(objRef)
           Tool Initialisation - Step 2 of 3.
 void dehighlight(objRef, fid)
           Dehighlights the specified feature.
 void highlight(objRef, fid)
           Highlights the specified feature.
 Object init(objRef)
           Tool Initialisation - Step 3 of 3.
 void onClick(evt)
           This method is triggered when a user clicks on a feature.
 void onHover(evt)
           This method is triggered when the mouse is over a feature.
 void onSelect(feature)
           This method is triggered when the mouse is over a vector feature.
 void onUnselect(feature)
           This method is triggered when the mouse is moving out of a vector feature.
 
Methods inherited from class ToolBase
initTargetModel, initMouseHandler, getProperty
 

Field Detail

map

Object map

mbFeatureSelectHandler

Object mbFeatureSelectHandler

selectStyle

Object selectStyle

sourceModels

Object sourceModels

Constructor Detail

FeatureSelectHandler

FeatureSelectHandler(toolNode, model)

Method Detail

clear

void clear(objRef)

configInit

void configInit(objRef)

contextInit

void contextInit(objRef)

dehighlight

void dehighlight(objRef, fid)

highlight

void highlight(objRef, fid)

init

Object init(objRef)

onClick

void onClick(evt)

onHover

void onHover(evt)

onSelect

void onSelect(feature)

onUnselect

void onUnselect(feature)

Community Map Builder 27 Apr 2008

Documentation generated by JSDoc on Sun Apr 27 20:30:54 2008