@JsType(isNative=true) public class Attribution extends Control
Modifier and Type | Method and Description |
---|---|
L |
addAttribution(java.lang.String text)
Adds an attribution text
|
L |
removeAttribution(java.lang.String text)
Removes an attribution text.
|
L |
setPrefix(java.lang.String prefix)
Sets the text before the attributions.
|
addTo, getContainer, getPosition, onAdd, onRemove, removeFrom, setPosition
@JsMethod public L setPrefix(java.lang.String prefix)
prefix
- the prefix@JsMethod public L addAttribution(java.lang.String text)
text
- the text@JsMethod public L removeAttribution(java.lang.String text)
text
- the text