@@ -207,6 +207,7 @@ verifyIconLibrary <- function(library) {
207
207
# ' the latitude column from \code{data})
208
208
# ' @param popup a character vector of the HTML content for the popups (you are
209
209
# ' recommended to escape the text using \code{\link[htmltools]{htmlEscape}()}
210
+ # ' @param popupOptions A Vector of \code{\link{popupOptions}} to provide popups
210
211
# ' for security reasons)
211
212
# ' @param layerId the layer id
212
213
# ' @param group the name of the group the newly created layers should belong to
@@ -233,6 +234,7 @@ addAwesomeMarkers = function(
233
234
map , lng = NULL , lat = NULL , layerId = NULL , group = NULL ,
234
235
icon = NULL ,
235
236
popup = NULL ,
237
+ popupOptions = NULL ,
236
238
label = NULL ,
237
239
labelOptions = NULL ,
238
240
options = markerOptions(),
@@ -270,7 +272,8 @@ addAwesomeMarkers = function(
270
272
271
273
pts = derivePoints(data , lng , lat , missing(lng ), missing(lat ), " addAwesomeMarkers" )
272
274
invokeMethod(
273
- map , data , ' addAwesomeMarkers' , pts $ lat , pts $ lng , icon , layerId , group , options , popup ,
275
+ map , data , ' addAwesomeMarkers' , pts $ lat , pts $ lng , icon , layerId ,
276
+ group , options , popup , popupOptions ,
274
277
clusterOptions , clusterId , safeLabel(label , data ), labelOptions
275
278
) %> % expandLimits(pts $ lat , pts $ lng )
276
279
}
0 commit comments