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, zoomToFeaturesDEFAULT_PROJECTION, dpiSensitiveStyle, height, longitudeFirst, projection, rotation, useAdjustBounds, useNearestScale, width| Constructor and Description |
|---|
OverriddenMapAttributeValues(MapAttribute.MapAttributeValues params,
OverviewMapAttribute.OverviewMapAttributeValues paramOverrides,
Template template)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MapBounds |
getCustomBounds()
Custom bounds for the overview-map.
|
java.lang.Double |
getDpi()
Return the DPI value for the map.
|
java.util.List<MapLayer> |
getLayers() |
MapBounds |
getMapBounds()
The bounds used to render the overview-map.
|
MapBounds |
getOriginalBounds()
The bounds of the original map that this overview-map is associated to.
|
java.lang.Double |
getRotation()
Gets the rotation.
|
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, getZoomSnapGeodetic, postConstruct, recalculateBounds, setMapBounds, setRawLayersgetDpiSuggestions, getHeight, getMapSize, getTemplate, getValueOr, getWidth, isDpiSensitiveStyle, parseProjectionpublic OverriddenMapAttributeValues(MapAttribute.MapAttributeValues params, OverviewMapAttribute.OverviewMapAttributeValues 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 getCustomBounds()
public 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()
GenericMapAttribute.GenericMapAttributeValuesgetRotation 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