public class GHMRequest
extends com.graphhopper.GHRequest
| Constructor and Description |
|---|
GHMRequest() |
GHMRequest(int size) |
| Modifier and Type | Method and Description |
|---|---|
GHMRequest |
addAllPoints(List<com.graphhopper.util.shapes.GHPoint> points) |
GHMRequest |
addFromPoint(com.graphhopper.util.shapes.GHPoint point) |
GHMRequest |
addFromPoints(List<com.graphhopper.util.shapes.GHPoint> points) |
void |
addOutArray(String type)
Currently: weights, times, distances and paths possible.
|
GHMRequest |
addPoint(com.graphhopper.util.shapes.GHPoint point)
This methods adds the places as 'from' and 'to' place to the request.
|
GHMRequest |
addToPoint(com.graphhopper.util.shapes.GHPoint point) |
GHMRequest |
addToPoints(List<com.graphhopper.util.shapes.GHPoint> points) |
List<com.graphhopper.util.shapes.GHPoint> |
getFromPoints() |
Set<String> |
getOutArrays() |
List<com.graphhopper.util.shapes.GHPoint> |
getPoints() |
List<com.graphhopper.util.shapes.GHPoint> |
getToPoints() |
public void addOutArray(String type)
public GHMRequest addAllPoints(List<com.graphhopper.util.shapes.GHPoint> points)
public List<com.graphhopper.util.shapes.GHPoint> getPoints()
getPoints in class com.graphhopper.GHRequestpublic List<com.graphhopper.util.shapes.GHPoint> getFromPoints()
public List<com.graphhopper.util.shapes.GHPoint> getToPoints()
public GHMRequest addPoint(com.graphhopper.util.shapes.GHPoint point)
addPoint in class com.graphhopper.GHRequestpublic GHMRequest addFromPoint(com.graphhopper.util.shapes.GHPoint point)
public GHMRequest addFromPoints(List<com.graphhopper.util.shapes.GHPoint> points)
public GHMRequest addToPoint(com.graphhopper.util.shapes.GHPoint point)
public GHMRequest addToPoints(List<com.graphhopper.util.shapes.GHPoint> points)
Copyright © 2012–2016. All rights reserved.