未捕获的TypeError:无法读取未定义的属性'noHide'

时间:2015-11-29 07:14:58

标签: r shiny leaflet shiny-server

我正在使用宣传单包运行一个闪亮的应用程序 当我在本地运行它上传到服务器时工作正常我得到一个错误:

Uncaught TypeError: Cannot read property 'noHide' of undefined    

这是它引用的java脚本的代码:     

if (label !== null) {
            if (labelOptions !== null) {
              if(Leaflet(labelOptions.noHide)) {
                marker.bindLabel(label, labelOptions).showLabel();
              } else {
                marker.bindLabel(label, labelOptions);
              }
            } else {
              marker.bindLabel(label);
            }
          }    

代码位于GitHub

0 个答案:

没有答案
相关问题