Overview

Feedback


Map queries can be performed by implementing the POST request on the queryResults resource. The procedures for map query are as follows:

1. Execute POST request on queryResults, with required parameters included in the request body, to get the URI of a queryResults resource.

2. Exectue GET request on the returned URI to get the result.

The query mode is specified by the queryMode field, including SqlQuery, FindNearest, DistanceQuery, and SpatialQuery. Please refer to queryResults.

The URI of the queryResults resource of China is:

http://localhost:8090/iserver/services/map-china400/rest/maps/China/queryResults.json

The suffix .json indicates the representation format.