[mapserver-users] PhpMapScript 7.0: Property 'type' does not exist in this object

Vladimir fl_v at inbox.ru
Thu Oct 1 11:42:41 PDT 2015


I try to set a label font using:
$label->set('type', MS_TRUETYPE);
$label->set('font', 'arial');
but get MapScriptException: Property 'type' does not exist in this object using.
Moreover, the labeling works well without these two strings. 
The docs contain the reference to 'type' member of labelObj:
http://mapserver.org/mapscript/php/phpmapscript.html#labelobj
it seems the property should be legal.
Could anybody clarify the situation?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20151001/f86f7499/attachment.html>


More information about the mapserver-users mailing list