#' Get coordinates of depots.
#'
#' @template arg_network
#' @return [\code{matrix}]
#' @export
getDepotCoordinates = function(x) {
if (!hasDepots(x)) {
stop("Object has no depots.")
}
x$depot.coordinates
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.