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
in shiny, when using clear_layer("x") with mapboxgl_proxy... the layer x seems to clear but the popup does not.
What I was trying to do was:
-1- render a base map with renderMapboxgl()
-2- select a field from a dropdown menu and add_circle_layer using that field with mapboxgl_proxy(). Field is numeric, circle size is based on field.
if i switch to a different numeric field in the dropdown...the old popups stay but read "undefined"
The text was updated successfully, but these errors were encountered:
Thanks for the prompt response. Unfortunately, the whole thing has gotten quite extensive and not straightforward to share. A small reproducible example I tried to make does seem to work fine. In the larger example, I found issue was somewhere related to missing values so just changing NA to "Missing" before mapgl calls seemed to make that one work too.
Hi Kyle
in shiny, when using clear_layer("x") with mapboxgl_proxy... the layer x seems to clear but the popup does not.
What I was trying to do was:
-1- render a base map with renderMapboxgl()
-2- select a field from a dropdown menu and add_circle_layer using that field with mapboxgl_proxy(). Field is numeric, circle size is based on field.
if i switch to a different numeric field in the dropdown...the old popups stay but read "undefined"
The text was updated successfully, but these errors were encountered: