WebService::GoogleMaps 0.07
Sponsored Links
WebService::GoogleMaps 0.07 Ranking & Summary
File size:
0.011 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1071
Date added:
2006-11-24
Publisher:
Karl Lohner
WebService::GoogleMaps 0.07 description
WebService::GoogleMaps is an automated interface to Google Maps.
SYNOPSIS
use WebService::GoogleMaps;
# Set up a new object with a viewport of 640 x 480 pixels
my $gmap = WebService::GoogleMaps->new( 640, 480 );
# Specify a location to view
$gmap->set(
latitude => 40.750275,
longitude => -73.993034,
zoom_level => 4, # valid values are 0..14, lower value is more zoomed
cache_dir => "/tmp", # optional, but recommended! Helps speed up future requests
pan_x => 0, # move viewport to the east (+) or west (-) a number of pixels
pan_y => 0, # move viewport to the south (+) or north (-) a number of pixels
);
# create a GD object containing our bitmapped map object
$gmap->generate_gd();
# or simply
# $gmap->generate_gd(40.750275, -73.993034, 4); # latitude, longitude, zoom_level
my $error = $gmap->error();
$error && print "Error: $errorn";
open (FH, ">", "mymap.png");
binmode FH;
print FH $gmap->{gd}->png;
close(FH);
WebService::GoogleMaps provides an automated interface to Google Maps http://maps.google.com/, which provides free street maps of locations in the USA and Canada. This module allows you to specify an image size, latitude, longitude, and zoom level and returns a GD object containing a street level map.
SYNOPSIS
use WebService::GoogleMaps;
# Set up a new object with a viewport of 640 x 480 pixels
my $gmap = WebService::GoogleMaps->new( 640, 480 );
# Specify a location to view
$gmap->set(
latitude => 40.750275,
longitude => -73.993034,
zoom_level => 4, # valid values are 0..14, lower value is more zoomed
cache_dir => "/tmp", # optional, but recommended! Helps speed up future requests
pan_x => 0, # move viewport to the east (+) or west (-) a number of pixels
pan_y => 0, # move viewport to the south (+) or north (-) a number of pixels
);
# create a GD object containing our bitmapped map object
$gmap->generate_gd();
# or simply
# $gmap->generate_gd(40.750275, -73.993034, 4); # latitude, longitude, zoom_level
my $error = $gmap->error();
$error && print "Error: $errorn";
open (FH, ">", "mymap.png");
binmode FH;
print FH $gmap->{gd}->png;
close(FH);
WebService::GoogleMaps provides an automated interface to Google Maps http://maps.google.com/, which provides free street maps of locations in the USA and Canada. This module allows you to specify an image size, latitude, longitude, and zoom level and returns a GD object containing a street level map.
WebService::GoogleMaps 0.07 Screenshot
Advertisements
WebService::GoogleMaps 0.07 Keywords
WebService
GoogleMaps
Google Maps
FH
GoogleMaps 0.07
Maps
interface to google maps
To google
interface to
interface
gd
google
automated
object
level
WebService::GoogleMaps
Bookmark WebService::GoogleMaps 0.07
WebService::GoogleMaps 0.07 Copyright
WareSeeker periodically updates pricing and software information of WebService::GoogleMaps 0.07 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of WebService::GoogleMaps 0.07 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
google toolbar
google maps satellite
touch interface
google maps directions
google mapquest driving directions google maps
go to google home
c# webservice
google maps mobile
web services
maps google
google maps api
go to google
google maps street view
google maps usa
map googlemaps
web service netbeans
webservices
google maps australia
Related Software
WebService::Google::Sets is a Perl access to Google Labs Sets site. Free Download
WebService::GoogleHack is a Perl package that ties together all GoogleHack modules. Free Download
WebService::Google::Suggest is a Perl module for Google Suggest as an API. Free Download
WebService::GoogleHack::Search is a Perlmodule used to query Google. Free Download
WebService::Geograph::API is a Perl interface to the Geograph.co.uk API. Free Download
WebService::GoogleHack::Rate is a Perl module that implements a simple relatedness measure and semantic orientation. Free Download
WebService::GoogleHack::Text is a Perl module that implements some basic text processing such as parsing data etc. Free Download
WebService::GoogleHack::Spelling is a Perl module that retrieves spelling suggestion given a string. Free Download
Latest Software
Popular Software
Favourite Software