geosearchOptions | R Documentation |
Add extra options. For a full list please visit the plugin repository or see the source code
geosearchOptions(
style = c("button", "bar"),
resetButton = "x",
notFoundMessage = "Nothing found",
autoComplete = TRUE,
autoCompleteDelay = 250,
showMarker = TRUE,
showPopup = FALSE,
maxMarkers = 1,
retainZoomLevel = FALSE,
animateZoom = TRUE,
autoClose = FALSE,
searchLabel = "Enter address",
keepResult = FALSE,
updateMap = TRUE,
...
)
style |
Character. UI style, one of "bar" or "button". |
resetButton |
Icon or Character for the reset button. |
notFoundMessage |
Message shown if no result is found. |
autoComplete |
Logical. Enable autocomplete suggestions. |
autoCompleteDelay |
Delay in ms before suggestions appear. |
showMarker |
Logical. Show marker for result location. |
showPopup |
Logical. Show popup on result location. |
maxMarkers |
Max number of markers shown. |
retainZoomLevel |
Logical. |
animateZoom |
Logical. |
autoClose |
Logical. Close results after selection. |
searchLabel |
Placeholder text. |
keepResult |
Logical. Keep last result shown. |
updateMap |
Logical. Pan/zoom map on result. |
... |
Further arguments passed to 'addGeosearch' |
A list of options for addGeosearch
Other Geosearch Functions:
addGeosearch()
,
removeGeosearch()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.