Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing row used as Feature ID #424

Open
lgraham97 opened this issue May 23, 2022 · 1 comment
Open

Changing row used as Feature ID #424

lgraham97 opened this issue May 23, 2022 · 1 comment

Comments

@lgraham97
Copy link

lgraham97 commented May 23, 2022

I am trying to display a pop up using a data frame with multiple rows and columns.

I am currently using:

leaflet() %>%
  addProviderTiles("OpenStreetMap") %>%
  addPolygons(data = County_Durhamll,     #county_durhamll is my shape file i would like the popup to be displayed on  
           popup = popupTable(contact_details_tbl, zcol = 1:3, className=NULL))  #contact_details_tbl is the data table __ want to display  

My table has 34 rows and I would like to display a specific row from this data frame however it automatically displays the bottom row from the table.

It is displaying the correct columns however I would like to know if there is a way I can display the 24th row as my Feature ID?

(I am using the popupTable function)

@lgraham97 lgraham97 changed the title Feature ID Changing row used as Feature ID May 23, 2022
@tim-salabim
Copy link
Member

Hi @lgraham97 can you provide County_Durhamll and contact_details_tbl so I can reproduce your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants