Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CRAN Version

Choose a tag to compare

@rCarto rCarto released this 08 Feb 11:55
· 216 commits to master since this release

Breaking changes

  • barscale(): automatic size by default, NULL return no scale bar;
  • layoutlayer(): FALSE, no scale bar is displayed, if set to "auto" an automatic size is used (previously was 0). 0 or NULL will display no scalebar. No default text for sources and author.

New features

  • barscale(): new position ("bottomright", "bottomleft" or c(x,y))
  • legendChoro(): horiz argument to display an horizonthal legend, border to set the
    border color of the boxes
  • choroLayer() and propSymbolsChoroLayer(): legend.horiz, legend.var2.horiz, legend.border and legend.var2.border arguments to use new legendChoro arguments.
  • layoutLayer(): horiz argument to display sources and author in verticaly in the bottomright corner (horiz = FALSE). posscale argument ("bottomright" or
    "bottomleft") for the scale bar position.
  • legend*() and relevant function: new "bottomleftextra" position for the legend. It displays the legend in the bottomleft corner with and extra padding that allows the display of sources and author with layoutLayer() without overlapping.

Minor changes

  • *typoLayer(): fix incorrect display of typo legends if legend.order is not provided.
  • getLinkLayer(): fix error when x and df ids do not perfectly match.
  • getTiles(): only suggest OSM basemap sources without API key requirement.
  • getTiles(): add source citation recommandation in getTiles()
  • small fixes on propTrianglesLayer(), gradLinkTypoLayer(), layoutLayer(), getOuterBorder(), dotDensityLayer(), labelLayer()
  • vignette: Introduction/descritpion of the package, sf bases examples and dataset description.
  • README: update
  • examples: examples are now based on sf object
  • data: addition of a GeoPackage on Martinique municipalities (descritpion on vignette), a csv on work mobilities
  • add a test suit
  • add a pkgdown website