mapview
mapview copied to clipboard
Changing row used as Feature ID
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)
Hi @lgraham97 can you provide County_Durhamll and contact_details_tbl so I can reproduce your issue?