[OpenLayers-Users] Save jpg from actual Mapview

Pedro Baracho pedropbaracho at gmail.com
Thu Nov 12 13:06:28 EST 2009


I know it is not the solution you are asking for, but I would simply
alt+printscreen, winkey+R, "pbrush", enter, ctrl+v, crop the edges and
ctrl+s... that is 10-20s long. :P

On Thu, Nov 12, 2009 at 1:16 PM, Christopher Schmidt <
crschmidt at metacarta.com> wrote:

> On Thu, Nov 12, 2009 at 03:53:46PM +0100, Rahn Hanno (rahn) wrote:
> > Hello list,
> >
> >
> >
> > I have another question to you. Perhaps you can help me. I will have a
> simple
> > imgage (jpg, png, gif, ...) from my mapview. I will have a button on my
> side
> > and if the user presses this button you can save the actual mapview with
> all
> > shown layers in the shown scale and so on as an image. Like a screenshot
> from
> > the map-div for example. The format is not so important. I don't know if
> it
> > is possible. Perhaps this is not the right forum, but perhaps somebody
> can
> > help me.
>
> It is not possible to do this (universally) in the browser. You will need
> to serialize your data to a service that can generate an image for you;
> MapFish has a 'print' module which I believe accomplishes this task.
>
> -- Chris
>
> >
> >
> >
> > A lot of thanks to you for your help.
> >
> > Greetings
> >
> > Hanno
> >
> >
> >
> > ------------------------------------------
> >
> > Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
> >
> > ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und
> Natürliche Ressourcen
> >
> > Fachstelle Geoinformatik
> >
> > Grüental, Postfach CH-8820 Wädenswil
> >
> > Tel +41 (0)58 934 5592
> >
> > Fax +41 (0)58 934 5580
> >
> > hanno.rahn at zhaw.ch
> >
> >
> >
> >
> >
>
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
>
>
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091112/3255a9d7/attachment.html


More information about the Users mailing list