mapscript removestyle() help

krishna S kris_rock82 at YAHOO.COM
Tue Feb 7 17:41:37 EST 2006


Hello all, i was trying to remove the styles object from the styles array
using php mapscript and i couldnt get the syntax for it.

i dont know if these lines need some thing else

         $layername = $map->getLayerByName("somelayer");
         $class = $layername->getClass(0);
         $style = ms_newStyleObj($class);
         $temp = $class.removeStyle(0);

Could anyone suggest me with this ....

-kris



More information about the mapserver-users mailing list