projects
/
google-map-tiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix count from query if needed
[google-map-tiles.git]
/
tiles.pl
diff --git
a/tiles.pl
b/tiles.pl
index
00f2f4c
..
31f8fec
100755
(executable)
--- a/
tiles.pl
+++ b/
tiles.pl
@@
-185,6
+185,9
@@
while ( ($zoom,$tilex,$tiley) = $sth->fetchrow_array )
$imicon = $imicon1 ;
}
$imicon = $imicon1 ;
}
+ my $custom_icon = "$name/icons/$zoom.png";
+ $imicon = GD::Image->newFromPng( $custom_icon ) if -e $custom_icon;
+
$sti = $dbh->prepare("select latpix,lngpix from gvp_world_tiles where zoom = $zoom and tilex = $tilex and tiley = $tiley") ;
$sti->execute ;
$sti = $dbh->prepare("select latpix,lngpix from gvp_world_tiles where zoom = $zoom and tilex = $tilex and tiley = $tiley") ;
$sti->execute ;