All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.pvanassen.geckoboard.api.json.map.CityPoint Maven / Gradle / Ivy

The newest version!
package nl.pvanassen.geckoboard.api.json.map;

/**
 * A point on the map based on a city name
 * 
 * @author Paul van Assen
 *
 */
public class CityPoint extends AbstractPoint {

    @SuppressWarnings("unused")
    private final City city;

    /**
     * Constructor with city name and optionally region and country code.
     * 
     * @param cityName City name
     * @param regionCode Optional region code for more accuracy about the city
     * @param countryCode Optional country code for more accuracy about the city
     */
    public CityPoint(String cityName, String regionCode, String countryCode) {
        city = new City(cityName, regionCode, countryCode);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy