I’m trying to display the information tooltip of a queryable WMS (Web Map Service) layer in a leaflet in Shiny. I need it to be performed in 2 different ways: 1/ clicking 2/ typing in coordinates. With the MWE (R code) at the end of this post, a click anywhere on the WMS displays the tooltip , which is part
Tag: shiny
How to setup a Shiny app designed with Golem that uses a htmlTemplate and links to an external JavaScript file
I am trying to understand the required architecture of a Shiny Golem app that utilises a html template and invokes some basic JavaScript on the press of a button. I think that I might be placing the index.html file in the wrong location, and I have not had success on invoking the JavaScript addEventListener on the button. I have included
Why is this Shiny Handler not correctly updating the JS section of the client?
When running the reproducible code at the bottom, I get the strange results in the tree rendered on the left as illustrated in the image below. What am I doing wrong, in my use of the handlers or perhaps in JS script? “Elements” reads the positions of the tree, “Elements2” does a bit of example transformation, and the Element column
How to block user from accessing other tabs in Shiny unless the user clicks a button?
My question is similar to Shiny how to block the user from accessing a tab? But what I need here is: -Block other tabs unless the user clicks on a submit button -Automatically move to the other tab once that submit button is clicked. Here is an example code In the above code, the 2nd tab is blocked unless the
render javascript component (ag-grid) in r shiny
I am trying to include the most basic example of ag-grid from their website in a R-shiny application, starting from there I will add more and more trying to setup a proper communication frontend-backend on data edit. However I am stuck at the basics of the inclusion. The component is included in source code but not rendered: This is the
Shiny: Using enter key with action button on login screen
I created a login screen for my Shiny app and would like users to be able to use the Enter key instead of having to use the mouse to click the OK button. I found an example that looks like it solves it for an input form but unfortunately, it does not work for my example. I am imagining it
shiny: start the app with hidden tabs, with NO delay
I would like to build an application and some of the tabs will be hidden to the user until he types the right password. I know how to do this with shinyjs::hideTab: library(shiny);library(shinyjs) ui …
Need to replace default “No data available in table” message in Shiny R renderDataTable
I don’t know much of JavaScript, and I’m having a problem to override the default message in the Shiny R App, when I’m outputting table. When table is empty, it’s giving message “No data available in …