Lizmap-web-client: LWC tools should respect the layers order defined by the plugin

Created on 7 Feb 2017  路  24Comments  路  Source: 3liz/lizmap-web-client

  • locate layer
  • attribute table
  • tooltip layers
  • selection
    ...

it seems to me that the layers order is random within the respective tools dock...

bug low priority

All 24 comments

moreover, in the case of the tooltip the first layer of the list could be the default layer (*) to be displayed on the tool dock

(*) or there is a possibility in the plugin to set the default layer (or no default layer)

order respected for

  • [x] edition ( 99908e6 and 686d5b8 )
  • [x] attribute table
  • [x] locate by layer
  • [x] tooltip layers
  • [x] selection
  • [ ] dataviz
  • [ ] time manager

hi

please, could you fix the next item (attribute table)?
it's very useful for organizing the layers list by themes

thanks in advance

just for remember you @rldhont @mdouchin :-)

@josemvm layers order in attribute table works ok for me. Can you test ?

hi @nboisteault

look at montpellier project:

imagem

imagem

thanks

@josemvm You're right.
"attribute table" fixed by https://github.com/3liz/lizmap-web-client/pull/978.
Can you test it ?

Layer order in every tools has been fixed.
@josemvm : please test and tell us if it is ok. Thanks.

thank you so much @nboisteault
everythin works fine!!! :-)

if you can take a look at time manager tool and dataviz...

@josemvm : I'm glad you enjoy this fix :-)
Time manager and dataviz... are there any other tool that need to be sorted ?

hi @nboisteault

no, that's all!
go ahead on time manager and dataviz module 馃憤

thanks

There is a problem in the edition tool because of the order key is interpreted as string and not as numeric value.

So if you have
0, 1, 2 [..], 10
in the txt file

the online order is
0,1,10,11..,2,20, etc.

@nboisteault you have a regression here https://github.com/3liz/lizmap-web-client/pull/1552

@josemvm please be more explicit...

@nboisteault sorry
in your enhanced selection tool, the layers list appears in a random order and not as given by creation order in lizmap plugin

@josemvm I can't reproduce your issue.

@nboisteault please try here http://pdm-revisao.municipioarraiolos.pt/index.php/view/map/?repository=ma&project=queimasQueimadas

compare the layers order in table attributes with layers order in selection tool

check your mmailbox for credentials

@josemvm Can you update Lizmap plugin and save your project ? The order should be updated in the cfg and be correct in LWC.

@josemvm forget what I said I see the problem.

@josemvm The issue should not happen when saving with the new version of Lizmap plugin but I added some code to assert correct behavior : https://github.com/3liz/lizmap-web-client/commit/75de4a38fcbb7094472e02f217fae1c617c97ef1

@nboisteault thanks
can you update the unstable release here https://packages.3liz.org/pub/lizmap/unstable/3.4/

everything is ok now! 馃憤

@josemvm It seems order is respected for dataviz at least in master, can you confirm?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cocro picture cocro  路  7Comments

josemvm picture josemvm  路  3Comments

robibrazze picture robibrazze  路  5Comments

saeri-ims picture saeri-ims  路  12Comments

pcav picture pcav  路  5Comments