/[maps]/lib/Net/Analysis/Listener/Maps.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/Net/Analysis/Listener/Maps.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 34 by dpavlin, Fri Dec 7 03:03:42 2007 UTC revision 35 by dpavlin, Mon Sep 29 13:43:37 2008 UTC
# Line 19  sub http_transaction { Line 19  sub http_transaction {
19          if ( $req->uri() =~ m!/GElin/MapSrv\.aspx\?lwM=(\d+)&twM=(\d+)&zf=(\d+)! ) {          if ( $req->uri() =~ m!/GElin/MapSrv\.aspx\?lwM=(\d+)&twM=(\d+)&zf=(\d+)! ) {
20                  # Mireo                  # Mireo
21                  $file = "$3/$1-$2.gif";                  $file = "$3/$1-$2.gif";
22          } elsif ( $req->uri() =~ m!/mt\?.*x=(\d+)&y=(\d+)&zoom=(\d+)! ) {          } elsif ( $req->uri() =~ m!/mt\?.*x=(\d+).*?&y=(\d+).*?&z=(\d+)! ) {
23                  # Google maps                  # Google maps
24                  $file = "$3/$1-$2.png";                  $file = "$3/$1-$2.png";
25          } elsif ( $req->uri() =~ m!/aerial.maps.yimg.com/img.*&x=(\d+)&y=(\d+)&z=(\d+)&v=1\.7! ) {          } elsif ( $req->uri() =~ m!/aerial.maps.yimg.com/img.*&x=(\d+)&y=(\d+)&z=(\d+)&v=1\.7! ) {

Legend:
Removed from v.34  
changed lines
  Added in v.35

  ViewVC Help
Powered by ViewVC 1.1.26