You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Everyone
I tried to use the addWMS in shiny to plot a map from web services. I want the map from addWMS to change dynamically when I provide a different DateTime to it.
The addWMS could plot the map with provided initial DateTime. However, no map was shown when I change the DateTime with a sidebar. I am sure the input DateTime is correct. and the error from the console are the following.
How I use addWMS in R
UncaughtTypeError:t.onRemoveisnotafunctionat e.removeLayer (leaflet.js:5:65194)
at e.removeFrom (leaflet.js:5:64166)
at e.remove (leaflet.js:5:64092)
at e.remove (leaflet.js:5:36838)
at Object.renderValue (leaflet.js:633:15)
at Object.renderValue (htmlwidgets.js:889:25)
at shinyBinding.renderValue (htmlwidgets.js:543:20)
at e.value (outputBinding.ts:48:12)
atdelegator.<computed> [asonValueChange] (htmlwidgets.js:112:23)
at e.value (outputAdapter.ts:39:20)
leaflet.js:5UncaughtError:Mapcontainerisbeingreusedbyanotherinstanceat e.remove (leaflet.js:5:36414)
at Object.renderValue (leaflet.js:633:15)
at Object.renderValue (htmlwidgets.js:889:25)
at shinyBinding.renderValue (htmlwidgets.js:543:20)
at e.value (outputBinding.ts:48:12)
atdelegator.<computed> [asonValueChange] (htmlwidgets.js:112:23)
at e.value (outputAdapter.ts:39:20)
at e.value (shinyapp.ts:565:17)
ate.<anonymous> (shinyapp.ts:743:20)
at e.value (shinyapp.ts:724:29)
leaflet.js:5UncaughtTypeError:Cannotreadpropertiesof undefined (reading'style')
at wt (leaflet.js:5:9820)
ate.<anonymous> (leaflet.js:5:47376)
at e.fire (leaflet.js:5:16621)
at e.invalidateSize (leaflet.js:5:34738)
at Object.resize (leaflet.js:798:15)
at Object.resize (htmlwidgets.js:892:25)
at shinyBinding.resize (htmlwidgets.js:553:24)
atoutputAdapter.ts:26:17at e.onResize (index.ts:138:5)
atHTMLDivElement.<anonymous> (init.ts:266:15)
The text was updated successfully, but these errors were encountered:
Hi Everyone
I tried to use the addWMS in shiny to plot a map from web services. I want the map from addWMS to change dynamically when I provide a different DateTime to it.
The addWMS could plot the map with provided initial DateTime. However, no map was shown when I change the DateTime with a sidebar. I am sure the input DateTime is correct. and the error from the console are the following.
How I use addWMS in R
The error from concole
The text was updated successfully, but these errors were encountered: