* @return a list of places
*/
public static List<Toponym> readLocationForKeyword(String q, Style style) {
List<Toponym> list = new ArrayList<Toponym>();
ToponymSearchResult locationSearchResult;
ToponymSearchCriteria searchLocation = new ToponymSearchCriteria();
searchLocation.setMaxRows(7);
searchLocation.setFeatureClass(FeatureClass.P);
searchLocation.setStyle(style);
searchLocation.setQ(q);
try {
WebService.setUserName("erudika");
locationSearchResult = WebService.search(searchLocation);
if (locationSearchResult != null) {
list.addAll(locationSearchResult.getToponyms());