How to set the device location (latitude and longitude) using a capability?

How to set the device location (latitude and longitude) using a capability?

Hi Aaron!

You can set the latitude and longitude using the following capabilities:

{
"location" : {
"lat" : "2323",
"long":"232"
}
}