![]() |
||||
|
|
||||
[Chameleon] Layer Object Status PropertyRene Teniere TENIERER@gov.ns.caTue, 10 Feb 2004 14:18:09 -0400
|
||||
Hi List, hopefully someone can answer me this question:
For the code to dynamically turn on and off the layers:
if($nTRTCDE[0]==228||$nTRTCDE[0]==227||$nTRTCDE[0]==220)
{
//Turn on the applicable layer
$myLayer = "Planting";
$oLayer = $this->moMapObject->oMap->getLayerByName($myLayer);
$oLayer->set("status", MS_ON);
}
The only status property that works for me is MS_DELETE, the others do
not work. What's up with this?
Rene
Rene J.R. Teniere - BSc., D.GIS
GIS Technician
Nova Scotia Department of Natural Resources
Forestry Division (GIS) - Truro
Phone: (902) 893-5655
Mobile: (902) 209-8956
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |