<div dir="ltr">
Hello,<br><br>I am testing MapServer 7.4.<br>I'm trying to modify in PHP the pattern of a styleObj via SWIG Mapscript.<br><br>I'm trying this :<br>$aPattern = [ 10.0, 10.0 ];<br>$styleObj->__set('pattern', $aPattern);<br><br>But I get this error.<br><div>Fatal error: Type error in argument 2 of styleObj_pattern_set. <br></div><div>Expected SWIGTYPE_p_double in mapscript.php on this line :</div>if (function_exists($func)) return call_user_func($func,$this->_cPtr,$value);<br><br>In PHP, SWIGTYPE_p_double does not exist.<br>Could you tell me how to set pattern please ?<br><br>Thanks.
</div>