public class MapAttribute.OverriddenMapAttributeValues extends MapAttribute.MapAttributeValues
MapAttribute.MapAttributeValues instance and an
OverviewMapAttribute.OverviewMapAttributeValues instance,
which is used to render the overview map.
If attributes on the OverviewMapAttribute.OverviewMapAttributeValues instance are set, those
attributes will be returned, otherwise the ones on MapAttribute.MapAttributeValues.areaOfInterest, bbox, center, dpi, layers, scale, zoomToFeaturesdpiSensitiveStyle, longitudeFirst, projection, rotation, useAdjustBounds, useNearestScale| Constructor and Description |
|---|
MapAttribute.OverriddenMapAttributeValues(MapAttribute.MapAttributeValues params,
GenericMapAttribute.GenericMapAttributeValues paramOverrides,
Template template)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getDpi()
Return the DPI value for the map.
|
java.util.List<MapLayer> |
getLayers() |
MapBounds |
getMapBounds() |
MapBounds |
getOriginalBounds() |
java.lang.Double |
getRotation() |
ZoomLevels |
getZoomLevels() |
ZoomLevelSnapStrategy |
getZoomLevelSnapStrategy() |
java.lang.Double |
getZoomSnapTolerance() |
java.lang.Boolean |
isUseAdjustBounds()
Return true if requestData has useNearestScale and configuration has some zoom levels defined.
|
java.lang.Boolean |
isUseNearestScale()
Return true if requestData has useNearestScale and configuration has some zoom levels defined.
|
void |
setMapExtentLayer(MapLayer mapExtentLayer) |
void |
setZoomedOutBounds(MapBounds zoomedOutBounds) |
copy, getProjection, getRawLayers, getWithOverrides, postConstruct, recalculateBounds, setMapBoundsgetDpiSuggestions, getMapSize, getRequestorDPI, getTemplate, isDpiSensitiveStyle, parseProjectionpublic MapAttribute.OverriddenMapAttributeValues(MapAttribute.MapAttributeValues params, GenericMapAttribute.GenericMapAttributeValues paramOverrides, Template template)
params - The fallback parameters.paramOverrides - The parameters explicitly defined for the overview map.template - The template this map is part of.public final MapBounds getMapBounds()
getMapBounds in class MapAttribute.MapAttributeValuespublic final MapBounds getOriginalBounds()
public final void setZoomedOutBounds(MapBounds zoomedOutBounds)
public final java.lang.Double getDpi()
GenericMapAttribute.GenericMapAttributeValuesgetDpi in class MapAttribute.MapAttributeValuespublic final java.lang.Double getZoomSnapTolerance()
getZoomSnapTolerance in class MapAttribute.MapAttributeValuespublic final ZoomLevelSnapStrategy getZoomLevelSnapStrategy()
getZoomLevelSnapStrategy in class MapAttribute.MapAttributeValuespublic final ZoomLevels getZoomLevels()
getZoomLevels in class GenericMapAttribute.GenericMapAttributeValuespublic final java.lang.Double getRotation()
getRotation in class MapAttribute.MapAttributeValuespublic final java.lang.Boolean isUseAdjustBounds()
GenericMapAttribute.GenericMapAttributeValuesisUseAdjustBounds in class MapAttribute.MapAttributeValuespublic final java.lang.Boolean isUseNearestScale()
GenericMapAttribute.GenericMapAttributeValuesisUseNearestScale in class MapAttribute.MapAttributeValuespublic final void setMapExtentLayer(MapLayer mapExtentLayer)
public final java.util.List<MapLayer> getLayers()
getLayers in class GenericMapAttribute.GenericMapAttributeValues