View source: R/utility_functions.R
| id_query | R Documentation | 
Generate an object ID query to get data
id_query(object_id_name, object_ids, map_server)
object_id_name | 
 the field name for object ids  | 
object_ids | 
 a numeric vector of object IDs  | 
map_server | 
 TRUE/FALSE is the service a map server  | 
This function takes object IDs and properly formats a query parameter based on whether the service is a map server or feature server. For Map Servers the query should be in the form objectIds=1,2,3 and for Feature Servers the query should be where=ObjectId IN ('1', '2', ...)
a list with one named character element
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.