Class PlaceParameter

    • Constructor Detail

      • PlaceParameter

        public PlaceParameter​(String value)
        Query for a place with a value. There are many supported values. All spaces are replaces with + signs automatically

        City state: seattle,wa | seattle,washington | new+york,new+york
        City, state, country: seattle,wa,us | toronto,on,ca
        City Country: paris,fr | paris,france
        Zip code/postal code: 98109 | 55415 | M3C4H9
        3 Char IATA Airport Codes: MSP | ROA
        County/parish king+county,wa State-county id: WAC033
        NOAA public weather zone: MNZ029
        Parameters:
        value - PlaceParameter obj
      • PlaceParameter

        public PlaceParameter​(double lat,
                              double lon)
        Query for a place with latitude and longitude coordinates
        Parameters:
        lat - Latitude to use
        lon - longitude to use
      • PlaceParameter

        public PlaceParameter​(double topLat,
                              double leftLon,
                              double botLat,
                              double rightLon)
        Query for a place with latitude and longitude coordinates to use with a WITHIN.
        Parameters:
        topLat - top latitude coordinate to use in the box.
        leftLon - left longitude coordinate to use.
        botLat - bottom latitude coordinate to use.
        rightLon - right longitude coordinate to use
      • PlaceParameter

        public PlaceParameter()
        Query for a place by using the IP address for the location.
      • PlaceParameter

        public PlaceParameter​(android.content.Context context)
        Constructs a Place parameter and uses the phones location, if available. If not, will query location based on the IP.
        Parameters:
        context - PlaceParameter obj
      • PlaceParameter

        public PlaceParameter​(AerisLocation... locs)
      • PlaceParameter

        public PlaceParameter​(int fipsCode)
        Query for a place with a fips code.
        Parameters:
        fipsCode - int