View source: R/utility_functions.R
add_point_to_test_ep | R Documentation |
Add a test point to the points endpoint
add_point_to_test_ep(
endpoint,
x = rnorm(mean = 53.317749, sd = 1, n = 1),
y = rnorm(mean = -1.0546875, sd = 1, n = 1),
attributes = list(id = sample(c(1:1000), 1))
)
endpoint |
the points endpoint to test against |
x |
the x coordinate of the point (EPSG:4326) |
y |
the y coordinate of the point (EPSG:4326) |
attributes |
the attributes of the point (a named list) |
id |
an integar to give the point an ID (not unique) |
This function is used for testing layer caching & demonstrates how to add features to an arc gis layer
the status code of the response (integar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.