-
Notifications
You must be signed in to change notification settings - Fork 128
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
shinydashboard中如何展示REmap?DT::dataTableOutput一起用显示空白? #29
Comments
能给段可执行代码么? 后面说的那个应该是正常情况 |
@Lchiffon 请专家帮忙看看,谢谢。 |
和这个 rstudio/shinydashboard#251 类似? |
好像是一些和shinydashboard的冲突 |
明白了 Echarts.js和adminLTE.js都会使用$来作为一个调用的接口, 产生了冲突, 在JS层面产生了冲突, 所以不能同时使用 除了把它用htmlwidgets重写掉之外, 我想不出有什么解决的方法... |
@Lchiffon 非常感谢 👍 |
(1) 提示信息~
或者 (2)在 if(xxx == 'echarts.js') {
xxxxx
} else if(xxx == 'adminLTE.js') {
xxxxx
} shinyWidgets.error.mp4
相关文章:
|
如果是需要地图,可以通过MapBox 或 SimpleMaps 或 OpenStreetMap 下载,不过韦经度得修改~
引用:Mastering Software Development in R - 4.3 Mapping
参考文献 |
你好,请问:
UI:
tabItems(
tabItem(tabName = "wifi_01_company",
tabsetPanel(type = "tabs",
#height = "100%", width = "100%",
tabPanel("行为轨迹",
icon = icon("tag"),
#REmapOutput("track_train"),
hr(),
#DT::dataTableOutput('tab_hot_train'),
hr()
),
Server:
output$track_train <- renderREmap(
remapB(
center = BJU,
zoom = 9,
color = "grassgreen",
markLineData = markLine_data,
markPointData = markPointData,
markLineTheme = markLine_Control,
markPointTheme = markPointTheme,
geoData = gdata
))
在上述代码中无法显示地图,且影响界面的其它组件使用,请问如何解决呢?
代码在如下情况下能够正常展示地图:
body <- dashboardBody(
tabsetPanel(type = "tabs",
tabPanel("行为轨迹",icon = icon("tag"),
REmapOutput("track_train"),
hr()
#DT::dataTableOutput('tab_hot_train')
)))
The text was updated successfully, but these errors were encountered: