|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
org.gwtopenmaps.openlayers.client.control.ControlOptions
org.gwtopenmaps.openlayers.client.control.MeasureOptions
public class MeasureOptions
| Field Summary |
|---|
| Fields inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper |
|---|
eventListeners |
| Constructor Summary | |
|---|---|
MeasureOptions()
|
|
| Method Summary | |
|---|---|
void |
setHandlerOptions(HandlerOptions options)
Set non-default handler options. |
void |
setPersist(boolean persist)
Keep the temporary measure sketch or not. |
| Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper |
|---|
getListeners, narrowToOpenLayersEObjectWrapper, removeListener |
| Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper |
|---|
getClassName, getEvents, narrowToOpenLayersObjectWrapper |
| Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper |
|---|
getJSObject, setJSObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MeasureOptions()
| Method Detail |
|---|
public void setPersist(boolean persist)
persist - - Set to true to keep the temporary measurement sketch drawn after
the measurement is complete. The geometry will persist until a new
measurement is started, the control is deactivated, or public void setHandlerOptions(HandlerOptions options)
StyleMap.
control.setHandlerOptions(new BaseGeometryHandlerOptions() .setLayerOptions(new HandlerLayerOptions().setStyleMap(styleMap)))
options - - BaseGeometryHandlerOptions or a subclass
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||