View source: R/osmapi_map_notes.R
osm_create_comment_note | R Documentation |
Add a new comment to an existing note. Requires authentication.
osm_create_comment_note(note_id, text)
note_id |
Note id represented by a numeric or a character value. |
text |
The comment as arbitrary text. |
Returns a data frame with the map note and the new comment (same format as osm_get_notes()
with
format = "R"
).
Other edit notes' functions:
osm_close_note()
,
osm_create_note()
,
osm_delete_note()
## Not run:
set_osmapi_connection("testing") # use the testing server
note <- osm_get_notes(53726)
updated_note <- osm_create_comment_note(note$id, text = "A new comment to the note")
updated_note
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.