metacat/lib/spatial/openlayers/doc/Marker.Box.txt @ 3080
1 |
OpenLayers.Marker.Box |
---|---|
2 |
|
3 |
A different kind of Marker, designed to be added to a Boxes layer instead of a Markers layer. |
4 |
|
5 |
* Constructor |
6 |
OpenLayers.Marker.Box({OpenLayers.Bounds|bounds}, borderColor, borderWidth) -- Set up a box. Defaults are red, with a width of 2. |
7 |
|
8 |
* Methods |
9 |
setBorder(color, width) -- sets properties of border color and width. |
10 |
|