public final class GeojsonKit extends Object
Constructor and Description |
---|
GeojsonKit() |
Modifier and Type | Method and Description |
---|---|
tr.com.terrayazilim.gjson.GjsonObject |
fromGjson(String geojson) |
<T extends tr.com.terrayazilim.gjson.GjsonObject> |
fromGjson(String geojson,
Class<T> gjsonObjectClass) |
Circle |
getCircle(tr.com.terrayazilim.gjson.GjsonFeature feature) |
tr.com.terrayazilim.gjson.GjsonFeatureCollection |
getFeatureCollection(LayerMap layerMap) |
tr.com.terrayazilim.gjson.GjsonFeatureCollection |
getFeatureCollection(Map<String,Layer> map) |
tr.com.terrayazilim.gjson.Gjson |
getGjson() |
JsonKit |
getJsonKit() |
Layer |
getLayer(tr.com.terrayazilim.gjson.GjsonFeature feature) |
LayerType |
getLayerType(tr.com.terrayazilim.gjson.GjsonFeature feature) |
Map<String,Layer> |
getMap(tr.com.terrayazilim.gjson.GjsonFeatureCollection gfc) |
Map<String,Layer> |
getMap(String geojson) |
Marker |
getMarker(tr.com.terrayazilim.gjson.GjsonFeature feature) |
Marker |
getMarker(tr.com.terrayazilim.gjson.GjsonPoint gjsonPoint) |
Polygon |
getPolygon(tr.com.terrayazilim.gjson.GjsonFeature feature) |
Polyline |
getPolyline(tr.com.terrayazilim.gjson.GjsonFeature feature) |
Rectangle |
getRectangle(tr.com.terrayazilim.gjson.GjsonFeature feature) |
boolean |
is(tr.com.terrayazilim.gjson.GjsonFeature feature,
LayerType layerType) |
boolean |
isCircle(tr.com.terrayazilim.gjson.GjsonFeature feature) |
boolean |
isMarker(tr.com.terrayazilim.gjson.GjsonFeature feature) |
boolean |
isPolygon(tr.com.terrayazilim.gjson.GjsonFeature feature) |
boolean |
isPolyline(tr.com.terrayazilim.gjson.GjsonFeature feature) |
boolean |
isRectangle(tr.com.terrayazilim.gjson.GjsonFeature feature) |
String |
toGjson(tr.com.terrayazilim.gjson.GjsonObject gjsonObject) |
String |
toGjson(tr.com.terrayazilim.gjson.GjsonObject gjsonObject,
Type type) |
public Map<String,Layer> getMap(tr.com.terrayazilim.gjson.GjsonFeatureCollection gfc)
gfc
- public tr.com.terrayazilim.gjson.GjsonFeatureCollection getFeatureCollection(Map<String,Layer> map)
map
- public tr.com.terrayazilim.gjson.GjsonFeatureCollection getFeatureCollection(LayerMap layerMap)
layerMap
- public Layer getLayer(tr.com.terrayazilim.gjson.GjsonFeature feature)
feature
- public Marker getMarker(tr.com.terrayazilim.gjson.GjsonFeature feature)
feature
- public Circle getCircle(tr.com.terrayazilim.gjson.GjsonFeature feature)
feature
- public Rectangle getRectangle(tr.com.terrayazilim.gjson.GjsonFeature feature)
feature
- public Polyline getPolyline(tr.com.terrayazilim.gjson.GjsonFeature feature)
feature
- public Polygon getPolygon(tr.com.terrayazilim.gjson.GjsonFeature feature)
feature
- public String toGjson(tr.com.terrayazilim.gjson.GjsonObject gjsonObject)
gjsonObject
- public String toGjson(tr.com.terrayazilim.gjson.GjsonObject gjsonObject, Type type)
gjsonObject
- type
- public tr.com.terrayazilim.gjson.GjsonObject fromGjson(String geojson)
geojson
- public <T extends tr.com.terrayazilim.gjson.GjsonObject> T fromGjson(String geojson, Class<T> gjsonObjectClass)
T
- geojson
- gjsonObjectClass
- public LayerType getLayerType(tr.com.terrayazilim.gjson.GjsonFeature feature)
feature
- public boolean is(tr.com.terrayazilim.gjson.GjsonFeature feature, LayerType layerType)
feature
- layerType
- public boolean isMarker(tr.com.terrayazilim.gjson.GjsonFeature feature)
feature
- public boolean isCircle(tr.com.terrayazilim.gjson.GjsonFeature feature)
feature
- public boolean isRectangle(tr.com.terrayazilim.gjson.GjsonFeature feature)
feature
- public boolean isPolyline(tr.com.terrayazilim.gjson.GjsonFeature feature)
feature
- public boolean isPolygon(tr.com.terrayazilim.gjson.GjsonFeature feature)
feature
- public Marker getMarker(tr.com.terrayazilim.gjson.GjsonPoint gjsonPoint)
gjsonPoint
- public tr.com.terrayazilim.gjson.Gjson getGjson()
public JsonKit getJsonKit()
Copyright © 2018 Terra Yazılım Bilişim Hiz. Elek. Dan. Oto. ve Loj. Tic. Ltd. Şti.. All rights reserved.