[OpenLayers-Users] Print / Saving Image

Ian iansgis at gmail.com
Tue Oct 14 15:52:51 EDT 2008


>
> Correction for the sake of the list:  the tiles were being layered
> correctly, however MapServer background color settings to mimic the ocean
> made it appear otherwise (eg. IMAGECOLOR 60 100 145). The solution was to
> set this background color to transparent:
>
> $transparent = imagecolorallocatealpha($image,60,100,145,127);
>
> Now that this is working I've noticed that for overlays there is a
> consistent SE shift of the data. Has anyone else experienced this?
>


Again for the sake of the list: I was setting the "gutter" option on several
layers in OL and that was causing the shift in positions.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081014/57c1fa99/attachment.html


More information about the Users mailing list