
nl.pvanassen.geckoboard.api.json.map.CityPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geckoboard-api Show documentation
Show all versions of geckoboard-api Show documentation
A Java API to generate highchart json on the server side.
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