public class ShapeLayerPropertiesHandler
extends java.lang.Object
| Constructor and Description |
|---|
ShapeLayerPropertiesHandler() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Properties |
getProperties() |
static java.util.Properties |
getProperties(java.lang.String name,
java.lang.String shapefile) |
static java.util.Properties |
getProperties(java.lang.String name,
java.lang.String shapefile,
java.lang.String fillColor) |
static java.util.Properties |
getProperties(java.lang.String name,
java.lang.String shapefile,
java.lang.String fillColor,
int overviewLineWidth,
int lineWidthThreshold) |
static java.util.Properties |
getProperties(java.lang.String name,
java.lang.String shapefile,
java.lang.String fillColor,
int overviewLineWidth,
int lineWidthThreshold,
java.lang.String lineColor) |
public static java.util.Properties getProperties()
public static java.util.Properties getProperties(java.lang.String name,
java.lang.String shapefile)
name - A pretty name for the shape layer (required)shapefile - The path of the shapefile without the .shp file extension
(required)public static java.util.Properties getProperties(java.lang.String name,
java.lang.String shapefile,
java.lang.String fillColor)
name - A pretty name for the shape layer (required)shapefile - The path of the shapefile without the .shp file extension
(required)fillColor - The area color. Can be null if you only want an outline.public static java.util.Properties getProperties(java.lang.String name,
java.lang.String shapefile,
java.lang.String fillColor,
int overviewLineWidth,
int lineWidthThreshold)
name - A pretty name for the shape layer (required)shapefile - The path of the shapefile without the .shp file extension
(required)fillColor - The area color. Can be null if you only want an outline.overviewLineWidth - This is the width of the lines as long as the scale is greater
than the lineWidthThreshold. Set to -1 if you want openmap
default value.lineWidthThreshold - If map scale goes below this value, then the line with is
increased for easier viewing. Disable this feature by passing
-1.public static java.util.Properties getProperties(java.lang.String name,
java.lang.String shapefile,
java.lang.String fillColor,
int overviewLineWidth,
int lineWidthThreshold,
java.lang.String lineColor)
name - A pretty name for the shape layer (required)shapefile - The path of the shapefile without the .shp file extension
(required)fillColor - The area color. Can be null if you only want an outline.overviewLineWidth - This is the width of the lines as long as the scale is greater
than the lineWidthThreshold. Set to -1 if you want openmap
default value.lineWidthThreshold - If map scale goes below this value, then the line with is
increased for easier viewing. Disable this feature by passing
-1.lineColor - The line color. If null, then it defaults to black.