NAME

WWW::PlaceEngine::Object - Result object of WWW::PlaceEngine.

SYNOPSIS

use WWW::PlaceEngine;

my $wpl = WWW::PlaceEngine->new();

my $loc = $wpl->get_location() or die $wpl->errcode;

my ($lat,$long) = ($loc->lat,$loc->long);

DESCRIPTION

This module is not used directly. get_location method of WWW::PlaceEngine returns this object.

METHODS

lat()

returns latitude of PC's location.

long()

returns longitude of PC's location.

numap()

returns number of APs, using to survey PC's location.

addr()

returns address string of PC's location.

floor()

returns floor of PC's location.

t()

returns time of surveying PC's location(seconds from Jan/1/1970 0:00:00 UTC).

msg()

returns message string from PlaceEngine API host.

range()

mean of this value is not clearly known, but maybe information of accuracy. unit of this value is meter.

SEE ALSO

http://www.placeengine.com/ WWW::PlaceEngine

AUTHOR

OHTSUKA Ko-hei, <nene[at]kokogiko.net>

COPYRIGHT AND LICENSE

Copyright 2006 by OHTSUKA Ko-hei

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.