-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Probably related to #82
library(leaflet)
data(quakes)
numPal <- colorNumeric('viridis', quakes$depth)
leaflet() %>%
addTiles() %>%
addLegendNumeric(
pal = numPal,
values = quakes$depth,
orientation = "horizontal",
width = 200,
bins = 10,
position = 'topright',
title = 'addLegendNumeric',
group = 'Numeric Data'
) I get:
In "vertical" orientation I get the expected ticks, i.e. 50, 100, ... 650.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request