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

Why does EditLayers keep crashing my RStudio? #172

Closed
zachasman opened this issue Sep 13, 2019 · 1 comment
Closed

Why does EditLayers keep crashing my RStudio? #172

zachasman opened this issue Sep 13, 2019 · 1 comment

Comments

@zachasman
Copy link

I'm trying to edit the layer in this map, but it keeps crashing my computer when I select it. All the other toolbar functionalities seem to work fine. What's happening

library(sf)
library(leaflet)
library(leaflet.extras)
library(sp)
library(rmapshaper)
library(dplyr)
library(tigris)
library(rbgm)

nevada <- voting_districts("nevada")
nevada <- rmapshaper::ms_simplify(nevada)

leaflet() %>% addTiles %>%
  addPolygons(data = nevada, group = 'model') %>%
  addDrawToolbar(targetGroup = 'model',
                 editOptions = editToolbarOptions(
                   selectedPathOptions = selectedPathOptions())) %>%
  addLayersControl(overlayGroups = c('model'), options =
                     layersControlOptions(collapsed=FALSE)) %>%
  addStyleEditor()
@trafficonese
Copy link
Owner

I guess this has been resolved by now.
It is working fine on my computer.

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

No branches or pull requests

2 participants