[OpenLayers-Users] Updating URL before sending to server
Kumar Mettu
mksreddy at yahoo.com
Thu Sep 11 03:18:44 EDT 2008
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 <mksreddy at yahoo.com> 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
> richard.greenwood at gmail.com
> www.greenwoodmap.com
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> 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.
More information about the Users
mailing list