From 8328411a45513f788dc25e6b4214df53363d6494 Mon Sep 17 00:00:00 2001 From: tim-salabim Date: Fri, 10 Apr 2020 16:50:08 +0200 Subject: [PATCH] fix #110 --- R/select.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/select.R b/R/select.R index e7efd5a..b277af6 100644 --- a/R/select.R +++ b/R/select.R @@ -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, ... )