/** * Gets how often to retrieve the compass heading, in milliseconds. Default value is 100. * * @return double */ public double getFrequency() { return JsoHelper.getAttributeAsDouble(jsObj, "frequency"); }
public CompassOptions() { jsObj = JsoHelper.createObject(); }
/** * Sets how often to retrieve the compass heading, in milliseconds. * * @param value */ public void setFrequency(double value) { JsoHelper.setAttribute(jsObj, "frequency", value); }
private final String _getStyle() { return JsoHelper.getAttribute(jsObj, "style"); }
/** * IDs of map types to show in the control. * * @param values */ private void setMapTypeIds(JsArrayString values) { JsoHelper.setAttribute(jsObj, "mapTypeIds", values); }
/** * One of the three states the reader can be in EMPTY, LOADING or DONE. * * @return */ public int getReadyState() { return JsoHelper.getAttributeAsInt(jsObj, "readyState"); }
private void setStyle(String value) { JsoHelper.setAttribute(jsObj, "style", value); }
public MapTypeControlOptions() { jsObj = JsoHelper.createObject(); }
private final String _getPosition() { return JsoHelper.getAttribute(jsObj, "position"); }
/** * An object containing errors * * @return */ public FileError getError() { return new FileError(JsoHelper.getAttributeAsJavaScriptObject(jsObj, "error")); }
public MaxZoomResult() { jsObj = JsoHelper.createObject(); }
/** * The current position of the file pointer * * @return */ public double getPosition() { return JsoHelper.getAttributeAsDouble(jsObj, "position"); }
/** * The length of the file to be written. * * @return */ public double getLength() { return JsoHelper.getAttributeAsDouble(jsObj, "length"); }
/** * The name of the file to be written * * @return */ public String getFileName() { return JsoHelper.getAttribute(jsObj, "fileName"); }
/** * Sets the change in degrees required to initiate a watchHeading success callback. * * @param value */ public void setFilter(double value) { JsoHelper.setAttribute(jsObj, "filter", value); }
private final void setPosition(String value) { JsoHelper.setAttribute(jsObj, "position", value); }
/** * Gets the change in degrees required to initiate a watchHeading success callback. * * @return double */ public double getFilter() { return JsoHelper.getAttributeAsDouble(jsObj, "filter"); }
public MapType() { jsObj = JsoHelper.createObject(); }