I tied to use your advice About mapContext.beginAtomicEvent() and
mapContext.endAtomicEvent() but it didn't help :(
By the way, thanks for the advice!
2010/5/5 Francisco José Peñarrubia :
> Hi Flavio.
>
> I didn't test your code, but maybe you are missing
> mapContext.beginAtomicEvent() and mapCon
Hi Flavio.
I didn't test your code, but maybe you are missing
mapContext.beginAtomicEvent() and mapContext.endAtomicEvent().
I have something like this, and it works:
mc.getMapContext().beginAtomicEvent();
final FLayers mcLayers = mc.getMapContext().getLayers();
Il 05/05/2010 15.12, Flavio Pompermaier ha scritto:
> I have neither SmartOrderManager nor org.gvsig.layerLoadingOrder
> package in my gvSIG version ...:(
Flavio, checkout this:
http://forge.osor.eu/plugins/scmsvn/viewcvs.php/trunk/extensions/extLayerLoadingOrder/?root=gvsig-desktop
ciao
> 2010/
I have neither SmartOrderManager nor org.gvsig.layerLoadingOrder
package in my gvSIG version ...:(
2010/5/5 Antonio Falciano :
> Il 05/05/2010 13.31, Flavio Pompermaier ha scritto:
>> Thanks Antonio for your reply. Unfortunately I don't understand your
>> suggestion..Should I create my own OrderMa
Il 05/05/2010 13.31, Flavio Pompermaier ha scritto:
> Thanks Antonio for your reply. Unfortunately I don't understand your
> suggestion..Should I create my own OrderManager just to put new
> layers on the bottom of the TOC??
No, I was referring to the two different managers of layer ordering:
Defa
Thanks Antonio for your reply.
Unfortunately I don't understand your suggestion..Should I create my
own OrderManager just to put new layers on the bottom of the TOC??
The strange thing is the possibility to call Flayers.addLayer(0,
layer) and ignoring the passed position paramenter...isn't it?
201
Il 05/05/2010 11.46, Flavio Pompermaier ha scritto:
> Hi to all,
> I'm using gvSIG 1.9 revision 1253 and I have some trouble whit layer
> positioning.
> I have a list of layer to add on login and, if this layer is not
> present, I want to add it on the bottom of the toc and not on top as
> default.
Sorry but I have to correct my previous email:
when I add the layer I try to put it on the bottom of the TOC:
flayers.addLayer(0,createLayerInView(workLayer, projection));
2010/5/5 Flavio Pompermaier :
> Hi to all,
> I'm using gvSIG 1.9 revision 1253 and I have some trouble whit layer
> positioni
Hi to all,
I'm using gvSIG 1.9 revision 1253 and I have some trouble whit layer
positioning.
I have a list of layer to add on login and, if this layer is not
present, I want to add it on the bottom of the toc and not on top as
default.
However, if I use Flayers.addLayer(0, layer) it is not added at