<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br><div>Thanks for the reply.<br></div><br>So how can i do that with javascript ? Yes, i have my own custom wms service.<br><br>I want to be able to download the map using javascript like you said.<br><br>Cheers.<br><br>> From: marco.ferretti@fermasoft.com<br>> To: kwonghu@hotmail.com<br>> Subject: re: [OpenLayers-Users] FW: Download image(bitmap)<br>> Date: Sat, 18 Apr 2009 09:52:43 +0200<br>> <br>> Hi<br>> <br>> I don't think i understood your question .... if you want to<br>> be able to download stuff that you see you have several<br>> options ( depending on how you created the map ... aka how<br>> many layers you have ) ; I think what you are looking for is<br>> a link that has to contain the same stuff you send to the<br>> WMS server . That shall be quite easy using Javascript . As<br>> of C# : i don't think you have to deal with it since what<br>> you see ( the maps ) is the result of an http request made<br>> client side thus, unless you create a wrapper that submits<br>> your server side code all the infos you need, you can do<br>> very little with that.<br>> <br>> hope it helps <br>> <br>> Marco<br>> ----- Original Message -----<br>> Da : Kwong Hu Kiu <kwonghu@hotmail.com><br>> A : <users@openlayers.org>, <dev@openlayers.org><br>> Oggetto : [OpenLayers-Users] FW: Download image(bitmap)<br>> Data : Sat, 18 Apr 2009 13:22:52 +0800<br>> <br>> > Hi,<br>> > <br>> > Any solution to my question below?<br>> > <br>> > Sorry i have to send it to dev@openlayers.org. Hopefully,<br>> > i can get some replies.<br>> > <br>> > Regards.<br>> > <br>> > From: kwonghu@hotmail.com<br>> > To: users@openlayers.org<br>> > Date: Thu, 16 Apr 2009 21:20:53 +0800<br>> > Subject: [OpenLayers-Users] Download image(bitmap)<br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > Hi,<br>> > <br>> > Currently, I am using WMS service to display maps on<br>> > openlayers. I am wondering if it's possible to allow<br>> > users to download the bitmap(Map) they are seeing.<br>> > <br>> > Is it supported with openlayers ? or is it possible to use<br>> > c# code and interact with openlayers javascript?<br>> > <br>> > Interacting c# and javascript is something I have no idea.<br>> > <br>> > Please shed lights.<br>> > <br>> > Cheers. <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > _______________________________________________<br>> > Users mailing list<br>> > Users@openlayers.org<br>> > http://openlayers.org/mailman/listinfo/users<br>> > <br>> > [Allegato : ATT00000]<br></body>
</html>