Class GSRubberbandControl

Extends GSControl.

A control that allows the user to select the area of the map to be viewed by dragging a rectangle around it.

Class Summary
Constructor Attributes Constructor Name and Description
 
Properties borrowed from class GSControl:
parentPositioned
Methods borrowed from class GSControl:
getDefaultPosition, getHeight, getOrientation, getPosition, getWidth, hide, remove, render, show
Class Detail
GSRubberbandControl(options)
Parameters:
{Object} options Optional
an object literal specifying optional parameters for control initialization:
{String} options.modifierKey
specifies the modifier key that should be used in conjunction with the mouse click in order to initiate dragging the selection rectangle
{String} options.fill
the color of the interior of the selection rectange. It takes a paint value which may be none indicating that no paint is applied, or a color value specified using either an HTML4 keyword, RGB hex value, or rgb(...) functional value
{int} options.fillOpacity
specifies the opacity of the selection rectange fill color. Accepts a value from 0 (fully transparent) to 100 (fully opaque)
{String} options.stroke
the color of the border of the selection rectangle. It takes a paint value which may be none indicating that no paint is applied, or a color value specified using either an HTML4 keyword, RGB hex value, or rgb(...) functional value
{int} options.strokeWidth
the width of the stroke of the selection rectangle

Documentation generated by JsDoc Toolkit 2.3.2 on Wed Mar 07 2012 11:47:29 GMT+1300 (NZDT)