Richard, I am looking for a way to modify the URL Path. In this case bbox value need to be part of request URI rather than a parameter. Is there a way to do that?
Thanks, Kumar. Richard Greenwood wrote: > > On Sun, Aug 31, 2008 at 10:47 PM, Kumar Mettu <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I am looking for a way to update the URL that is sent to server to get >> a >> tile. In simple terms I need to update the BBOX value based on actions >> performed by user in JavaScript. >> I see OpenLayers has FAQ on related topic : >> >> http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#HowcanIseetheURLstringthatOpenLayersissendingtoaWMSserver >> >> This is not of my much for what I want to do. Any help is appreciated. >> >> Thanks, >> Kumar. > > Not sure if this would help in your case but look at mergeNewParams() e.g. > > yourLayer.mergeNewParams({ > map_imagetype: "JPEG" > }); > > would change the the image type of yourLayer. > > -- > Richard Greenwood > [EMAIL PROTECTED] > www.greenwoodmap.com > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > -- View this message in context: http://www.nabble.com/Updating-URL-before-sending-to-server-tp19248864p19429195.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
