Map Location API
Update a Map Location
Update a location in a specific map
PUT
/
v0
/
map
/
{mapId}
/
location
/
{locationId}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
mapId
string
requiredID of the map to retrieve
locationId
string
requiredID of the map location to retrieve
Body
application/json
fields
object
requiredAll data of this location as object. MUST include a name & address field that was specified at the creation of Map.
order
integer
By default locations are listed by {order} in ascending order. Specify if you have specific preference on where this location shall be shown in the list. By default, it’s appended to the end of list.
Response
200 - application/json
id
string
The ID of Location
name
string
requiredThe name of Location
placeId
string
The placeId resolved (via geocoding) for this location
latLngLiteral
object
properties
object
This object contains all the data fields that were passed in for this location at import/creation