Skip to content

Commit

Permalink
paso a server el cambio de simon
Browse files Browse the repository at this point in the history
  • Loading branch information
mpvaldez committed Dec 1, 2023
1 parent 5fa8d95 commit 0b32dd4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/testeos/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ palette <- colorBin('Reds', domain = honeycomb_count$n_colli, bins = 5)
# palette(4)

hover=lapply(honeycomb_count$Tooltip, htmltools::HTML)
hover_popup=lapply(honeycomb_count$Popup, htmltools::HTML)
hover_markers=lapply(amb$Tooltip, htmltools::HTML)

style <- "
Expand Down Expand Up @@ -155,8 +156,8 @@ shinyServer(function(input, output, session) {
leaflet()%>%setView(lat = lat,lng=long,zoom = 7)%>%
addMapPane("HexPane",zIndex = 400)%>%
addPolygons(data=honeycomb_count,fillColor = ~palette(n_colli),
label = hover,popup = hover,
popupOptions = popupOptions(maxHeight ="300",minWidth = "250",
label = hover,popup = hover_popup,
popupOptions = popupOptions(maxHeight ="300",minWidth = "300",
closeOnClick = TRUE),
fillOpacity = 0.5,color="black",opacity=1,weight=1,group="Hex",
options = pathOptions(pane = "HexPane"),
Expand Down

0 comments on commit 0b32dd4

Please sign in to comment.