nearestCharger

fun nearestCharger(fromLocationName: String): String?(source)

The declared charger nearest to a place along the layout's own paths, or null when none is reachable from there.

Along the layout's paths and not as the crow flies, because a one-way network's distances are not symmetric and the nearest charger by position may be the furthest to actually reach.