Showing and scrolling layers *** UPDATED Aug-26-2012 ***

In this section you can announce self-made paid extensions.
*** THIS SECTION CONTAINS PAID EXTENSIONS ONLY ***
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by [RZ] »

i took your project, just changed the library with a new startup method: *** link removed - issue solved ***
please note, i didn't install nor add the extension(s) you provided, two reasons: 1. i isolated the case to the maximum (or the minimum?) so as to know where the weird behavior is; and 2. this way i can ensure that the (my) extensions work smoothly with wb and as it is expected.
please stress the above link and tell me if it now works as you wanted (then, i will delete your files, as soon as i receive feedback from you).
Last edited by [RZ] on Wed Apr 03, 2013 5:31 pm, edited 1 time in total.
supersonictt
 
 
Posts: 398
Joined: Sun May 15, 2011 10:27 am

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by supersonictt »

I just tested the link you provided, no issues as they used to happen before :)
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by [RZ] »

ok, that sounds good...
i'm doing the last fine-tuning, check your inbox in one hour.
supersonictt
 
 
Posts: 398
Joined: Sun May 15, 2011 10:27 am

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by supersonictt »

Thank you so much :)
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by [RZ] »

mail sent.
just reinstall and tell me how it works (new options available, feedback is appreciated).
supersonictt
 
 
Posts: 398
Joined: Sun May 15, 2011 10:27 am

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by supersonictt »

Thanks a lot :)
I will test it thoroughly and let you know, but so far, on xampp, everything is working 100%
Sergio Morais
 
 
Posts: 21
Joined: Wed Aug 14, 2013 3:55 pm

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by Sergio Morais »

Hi guys.
Firstly let me apologise for the lack of skill beforehand.
I would like to develop something based on RZ's layers. His demo is great!
I have downloaded & installed the extensions, created layers, renamed them according to groups (group-a, group -b, etc), added the rz layers lib and tried a number of extensions (ocm, ocpn, etc), attributed open/close icons, but upon preview,, nothing happens.
Does not close or open; tried hiding the layers to see if the "open" command would scroll them into view, but nothing. When I place the mouse over the icon to hover, it just flickers incessantly.
I know there is something (or many things) that I am not doing right, because everybody else here has managed to do it.
At a complete loss..
Thx
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by [RZ] »

did you add the library?
did you properly add the object ids?
without seeing what you did is extremely difficult (or even impossible) to give a proper help...
Sergio Morais
 
 
Posts: 21
Joined: Wed Aug 14, 2013 3:55 pm

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by Sergio Morais »

Yes, I added the rz layers (lib) extension.
What I did was create 2 layers, named them group-a-1 & group-a-2 respectively.
Then I added the ocm/ocpn extensions alternatively.
Within each one I set the layer name prefix to group-a (thinking that the layers group-a-1 & group-a-2 would fall under that set of instructions)
I added plus and minus icons to open and close the layers group-a-1 and group-a-2.
When I preview, The layers are shown, or not, in accordance with whether or not they have been hidden, but the icons do nothing; Don't open or close the layers.
I always start off with something simple in order to get a grasp on things. This time I am stumped..
Must I add all the extensions to the project?
Thx
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by [RZ] »

have you read the info file?
without seeing what you did will be impossible to help you
group-a is an illegal name, please use group_a instead
Sergio Morais
 
 
Posts: 21
Joined: Wed Aug 14, 2013 3:55 pm

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by Sergio Morais »

OK.
I managed to get it working, SORT OF!
I added an oc extension per layer & the plus(open) and minus(close) options work..
So I have 2 "+"&"1" icons. Open and close makes the layer disappear/appear.
Is it possible to say click the "+" thereby showing layer1 & make it automatically disappear when clicking the other "+" regarding the layer2 thereby showing layer2 only and vice-versa?
Hope my question is not too confusing..
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by [RZ] »

again, have you read the info file?
if you want synchronized layers you should use oc2 instead of oc
oc2 allows you to group the layers so you can open and close the related ones
Sergio Morais
 
 
Posts: 21
Joined: Wed Aug 14, 2013 3:55 pm

Re: Showing and scrolling layers *** UPDATED Aug-26-2012 ***

Post by Sergio Morais »

On it!
Glad I am making some head way..
Will let you know..
Thx
Post Reply