P
p.tilhoo
Hello there,
I am a programmer mostly using c# and just started using Javascript.
I am trying to use prototype to declare and use an object and having
difficulties in coding for nested objects.
Basically my object called layercontrol will contain and array of
layergroup which in turn contains map layer objects. The layergroup
and layer object should be just like any object of properties and
methods.
I should be able to access each layergroup in my object and within
each layergroup, I should be able acess each layer object.
the concept is simple, but am jut struggling !!
Any help from you guys is most welcome.
look forward to hearing from you.
Thank you very much in advance.
I am a programmer mostly using c# and just started using Javascript.
I am trying to use prototype to declare and use an object and having
difficulties in coding for nested objects.
Basically my object called layercontrol will contain and array of
layergroup which in turn contains map layer objects. The layergroup
and layer object should be just like any object of properties and
methods.
I should be able to access each layergroup in my object and within
each layergroup, I should be able acess each layer object.
the concept is simple, but am jut struggling !!
Any help from you guys is most welcome.
look forward to hearing from you.
Thank you very much in advance.