Skip to content

Commit

Permalink
fix #110
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-salabim committed Apr 10, 2020
1 parent 106e131 commit 8328411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/select.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ selectFeatures.sf = function(
if (mode == "click") {

if (is.null(map)) {
map = mapview::mapView(...)@map
map = mapview:::initMap(proj4str = sf::st_crs(x)$proj4string)
map = leafem::addFeatures(
map, data = x, layerId = ~x$edit_id, label = label, ...
)
Expand Down

0 comments on commit 8328411

Please sign in to comment.