R/utils_helpers.R

Defines functions createLabel

# points tooltip
createLabel <- function(data) {  
  labelText <- paste0("<b style='color:#00a2ff'>Driver: </b>",data$driverName,"<br/>",
                      "<b style='color:#00a2ff'>Client: </b>",data$customerName,"<br/>",
                      "<b style='color:#00a2ff'>Transit: </b>",data$transitNr,"<br/>",
                      "<b style='color:#00a2ff'>Order: </b>",data$orderNr,"<br/>",
                      "<b style='color:#00a2ff'>Status time: </b>",data$statusDateTime,"<br/>")  
}
Camil88/geoMapX documentation built on April 14, 2023, 10:36 a.m.