Package org.mapfish.print.map.image
Class ImageLayer.ImageParam
- java.lang.Object
-
- org.mapfish.print.map.AbstractLayerParams
-
- org.mapfish.print.map.image.ImageLayer.ImageParam
-
- Enclosing class:
- ImageLayer
public static final class ImageLayer.ImageParam extends AbstractLayerParams
The parameters for reading an image file, either from the server or from a URL.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
baseURL
The base URL for the image file.double[]
extent
The extent of the image.java.lang.String
imageFormat
The format of the image.java.lang.String
style
The styles to apply to the image.-
Fields inherited from class org.mapfish.print.map.AbstractLayerParams
failOnError, name, opacity
-
-
Constructor Summary
Constructors Constructor Description ImageParam()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBaseUrl()
void
postConstruct()
Validate the properties have the correct values.
-
-
-
Field Detail
-
baseURL
public java.lang.String baseURL
The base URL for the image file. Used for making request.
-
extent
public double[] extent
The extent of the image. Used for placing image on map.
-
style
public java.lang.String style
The styles to apply to the image.
-
imageFormat
public java.lang.String imageFormat
The format of the image. for example image/png, image/jpeg, etc...
-
-