Package org.geomajas.plugin.geocoder.api

Examples of org.geomajas.plugin.geocoder.api.SplitGeocoderStringService.combine()


      String matchedLocation = location;
      String geocoderName = null;
      if (results.size() == 1) {
        List<String> matchedStrings = results.get(0).getCanonicalStrings();
        if (null != matchedStrings) {
          matchedLocation = splitGeocoderStringService.combine(matchedStrings);
        }
        geocoderName = results.get(0).getGeocoderName();
      }
      response.setCanonicalLocation(matchedLocation);
      response.setGeocoderName(geocoderName);
View Full Code Here


          GetLocationForStringAlternative one = new GetLocationForStringAlternative();

          String matchedLocation = location;
          List<String> matchedStrings = alt.getCanonicalStrings();
          if (null != matchedStrings) {
            matchedLocation = splitGeocoderStringService.combine(matchedStrings);
          }
          one.setCanonicalLocation(matchedLocation);

          // set additional info data
          one.setGeocoderName(alt.getGeocoderName());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.