public class ImageServerUtils extends java.lang.Object implements ImageServerConstants
AZIMUTH, LAT, LAYERMASK, LAYERS, LON, PAN, PROJTYPE, QUERY, RECENTER, SCALE, X, Y
BBOX, BGCOLOR, CAPABILITIES, CRS, EXCEPTIONS, FORMAT, GETCAPABILITIES, GETFEATUREINFO, GETLEGENDGRAPHIC, GETMAP, HEIGHT, IMAGEFORMAT_GEOTIFF, IMAGEFORMAT_GIF, IMAGEFORMAT_JPEG, IMAGEFORMAT_PNG, IMAGEFORMAT_PPM, IMAGEFORMAT_SVG, IMAGEFORMAT_TIFF, IMAGEFORMAT_WBMP, INFO_FORMAT, LAYER, MAP, QUERY_LAYERS, REQUEST, SERVICE, SRS, STYLE, STYLES, TRANSPARENT, VERSION, WIDTH, WMTVER
Constructor and Description |
---|
ImageServerUtils() |
Modifier and Type | Method and Description |
---|---|
static Proj |
createOMProjection(java.util.Properties props,
Projection defaultProj)
Create an OpenMap projection from the values stored in a Properties
object.
|
static java.awt.Color |
getBackground(java.util.Properties props)
Create a Color object from the properties TRANSPARENT and BGCOLOR
properties.
|
static java.awt.Paint |
getBackground(java.util.Properties props,
java.awt.Paint defPaint)
Create a Color object from the properties TRANSPARENT and BGCOLOR
properties.
|
public static Proj createOMProjection(java.util.Properties props, Projection defaultProj)
public static java.awt.Color getBackground(java.util.Properties props)
props
- the Properties containing background color information.public static java.awt.Paint getBackground(java.util.Properties props, java.awt.Paint defPaint)
props
- the Properties containing background color information.defPaint
- the default Paint to use in case the color isn't defined
in the properties.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details