Coder Social home page Coder Social logo

rdeck.controls's Issues

Fix deprecated webpack config

output: {
path: resolve(__dirname, "inst/htmlwidgets"),
filename: "[name].js",
library: {
name: "rdeckControls",
type: "umd",
},
}

alternate layer/group api

Sometimes the user may want to toggle layers within groups. This is not possible with the API at the moment that is geared toward either selecting entire groups or ungrouped layers.

We could consider an alternative API for layer_names that allowed exact specification e.g.:

list(
"group_name1" = c("layer_name1", "layer_name2"),
"group_name2" = "layer_name1"
)

etc.

add layer name filtering from R side

What we want from this control is that you can either select entire groups or ungrouped layers.

At the moment the layers tidyselect will also select grouped layers, but these will be ignored by rdeck because they will be passed with groupName = null. This probably relies a little too heavily on rdeck implementation details.

Name layers that are in groups should not be selectable from the R side, and should not be passed into web world as data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.