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
I have a dataset containing informations about municipalities and their relative shapes. The number of these municipalities are very high (+40000), so to render all my polygons in a short amount of time i need to use {leafgl}.
Printed the map with all the shapes, i want to be able to select a specific municipality and have a reactive plot specific for that municipality. Let's say, clicking on a shape, i want to have a bar plot (made with {echarts4r}) showing the population regarding municipality i chose.
However, when clicking on a shape, i get en error saying "subscript out of range", and i can't understand where this error comes from.
Does anyone have an idea on how to fix this problem?
Furthermore, I wanted to ask if there was the possibility, for example by selecting first one polygon and then another, to have both information of the selected municipalities, as in the application in this link (https://hoga.shinyapps.io/healthdown/).
However, selecting the same polygon twice, it should be as if you hadn't selected anything.
The text was updated successfully, but these errors were encountered:
I have a dataset containing informations about municipalities and their relative shapes. The number of these municipalities are very high (+40000), so to render all my polygons in a short amount of time i need to use {leafgl}.
Printed the map with all the shapes, i want to be able to select a specific municipality and have a reactive plot specific for that municipality. Let's say, clicking on a shape, i want to have a bar plot (made with {echarts4r}) showing the population regarding municipality i chose.
This is my attempt:
However, when clicking on a shape, i get en error saying "subscript out of range", and i can't understand where this error comes from.
Does anyone have an idea on how to fix this problem?
Furthermore, I wanted to ask if there was the possibility, for example by selecting first one polygon and then another, to have both information of the selected municipalities, as in the application in this link (https://hoga.shinyapps.io/healthdown/).
However, selecting the same polygon twice, it should be as if you hadn't selected anything.
The text was updated successfully, but these errors were encountered: