View source: R/osm_status_notes.R
osm_close_note | R Documentation |
Requires authentication.
osm_close_note(note_id)
osm_reopen_note(note_id)
note_id |
Note ids represented by a numeric or character vector. |
Returns a data frame with the closed map notes (same format as osm_get_notes()
with format = "R"
).
osm_close_note()
: Close notes as fixed.
osm_reopen_note()
: Reopen closed notes.
Other edit notes' functions:
osm_create_comment_note()
,
osm_create_note()
,
osm_delete_note()
## Not run:
set_osmapi_connection("testing") # use the testing server
note <- osm_create_note(lat = 41.38373, lon = 2.18233, text = "Testing osmapiR")
closed_note <- osm_close_note(note$id)
closed_note
reopened_note <- osm_reopen_note(note$id)
reopened_note
closed_note <- osm_close_note(note$id) # leave it closed
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.