Hello Group,

I have two classes A and B and I have a property called isReady on class
A.Now, I want to access this property value from within Class B. How to do
this. I saw few other instances of this in OpenLayers like

OpenLayers.Map.XYZ etc

in the similar fashion

I did something like

console.log( OpenLayers.Control.SlMarkUp.isMarkUp  ) in ClickHandler Class.
Irrespective of the value in isMarkUp, the log always shows undefined. What
could be the reason for that ?? Can we not access the value of one class
property from within another class ?

FYI

SlMarkUp and ClickHandler are the two classes inheriting from
OpenLayers.Control


Any help ??

Thanks,
Kalyan
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to