public class VTileServiceStyle extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LINE |
static String |
POINT |
static String |
POLYGON |
| Constructor and Description |
|---|
VTileServiceStyle() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static com.alibaba.fastjson.JSONObject |
getBackground() |
String |
getBelongService()
所属服务名称
|
String |
getId()
样式标识
|
static com.alibaba.fastjson.JSONArray |
getLayers(String dataServiceName,
String type) |
static com.alibaba.fastjson.JSONArray |
getLineStyle(String color) |
String |
getName()
样式名字
|
static com.alibaba.fastjson.JSONArray |
getPointStyle(String color) |
static com.alibaba.fastjson.JSONArray |
getPolygonStyle(String fillColor,
boolean stroke) |
static com.alibaba.fastjson.JSONObject |
getRenderStyle(String dataServiceName,
String type)
获取默认样式
|
String |
getStyleId()
样式id
|
static com.alibaba.fastjson.JSONObject |
getStyles(String dataServiceName,
String type) |
static com.alibaba.fastjson.JSONObject |
getUnitStyles(String dataServiceName,
String type,
String name,
String query,
String filter,
String color,
boolean stroke) |
int |
hashCode() |
void |
setBelongService(String belongService)
所属服务名称
|
void |
setId(String id)
样式标识
|
void |
setName(String name)
样式名字
|
void |
setStyleId(String styleId)
样式id
|
String |
toString() |
public static final String POINT
public static final String POLYGON
public static final String LINE
public static com.alibaba.fastjson.JSONObject getRenderStyle(String dataServiceName, String type)
dataServiceName - 数据服务名称type - 数据类型public static com.alibaba.fastjson.JSONObject getBackground()
public static com.alibaba.fastjson.JSONArray getLayers(String dataServiceName, String type)
public static com.alibaba.fastjson.JSONObject getStyles(String dataServiceName, String type)
public static com.alibaba.fastjson.JSONObject getUnitStyles(String dataServiceName, String type, String name, String query, String filter, String color, boolean stroke)
public static com.alibaba.fastjson.JSONArray getPointStyle(String color)
public static com.alibaba.fastjson.JSONArray getLineStyle(String color)
public static com.alibaba.fastjson.JSONArray getPolygonStyle(String fillColor, boolean stroke)
public String getId()
public String getStyleId()
public String getName()
public String getBelongService()
public void setId(String id)
public void setStyleId(String styleId)
public void setName(String name)
public void setBelongService(String belongService)
protected boolean canEqual(Object other)
Copyright © 2025. All rights reserved.