Allen Day > Geo-Google-0.05 > Geo::Google::Location

Download:
Geo-Google-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  0
View/Report Bugs
Module Version: 0.04-rc3   Source  

NAME ^

Geo::Google::Location - A geographical point

SYNOPSIS ^

  use Geo::Google::Location;
  # you shouldn't need to construct these yourself,
  # have a Geo::Google object do it for you. 

DESCRIPTION ^

OBJECT METHODS ^

Geo::Google::Location objects provide the following accessor methods

 Method      Description
 ------      -----------
 icon        an icon to use when drawing this point.
 id          a unique identifier for this point.
 infostyle   determines how a pop-up info window callout for a plotted point is displayed in Google Maps or Google Earth
 latitude    latitude of the point, to hundred-thousandth degree precision.
 lines       a few lines describing the point, useful as a label
 longitude   longitude of the point, to hundred-thousandth degree precision.
 title       a concise description of the point.
 toXML       a method that renders the point in XML format for use in 
             Google Earth KML files.
 toJSON      a method that renders the point in JSON format for use
             with the Google Maps API.

SEE ALSO ^

Geo::Google

AUTHOR ^

Allen Day <allenday@ucla.edu>, Michael Trowbridge <michael.a.trowbridge@gmail.com>

COPYRIGHT AND LICENSE ^

Copyright (c) 2004-2007 Allen Day. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: