Public
Edited
Feb 2, 2023
2 forks
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
config = {
const cfg = {
edgeWeight: "time",
maxEdgeWeight: maxTime,
sources: [
{
id: "source1",
lat: mapMarker.lat,
lng: mapMarker.lng,
tm: {
car: {
"useAreaSnapping": areaSnap,
"snapRadius": snapRadius,
"includeSnapDistance": includeSnap,
"excludeEdgeClassesFromSnapping": excludeEdgeClassesFromSnapping,
"walkSpeed": walkSpeed
}
}
}
],
polygon: {
values: [maxTime],
serializer: "geojson",
srid: 4326,
buffer: 0.00001,
quadrantSegments: 5
}
};
return cfg;
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more