mgConfig = ({
edgeWeight: "time",
travelType: "walk",
maxEdgeWeight: maxTime,
multiGraphReferencedStatisticIds: { wStats: statisticId },
multiGraphAggregationType: "none",
multiGraphLayerGeometryDetailPerTile: "5",
multiGraphLayerMinGeometryDetailLevel: "5",
multiGraphLayerMaxGeometryDetailLevel: "25",
multiGraphLayerType: "identity",
multiGraphDomainType: "statistic_geometry",
multiGraphDomainEdgeAggregationType: "max",
multiGraphDomainStatisticGroupId: statisticGroup,
multiGraphSerializationFormat: "geojson",
multiGraphSerializationMaxGeometryCount: 100000,
multiGraphAggregationInputParameters: {
s1: {},
wStats: {}
},
serviceKey: targomoKey(),
serviceUrl: "https://api.targomo.com/westcentraleurope",
multiGraphAggregationIgnoreOutliers: true,
sources: sources.map(({ x, y, id }) => {
return { x, y, id };
})
})