com. kelvinluck. flashr. core. GeoLocation

Class to describe the geographical location of a Photo on flickr.com.

Licence

This code and documentation is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0.  http://creativecommons.org/licenses/by-nc-sa/2.0/

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Version

0.5.0

Author

Kelvin Luck < kelvin at kelvinluck dot com >

Project Website

http://flashr.kelvinluck.com/

Subversion Id

$Id: GeoLocation.as 72 2006-09-01 00:33:02Z kluck $

Summary
com. kelvinluck. flashr. core. GeoLocationClass to describe the geographical location of a Photo on flickr.com.
ACCURACY_WORLDAn accuracy level of world.
ACCURACY_COUNTRYAn accuracy level of country.
ACCURACY_REGIONAn accuracy level of region.
ACCURACY_CITYAn accuracy level of city.
ACCURACY_STREETAn accuracy level of street.
latitudeThe latitude of this location.
longitudeThe longitude of this location.
accuracyRecorded accuracy level of this location information.
GeoLocationConstructor
toString

ACCURACY_WORLD

public static var ACCURACY_WORLD: Number

An accuracy level of world.

ACCURACY_COUNTRY

public static var ACCURACY_COUNTRY: Number

An accuracy level of country.

ACCURACY_REGION

public static var ACCURACY_REGION: Number

An accuracy level of region.

ACCURACY_CITY

public static var ACCURACY_CITY: Number

An accuracy level of city.

ACCURACY_STREET

public static var ACCURACY_STREET: Number

An accuracy level of street.

latitude

public var latitude: Number

The latitude of this location.

longitude

public var longitude: Number

The longitude of this location.

accuracy

public var accuracy: Number

Recorded accuracy level of this location information.  A number between 1 and 16 or one of ACCURACY_WORLD, ACCURACY_COUNTRY, ACCURACY_REGION, ACCURACY_CITY or ACCURACY_STREET.

Default value is ACCURACY_STREET.

GeoLocation

function GeoLocation(latitude: Number,
longitude: Number,
accuracy: Number)

Constructor

toString

public function toString():String
Class to describe a photo from Flickr.
public static var ACCURACY_WORLD: Number
An accuracy level of world.
public static var ACCURACY_COUNTRY: Number
An accuracy level of country.
public static var ACCURACY_REGION: Number
An accuracy level of region.
public static var ACCURACY_CITY: Number
An accuracy level of city.
public static var ACCURACY_STREET: Number
An accuracy level of street.
public var latitude: Number
The latitude of this location.
public var longitude: Number
The longitude of this location.
public var accuracy: Number
Recorded accuracy level of this location information.
function GeoLocation(latitude: Number,
longitude: Number,
accuracy: Number)
Constructor
public function toString():String