[OpenLayers-Users] best way to convert an OL map to a static map ?

Julien Cigar jcigar at ulb.ac.be
Wed Aug 31 08:55:27 EDT 2011


Hello,

I have a webapp where the user wants to be able to download a "static 
version" of the displayed OL map, and I wondered what's the best way to 
do it ..?

I'm using PostGIS/Mapserver and a (dynamically generated) SLD stylesheet.

I planned to simply use the &mode=map of Mapserver, problem is that SLD 
is only supported with WMS requests, so I have to translate my SLD to 
MAP syntax (classes, styles, etc).. which I like to avoid.

So I wondered if there is a better way to do than playing with the URL 
parameters (BBOX, LAYERS, etc)? Also, I would like to keep the 
'attribution' propert(y|ies) of the active(s) layer(s) if possible (I 
use this property to put a custom logo on the map).

Thanks,
Julien

-- 
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jcigar.vcf
Type: text/x-vcard
Size: 292 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110831/05946bfb/jcigar-0001.vcf


More information about the Users mailing list