public class Geoscoping extends Object implements Scoping
| Switch | Controlled state | Default |
|---|---|---|
| s | The scoping state. A colon-separated list of three numbers: 1) the zoom level; 2) the x cooridinate in meters; and 3) the y coordinate in meters. | "2:0:0" |
Scoping| Constructor and Description |
|---|
Geoscoping(Geomap _geomap,
Spool spool)
Constructs a Geoscoping.
|
| Modifier and Type | Method and Description |
|---|---|
HandlerRegistration |
addHandler(ScopeChangeHandler handler)
Registers a handler to receive change events fired from this scoping model.
|
boolean |
inScope(BiteJS bite)
Tests whether the specified bite is within the current scope.
|
String |
toString() |
public Geoscoping(Geomap _geomap, Spool spool)
_geomap - the geomap whose viewport controls the scoping switch.spool - the spool for the release of associated holds. When unwound it
releases the holds of the scoping model and thereby disables it.public boolean inScope(BiteJS bite)
public HandlerRegistration addHandler(ScopeChangeHandler handler)
ScopingaddHandler in interface ScopingScopeChangeEvent.addHandler(ScopeChangeHandler)