Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding in dashArray for symbols #77

Merged
merged 12 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .lintr
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
linters: linters_with_defaults(
line_length_linter(80),
single_quotes_linter = NULL,
quotes_linter = NULL,
object_name_linter = object_name_linter("camelCase"),
spaces_inside_linter = NULL
spaces_inside_linter = NULL,
indentation_linter = NULL
)
exclusions: list(
"inst/",
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: leaflegend
Type: Package
Title: Add Custom Legends to 'leaflet' Maps
Version: 1.1.1
Version: 1.1.5
Authors@R: c(
person("Thomas", "Roh", email = "thomas@roh.engineering", role = c("aut", "cre")),
person("Ricardo Rodrigo", "Basa", email = "radbasa@gmail.com", role = c("ctb")))
Expand Down
19 changes: 19 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# leaflegend 1.1.10

* `addLegendNumeric` gains `labelStyle` argument and significant improvements
to the layout that will handle larger font sizes and long text widths.

* added `stacked` argument to `addLegendSize` to allow size legends that are
more compact when symbols are overlayed. See examples in `?addLegendSize`.

* groups can now have underscores in their name for show/hide functionality.

* added `between` argument to `addLegendBin` and `addLegendQuantile` so that
users can change the dash.

* fixed issue where `addSymbols` and `addSymbolsSize` only worked when
directly specifying `lat` and `lng`. These now work for sf objects.

* added `dashArray` argument for symbols functions. The main purpose is to
allow dashed line encodings, but all symbols can have dashed outer lines.

# leaflegend 1.1.1

* updating test for 'leaflet' changes in v2.2.0
Expand Down
Loading