[OpenLayers-Users] Save jpg from actual Mapview
Christopher Schmidt
crschmidt at metacarta.com
Thu Nov 12 10:16:06 EST 2009
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
More information about the Users
mailing list