<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br>Hi<br><div><br></div>Very sorry about the lack of information.<br><br>Yes, it's a single tile map (using the SingleTile option = true).<br>I am expecting exactly what the browser can see. <br>In this case i am displaying a single tile jpeg image on the browser requested through the wms service.<br><br>I do not want download the base layer. Just those layers i have IsBaseLayer=false.<br>In my case. I only have 1 baselayer and 1 non-baselayer.<br><br>Thanks.<br><br>> From: marco.ferretti@fermasoft.com<br>> To: users@openlayers.org<br>> Date: Sat, 18 Apr 2009 10:13:27 +0200<br>> Subject: Re: [OpenLayers-Users] FW: Download image(bitmap)<br>> <br>> Hi<br>> <br>> first of all you have to tell us a little bit more on how<br>> you create your map : is it a single layer map or a<br>> multilayer map ? then we need to know if you are getting the<br>> map in single tile mode or in multi tile mode. Then we need<br>> to know what you expect in the image(s) you download : do<br>> you expect your users to be able to download exactly what<br>> their browser show ( this would mean as many images as many<br>> tiles * number of layers ) or do you expect to have one<br>> single image that contains the layers merged together ? <br>> <br>> Regards, <br>> <br>> Marco<br>> ----- Original Message -----<br>> Da : Kwong Hu Kiu <kwonghu@hotmail.com><br>> A : <marco.ferretti@fermasoft.com>, <users@openlayers.org><br>> Oggetto : RE: [OpenLayers-Users] FW: Download image(bitmap)<br>> Data : Sat, 18 Apr 2009 16:07:30 +0800<br>> <br>> > Thanks for the reply.<br>> > <br>> > So how can i do that with javascript ? Yes, i have my own<br>> > custom wms service.<br>> > <br>> > I want to be able to download the map using javascript<br>> > 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<br>> > > image(bitmap) Date: Sat, 18 Apr 2009 09:52:43 +0200<br>> > > <br>> > > Hi<br>> > > <br>> > > I don't think i understood your question .... if you<br>> > > want to be able to download stuff that you see you have<br>> > > several options ( depending on how you created the map<br>> > > ... aka how many layers you have ) ; I think what you<br>> > > are looking for is a link that has to contain the same<br>> > > stuff you send to the WMS server . That shall be quite<br>> > > easy using Javascript . As of C# : i don't think you<br>> > > have to deal with it since what you see ( the maps ) is<br>> > > the result of an http request made client side thus,<br>> > > unless you create a wrapper that submits your server<br>> > > side code all the infos you need, you can do very little<br>> > > with that. <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.<br>> > > > Hopefully, 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<br>> > > > use c# code and interact with openlayers javascript?<br>> > > > <br>> > > > Interacting c# and javascript is something I have no<br>> > > > idea. <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>> > <br>> _______________________________________________<br>> Users mailing list<br>> Users@openlayers.org<br>> http://openlayers.org/mailman/listinfo/users<br></body>
</html>