getMinAndMaxYear | R Documentation |
Gets the minimum and maximum year for the time dimension values of a WMS Layer.
getMinAndMaxYear(time_dimension_values)
time_dimension_values |
A string or character vector of date strings that represent the time dimension e.g. can be fetched with wms_layer$getTimeDimension()$values. Can be in the format of "2000-01-01T00:00:00.000Z/2019-01-01T00:00:00.000Z/PT1S" (in which the min year will be 2000 and the max year 2019) or several individual dates, for which the min and max year will be calculated. |
A named list with a value for min and max.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.