SymbolixAU / mapdeck

R interface to Deck.gl and Mapbox

Home Page:https://symbolixau.github.io/mapdeck/articles/mapdeck.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polygon alignment and re-setting widgets when switching between panels

cabuelow opened this issue · comments

Hi there,

I’ve been enjoying using mapdeck to develop an interactive web app for exploring some global data layers/analyses. I have a couple of questions to try and improve the app (GitHub here with code (https://github.com/cabuelow/ocean-coastal-units), and shiny here (https://cbuelow.shinyapps.io/blue-forests/):

  1. When the app is first opened and subsequently when map layers are updated, the polygons don’t automatically align with the coastline. Wondering if you’ve encountered this issue before, or perhaps I should seek advice from mapbox directly?

  2. Switching between map layers in different panels requires that the radio button be clicked twice. I think this is because of how I’ve opted to reset the widgets when switching between them on lines 214-710 of the app.R code. I’m sure there’s likely a more efficient and better way to code this, if you have any suggestions that would be great (and apologies in advance for amateur code).

  3. I saw on the other GitHub issues that ‘on-click’ pop-ups might be in development. I was wondering if this feature will be available in the near-ish future? No pressure of course, but I know app end-users would be keen on pop-ups, so great to know if it will be a possibility

Many thanks for all the help,
Christina

commented

I can't see the github repo - is it private?

commented

have you made it private again?

commented

Do you have a small reproducible example that I can run to replicate your first issue?