Hello,
I am testing MapServer 7.4.
I'm trying to modify in PHP the pattern of a styleObj via SWIG Mapscript.
I'm trying this :
$aPattern = [ 10.0, 10.0 ];
$styleObj->__set('pattern', $aPattern);
But I get this error.
Fatal error: Type error in argument 2 of styleObj_pattern_set.
Expected SWIGTYPE_p_double in mapscript.php on this line :
if (function_exists($func)) return
call_user_func($func,$this->_cPtr,$value);
In PHP, SWIGTYPE_p_double does not exist.
Could you tell me how to set pattern please ?
Thanks.
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users