/** * The separator between the Longitude and the Latitude. * * Default separator is ", ". * */ public void setSeparator(String separator){ getJSObject().setProperty("separator", separator); }
/** * Text displayed before coordinates: * * prefixHere 0.00000, 0.0000 * */ public void setPrefix(String prefix){ getJSObject().setProperty("prefix", prefix); }
/** * Text displayed before coordinates: * * prefixHere 0.00000, 0.0000 * */ public void setPrefix(String prefix) { getJSObject().setProperty("prefix", prefix); }
/** * Text displayed after coordinates: * * 0.00000, 0.0000 suffixHere * */ public void setSuffix(String suffix){ getJSObject().setProperty("suffix", suffix); }
/** * Text displayed after coordinates: * * 0.00000, 0.0000 suffixHere * */ public void setSuffix(String suffix) { getJSObject().setProperty("suffix", suffix); }
/** * * Default granularity is 10. * */ public void setGranularity(int granularity) { getJSObject().setProperty("granularity", granularity); }
/** * The number of digits to display in the fractional part of * decimal LonLat coordinates. * * For example 3.14 has 2 digits in it's fractional part. * * Default number of fractional digits displayed is 5. * */ public void setNumDigits(int numDigits){ getJSObject().setProperty("numDigits", numDigits); }
/** * * @param options - * @since GWT-OL 0.4 */ public MousePosition(MousePositionOptions options) { this(MousePositionImpl.create(options.getJSObject())); }
/** * * @param options - * @since GWT-OL 0.4 */ public MousePosition(MousePositionOptions options) { this(MousePositionImpl.create(options.getJSObject())); }
/** * * Default granularity is 10. * */ public void setGranularity(int granularity){ getJSObject().setProperty("granularity", granularity); }
/** * The separator between the Longitude and the Latitude. * * Default separator is ", ". * */ public void setSeparator(String separator) { getJSObject().setProperty("separator", separator); }
/** * The number of digits to display in the fractional part of * decimal LonLat coordinates. * * For example 3.14 has 2 digits in it's fractional part. * * Default number of fractional digits displayed is 5. * */ public void setNumDigits(int numDigits) { getJSObject().setProperty("numDigits", numDigits); }
getJSObject().setProperty("formatOutput", MousePositionImpl.formatOutput(output));
getJSObject().setProperty("formatOutput", MousePositionImpl.formatOutput(output));