NAME
HTTP::MobileAttribute::Plugin::Locator - location support
SYNOPSIS
use HTTP::MobileAttribute plugins => [qw/Locator/];
my $ma = HTTP::MobileAttribute->new($r);
$ma->get_location($r);
DESCRIPTION
This module is copy & pasted from HTTP::MobileAgent::Plugin::Locator.
METHODS
get_location([params], $option_ref);
return Geo::Coordinates::Converter::Point instance formatted if specify gps or basic location parameters sent from carrier. The parameters are different by each carrier.
This method accept a Apache instance, CGI instance or hashref of query parameters.
- $option_ref->{locator}
-
select locator class algorithm option.
LOCATOR_AUTO_FROM_COMPLIANT auto detect locator from gps compliant. This is default.
LOCATOR_AUTO auto detect locator class from params.
LOCATOR_GPS select GPS class.
LOCATOR_BASIC select BasicLocation class.
AUTHORS
copy & pasted by Tokuhiro Matsuno
HTTP::MobileAgent::Plugin::Locator is written by Yoshiki Kurihara