payprop / html-googlemaps-v3

Fork of HTML::GoogleMaps to fix issues
2 stars 1 forks source link

NAME

HTML::GoogleMaps::V3 - a simple wrapper around the Google Maps API

Build Status Coverage Status

VERSION

0.16

SYNOPSIS

use HTML::GoogleMaps::V3

$map = HTML::GoogleMaps::V3->new;
$map->center("1810 Melrose St, Madison, WI");
$map->add_marker(point => "1210 W Dayton St, Madison, WI");
$map->add_marker(point => [ 51, 0 ] );   # Greenwich

my ($head, $map_div) = $map->onload_render;

NOTE

This module is forked from HTML::GoogleMaps and updated to use V3 of the API. Note that the module isn't quite a drop in replacement, although it should be trivial to update your code to use it.

Note that V3 of the API does not require an API key, however you can pass one and it will be used (useful for analytics).

Also note that this library only implements a subset of the functionality available in the maps API, if you want more then raise an issue or create a pull request.

DESCRIPTION

HTML::GoogleMaps::V3 provides a simple wrapper around the Google Maps API. It allows you to easily create maps with markers, polylines and information windows. Thanks to Geo::Coder::Google you can now look up locations around the world without having to install a local database.

CONSTRUCTOR

METHODS

SEE ALSO

https://developers.google.com/maps/documentation/javascript/3.exp/reference

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. If you would like to contribute documentation, features, bug fixes, or anything else then please raise an issue / pull request:

https://github.com/Humanstate/html-googlemaps-v3

AUTHORS

Nate Mueller nate@cs.wisc.edu - Original Author

Lee Johnson leejo@cpan.org - Maintainer of this fork

Nigel Horne - Contributor of several patches