Skip to content

Commit 038e576

Browse files
committed
fix type of JS GeoJSON response graphhopper#742
1 parent 1e87f47 commit 038e576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/main/webapp/js/graphhopper/GHRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ GHRequest.prototype.doRequest = function (url, callback) {
212212

213213
var tmpSnappedArray = graphhopperTools.decodePath(path.snapped_waypoints, that.hasElevation());
214214
path.snapped_waypoints = {
215-
"type": "LineString",
215+
"type": "MultiPoint",
216216
"coordinates": tmpSnappedArray
217217
};
218218
}

0 commit comments

Comments
 (0)