[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Antwort: Re: [udig-devel] change layer and bounding box in one command | 
A compound comand is not possible with these two commands: I got errors. 
 I will try it with my own command. 
thank you
tony roth
 
-----udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx schrieb: -----
An: User-friendly Desktop Internet GIS <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
Von: Jody Garnett <jgarnett@xxxxxxxxxxxxxxx>
Gesendet von: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx
Datum: 04.06.2007 09:26PM
Thema: Re: [udig-devel] change layer and bounding box in one command
I think you can do a compound command.
You can also make your own custom command and change both things in one 
go...
Jody
> Hi list,
> I want to do programatically these two things with just one wms request
> a) change a layer set (change the wms server)
> b) change the boundingbox of the map
>  
> a) is realized with the "createManyLayers(List)" command
> b) is realized with the 
> Navigation...createSetViewportBBoxCommand(Envelope)
>  
> if a) happens before b) then I got two wms request: one with the old 
> bounding box and one with the new. this happens only when the  
> createManyLayers command is Sync. If it is ASync the second command 
> has no effect and I have the old bounding box.
>  
> if b) happens before a) then I have also problems since the bounding 
> box is not correct set.
>  
> How can execute both commands without having two wms requests?
>  
> we are still using udig 1.1RC8
>  
> tony roth
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>   
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel