Class PoiRequest


  • public final class PoiRequest
    extends Request
    The class to perform request for places in interest (POI). Use this type of request when you want to find POIs around some coordinates using the textual query. Results will be sorted by distance from the coordinates specified in the request. You cannot instantiate this class directly. Use SearchManager.createPoiRequest(String, MapCoordinates) to create instances of this class.
    • Method Detail

      • getSearchQuery

        public java.lang.String getSearchQuery()
        Returns:
        The textual search query.
      • getCategories

        public java.util.List<PoiCategory> getCategories()
        Returns:
        The list of categories.
      • getSearchRadius

        public int getSearchRadius()
        Returns:
        The search radius in meters.
      • cancel

        public void cancel()
        Description copied from class: Request
        Cancels the request.
        Specified by:
        cancel in class Request