public class JSONMapper
extends java.lang.Object
构造器和说明 |
---|
JSONMapper(FeatureCollection geoJSON) |
限定符和类型 | 方法和说明 |
---|---|
static JSONMapper |
addJSONMapper(JSONMapper a,
JSONMapper b) |
java.util.Set<java.lang.String> |
calculateAreaNames()
获取所有区域的所有坐标
|
java.util.Map<java.lang.String,java.util.List<java.lang.Object>> |
calculateCenter() |
java.util.Map<java.lang.String,java.util.List<java.util.List<java.util.List<double[]>>>> |
calculateOrderCoordinates() |
java.util.Map<java.lang.String,double[]> |
calculatePointAreaNameLngLat()
获取所有点的区域名经纬度
|
java.lang.String |
getEmbID() |
FeatureCollection |
getGeoJSON() |
int |
getImageHeight() |
java.lang.String |
getImageString() |
java.lang.String |
getImageSuffix() |
int |
getImageWidth() |
java.lang.String |
getPath() |
boolean |
isImageMap() |
void |
setGeoJSON(FeatureCollection geoJSON) |
void |
setImageHeight(int imageHeight) |
void |
setImageString(java.lang.String imageString) |
void |
setImageSuffix(java.lang.String imageSuffix) |
void |
setImageWidth(int imageWidth) |
void |
setPath(java.lang.String path) |
java.lang.String |
toString() |
java.lang.String |
toStringWithOutImage() |
public JSONMapper(FeatureCollection geoJSON)
public static JSONMapper addJSONMapper(JSONMapper a, JSONMapper b)
public java.lang.String toString()
toString
在类中 java.lang.Object
public java.lang.String toStringWithOutImage() throws JSONException
JSONException
public java.lang.String getPath()
public void setPath(java.lang.String path)
public java.lang.String getImageString()
public boolean isImageMap()
public void setImageString(java.lang.String imageString)
public int getImageWidth()
public int getImageHeight()
public void setImageWidth(int imageWidth)
public void setImageHeight(int imageHeight)
public void setImageSuffix(java.lang.String imageSuffix)
public java.lang.String getImageSuffix()
public void setGeoJSON(FeatureCollection geoJSON)
public java.lang.String getEmbID()
public java.util.Map<java.lang.String,java.util.List<java.util.List<java.util.List<double[]>>>> calculateOrderCoordinates()
public java.util.Set<java.lang.String> calculateAreaNames()
public java.util.Map<java.lang.String,java.util.List<java.lang.Object>> calculateCenter()
public FeatureCollection getGeoJSON()
public java.util.Map<java.lang.String,double[]> calculatePointAreaNameLngLat()