Class Veriplace_Position

Description

Base class for objects that describe a geographic location.

Longitude, latitude, and uncertainty radius are always required. All other properties, such as street address, are optional and will be null (rather than empty strings) if not available.

  • property-read: double $longitude: Longitude, in degrees.
  • property-read: double $latitude: Latitude, in degrees.
  • property-read: double $uncertainty: Approximate uncertainty radius, in meters.
  • property-read: string $street: Street address, if available. May represent a house number, street, or intersection.
  • property-read: string $street2: Second street address line, if available. If this position represents a street intersection, then this is the cross street.
  • property-read: string $neighborhood: Neighborhood name, if available. Note that neighborhood data is only available for certain metro regions.
  • property-read: string $city: City name, if available.
  • property-read: string $state: State name, if available.
  • property-read: string $postal: Postal code, if available.
  • property-read: string $countryCode: Country code, if available.
  • property-read: string $addressLine: A single line combining the address properties in the format "street, city, state postal". Returns an empty string if none of these are present.

Located in /Veriplace/Types.php (line 92)


	
			
Direct descendents
Class Description
 class Veriplace_Location Representation of the location of a Veriplace user.
 class Veriplace_PointOfInterest Describes a geographic point of interest, such as a business or a landmark.
 class Veriplace_StreetIntersection Describes an intersection of two streets.
Method Summary
 Veriplace_Position __construct ( $longitude,  $latitude,  $uncertainty,  $street,  $street2,  $city,  $neighborhood,  $state,  $postal,  $countryCode)
 void copyFrom (Veriplace_Position $fromPos)
 void __toString ()
Methods
Constructor __construct (line 105)
  • access: public
Veriplace_Position __construct ( $longitude,  $latitude,  $uncertainty,  $street,  $street2,  $city,  $neighborhood,  $state,  $postal,  $countryCode)
  • $longitude
  • $latitude
  • $uncertainty
  • $street
  • $street2
  • $city
  • $neighborhood
  • $state
  • $postal
  • $countryCode

Redefined in descendants as:
copyFrom (line 119)
  • access: protected
void copyFrom (Veriplace_Position $fromPos)
__toString (line 136)

Default string conversion using the format "(longitude, latitude, uncertainty)".

  • access: public
void __toString ()

Documentation generated on Sun, 29 Aug 2010 04:08:40 -0700 by phpDocumentor 1.4.1