| addSearchOSM {leaflet.extras} | R Documentation |
Add a OSM search control to the map.
Add a marker search control to the map.
addSearchOSM(map, options = searchOSMOptions()) addSearchMarker(map, targetLayerId = NULL, targetGroup = NULL, options = searchMarkersOptions())
map |
a map widget object |
options |
Search Options |
targetLayerId |
An optional layerId of a GeoJSON/TopoJSON layer whose features need to be searched. |
targetGroup |
An optional group name of a Feature Group whose features need to be searched. |
modified map
modified map