Package org.structr.common.geo

Examples of org.structr.common.geo.AddressComponent


      setProperty(latitude, geoCodingResult.getLatitude());
      setProperty(longitude, geoCodingResult.getLongitude());

      // set postal code if found
      AddressComponent postalCodeComponent = geoCodingResult.getAddressComponent(GeoCodingResult.Type.postal_code);
      if (postalCodeComponent != null) {

        setProperty(postalCode, postalCodeComponent.getLongValue());
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.structr.common.geo.AddressComponent

Copyright © 2018 www.massapicom. 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.