API: Advance Search for Maps¶
- GET /map¶
Search maps by conditions, which is described your parameters, including "AND" condition predicate. Query parameters are optional.
- Query Parameters:
gps (string) -- searched maps is around this GPS location.
range (number) -- searched maps is range in km. Default is 1.0. This must be used with gps.
tag (string) -- searched maps have this tag.
topN (integer) -- max number of matched results. Default is 1.
- Status Codes:
200 OK -- Success.Response:result is [] if mapId not exist
401 Unauthorized -- Unauthorized
403 Forbidden -- Forbidden
404 Not Found -- Not Found
- Response JSON Object:
msg (string) --
result[].created (string) --
result[].gps (string) --
result[].mapId (string) --
result[].mapVersion (string) --
result[].md5 (string) --
result[].meta (string) --
result[].modified (string) --
result[].name (string) --
result[].previewUrl (string) --
result[].size (integer) --
result[].status (string) --
result[].tag (string) --
statusCode (integer) --
timestamp (string) --