MapTools.org

[Chameleon] Scalebar problem for PrintWidget

Rene Teniere TENIERER@gov.ns.ca
Fri, 30 Jan 2004 11:31:40 -0400
Hi All,

For those of you who have been having problems with the scalebar in the
PrintWidget causing an error when trying to print a map, or download it,
here is a temporary fix:

In preview.php, find this line:

$oImage->pasteImage( $oScalebarImage, 0xffffff, $nX, $nY);

And change it to:
$oImage->pasteImage( $oScalebarImage, -1, $nX, $nY);

Hope this helps.

Rene

Rene J.R. Teniere - BSc., D.GIS
GIS Technician
Nova Scotia Department of Natural Resources
Forestry Division (GIS) - Truro

Phone: (902) 893-5655
Mobile: (902) 209-8956


This archive was generated by Pipermail.