public static class Legend.Parameters
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static Legend.Parameters |
create() |
void |
setArrangement(Legend.LegendAlignment align)
Specify the alignment of the legend within the HTML element where the legend is
rendered.
|
void |
setLayerInfos(Legend.LayerInfo layerInfo)
Specify a subset of the layers in the map to display in the legend.
|
void |
setMap(MapWidget map)
Reference to the map.
|
void |
setRespectCurrentMapScale(boolean respectScale)
Optional.
|
public static Legend.Parameters create()
public final void setArrangement(Legend.LegendAlignment align)
align
- public final void setLayerInfos(Legend.LayerInfo layerInfo)
layerInfo
- public final void setMap(MapWidget map)
map
- public final void setRespectCurrentMapScale(boolean respectScale)
respectScale
-