public class CustomArea extends Object implements AreaIndex.Area
Constructor and Description |
---|
CustomArea(Map<String,Object> properties,
List<org.locationtech.jts.geom.Polygon> borders) |
Modifier and Type | Method and Description |
---|---|
static CustomArea |
fromJsonFeature(JsonFeature j) |
double |
getArea() |
List<org.locationtech.jts.geom.Polygon> |
getBorders() |
Map<String,Object> |
getProperties() |
public static CustomArea fromJsonFeature(JsonFeature j)
public List<org.locationtech.jts.geom.Polygon> getBorders()
getBorders
in interface AreaIndex.Area
public double getArea()
Copyright © 2012–2022. All rights reserved.