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<br><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 1:16 PM, Christopher Schmidt <span dir="ltr"><<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Thu, Nov 12, 2009 at 03:53:46PM +0100, Rahn Hanno (rahn) wrote:<br>
> Hello list,<br>
><br>
><br>
><br>
> I have another question to you. Perhaps you can help me. I will have a simple<br>
> imgage (jpg, png, gif, ...) from my mapview. I will have a button on my side<br>
> and if the user presses this button you can save the actual mapview with all<br>
> shown layers in the shown scale and so on as an image. Like a screenshot from<br>
> the map-div for example. The format is not so important. I don't know if it<br>
> is possible. Perhaps this is not the right forum, but perhaps somebody can<br>
> help me.<br>
<br>
</div>It is not possible to do this (universally) in the browser. You will need<br>
to serialize your data to a service that can generate an image for you;<br>
MapFish has a 'print' module which I believe accomplishes this task.<br>
<br>
-- Chris<br>
<div class="im"><br>
><br>
><br>
><br>
> A lot of thanks to you for your help.<br>
><br>
> Greetings<br>
><br>
> Hanno<br>
><br>
><br>
><br>
> ------------------------------------------<br>
><br>
> Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik<br>
><br>
> ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen<br>
><br>
> Fachstelle Geoinformatik<br>
><br>
> Grüental, Postfach CH-8820 Wädenswil<br>
><br>
> Tel +41 (0)58 934 5592<br>
><br>
> Fax +41 (0)58 934 5580<br>
><br>
> <a href="mailto:hanno.rahn@zhaw.ch">hanno.rahn@zhaw.ch</a><br>
><br>
><br>
><br>
><br>
><br>
<br>
</div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<font color="#888888"><br>
<br>
--<br>
Christopher Schmidt<br>
MetaCarta<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</font></blockquote></div><br>