Package org.mapfish.print.map.tiled
Class AbstractTiledLayerParams
java.lang.Object
org.mapfish.print.map.AbstractLayerParams
org.mapfish.print.map.tiled.AbstractTiledLayerParams
- Direct Known Subclasses:
AbstractWMXLayerParams
,OsmLayerParam
Contains the standard parameters for tiled layers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe name of the style (in Configuration or Template) to use when drawing the layer to the map.Fields inherited from class org.mapfish.print.map.AbstractLayerParams
failOnError, name, opacity
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor.protected
Copy constructor. -
Method Summary
-
Field Details
-
rasterStyle
The name of the style (in Configuration or Template) to use when drawing the layer to the map. This is separate from the style in that it indicates how to draw the map. It allows one to apply any of the SLD raster styling.
-
-
Constructor Details
-
AbstractTiledLayerParams
protected AbstractTiledLayerParams()Constructor. -
AbstractTiledLayerParams
Copy constructor.- Parameters:
other
- the object to copy
-
-
Method Details
-
getBaseUrl
Get the base url for all tile requests. For example it might be 'http://server .com/geoserver/gwc/service/wmts'. -
validateBaseUrl
public abstract boolean validateBaseUrl()Validates the provided base url.- Returns:
- True, if the url is valid.
-
createCommonUrl
Create a URL that is common to all image requests for this layer. It will take the base url and append all mergeable and custom params to the base url.- Throws:
URISyntaxException
-