Geo::Google::Location - A geographical point
use Geo::Google::Location; # you shouldn't need to construct these yourself, # have a Geo::Google object do it for you.
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.
Geo::Google
Allen Day <allenday@ucla.edu>, Michael Trowbridge <michael.a.trowbridge@gmail.com>
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.
To install Geo::Google, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Google
CPAN shell
perl -MCPAN -e shell install Geo::Google
For more information on module installation, please visit the detailed CPAN module installation guide.