[ka-Map-users] lost transparency using precache.php with agg-support - solution

Roman Meier kamap at gismap.ch
Wed Jul 9 12:54:53 EDT 2008


Hi folks

Transparency gets lost when using precache.php and agg-support. My quick and
dirty solution is to do the following change to precache.php around line 160:

before:
$theURL = $tileURL . "?s=$scale&t=" . ($metaMinY + ($vertInded * $mapHeight)) .
"&l=" . ($metaMinX + ($horizIndex * $mapWidth)) . "&map=$mapKey&g=" .
urlencode($groupName) . $forceOpt;

after:
$theURL = $tileURL . "?s=$scale&t=" . ($metaMinY + ($vertInded * $mapHeight)) .
"&l=" . ($metaMinX + ($horizIndex * $mapWidth)) . "&map=$mapKey&g=" .
urlencode($groupName) . "&i=AGGA" . $forceOpt;

Works for me...

Kind regards,
Roman



More information about the ka-Map-users mailing list