public static class PrintTemplate.LayoutOptions
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static PrintTemplate.LayoutOptions |
create() |
void |
setAuthorText(java.lang.String authorText)
Set the authorText parameter.
|
void |
setCopyrightText(java.lang.String copyrightText)
Set the copyrightText parameter.
|
void |
setCustomTextElement(java.lang.String parameter,
java.lang.String value) |
void |
setLegendLayers(java.lang.String[] legendLayers)
Set the legendLayers parameter.
|
void |
setScalebarUnit(java.lang.String scalebarUnit)
Set the scalebarUnit parameter.
|
void |
setTitleText(java.lang.String titleText)
Set the titleText parameter.
|
public static PrintTemplate.LayoutOptions create()
public final void setTitleText(java.lang.String titleText)
titleText
- - The text used for the map title if the specified layout contains a title text element.public final void setAuthorText(java.lang.String authorText)
authorText
- - The text used for the author if the specified layout contains an author text element.public final void setCopyrightText(java.lang.String copyrightText)
copyrightText
- - The text used for the copyright if the specified layout contains an copyright text element.public final void setScalebarUnit(java.lang.String scalebarUnit)
scalebarUnit
- - The units used for the scalebar. Valid values are 'Miles' | 'Kilometers' | 'Meters' | 'Feet'public final void setCustomTextElement(java.lang.String parameter, java.lang.String value)
public final void setLegendLayers(java.lang.String[] legendLayers)
legendLayers
- - An array of strings containing the id's of the layers that will be included in the legend. If
legendLayers is not specified, all operational layers will be present in the legend. To specify that no layers will
be included in the legend set legendLayers to an empty array.