[ka-Map-users] print system
lorenzo at ominiverdi.com
Fri Jun 16 08:58:49 EDT 2006
I first did a checkbox interface but this was simpler to manage.
There's still things to do and a better interface is in the list.
For the PDF print sistem I would like to add informations under the
image. That's where portrait or landscape is important. For normal
image output dimensions are related to the viewport.
On 16/giu/06, at 15:51, Stephen Woodbridge wrote:
> Very nice!, It might be nice to have an option on the image type
> selection page that would also let you select portrait or landscape.
> One idea would be to make that page look a little bit like the
> printer dialog and put the image types in a drop down select and
> and have a portrait/landscape select or radio control. Just an
> idea, that make more work ;).
> Lorenzo Becchi wrote:
>> Implementation of a printing system.
>> Actually you can choose between GIF, JPG, PNG.
>> PDF output with FPDF lib (no PDF server support needed) not yet
>> GeoTiff output not yet implemented.
>> Print output is related to viewport but image extent
>> correspondance in not yet perfect (comments are welcome).
>> It's acting as a normal mapserver application without using ka-map
>> it would be nice to implement a system that use precached tiles.
>> Image width is customizable inside the application.
>> Edit myPrint function inside startUp.js , img_width variable.
>> Default 600 (px).
>> I've put a $max_width value inside print_map.php to avoid server
>> hackings (default: 1000 px).
>> Height is calculated from viewport proportion.
>> demo here:
>> everything in the CVS
>> ka-Map-users mailing list
>> ka-Map-users at lists.maptools.org
More information about the ka-Map-users