I think what you want is:
1.  see if layer.visible = true
2.  see if the bounds of the layer intersect the bounds of the current map
window. Layer.bounds and map.bounds both return rectangle objects.
IntersectionTest (layerbounds,mapbounds,testtype) will show whether the
layer intersects the map window.
3. A more thorough test if the layer does intersect would be to check all
objects within the layer, within the map window.

Phil.

----- Original Message -----
From: "ilker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 20, 2002 4:42 AM
Subject: MI-L MapX: Check isLayerVisible?


> How do I check is layer showing Dynamicly or hiding?
>
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 3143
>


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 3148

Reply via email to