Skip to content

Commit

Permalink
Added MS_LABEL_BINDING_FONT and MS_LABEL_BINDING_PRIORITY constants (#…
Browse files Browse the repository at this point in the history
…2100)

git-svn-id: http://svn.osgeo.org/mapserver/trunk@6296 7532c77e-422f-0410-93f4-f0b67bdd69e2
  • Loading branch information
dmorissette committed Jul 12, 2007
1 parent 41aa078 commit 7188dcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion mapscript/php3/README
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ Currently supported classes, properties and methods:

Label/Attribute binding
MS_LABEL_BINDING_SIZE, MS_LABEL_BINDING_ANGLE, MS_LABEL_BINDING_COLOR,
MS_LABEL_BINDING_OUTLINECOLOR
MS_LABEL_BINDING_OUTLINECOLOR, MS_LABEL_BINDING_FONT,
MS_LABEL_BINDING_PRIORITY

Functions:
----------
Expand Down
6 changes: 4 additions & 2 deletions mapscript/php3/php_mapscript.c
Original file line number Diff line number Diff line change
Expand Up @@ -1231,16 +1231,18 @@ PHP_MINIT_FUNCTION(phpms)
REGISTER_LONG_CONSTANT("MS_IMAGEMODE_NULL", MS_IMAGEMODE_NULL, const_flag);

/*binding types*/
REGISTER_LONG_CONSTANT("MS_STYLE_BINDING_SIZE", MS_STYLE_BINDING_SIZE, const_flag);
REGISTER_LONG_CONSTANT("MS_STYLE_BINDING_SIZE", MS_STYLE_BINDING_SIZE, const_flag);
REGISTER_LONG_CONSTANT("MS_STYLE_BINDING_ANGLE", MS_STYLE_BINDING_ANGLE, const_flag);
REGISTER_LONG_CONSTANT("MS_STYLE_BINDING_COLOR", MS_STYLE_BINDING_COLOR, const_flag);
REGISTER_LONG_CONSTANT("MS_STYLE_BINDING_OUTLINECOLOR", MS_STYLE_BINDING_OUTLINECOLOR, const_flag);
REGISTER_LONG_CONSTANT("MS_STYLE_BINDING_SYMBOL", MS_STYLE_BINDING_SYMBOL, const_flag);

REGISTER_LONG_CONSTANT("MS_LABEL_BINDING_SIZE", MS_LABEL_BINDING_SIZE, const_flag);
REGISTER_LONG_CONSTANT("MS_LABEL_BINDING_SIZE", MS_LABEL_BINDING_SIZE, const_flag);
REGISTER_LONG_CONSTANT("MS_LABEL_BINDING_ANGLE", MS_LABEL_BINDING_ANGLE, const_flag);
REGISTER_LONG_CONSTANT("MS_LABEL_BINDING_COLOR", MS_LABEL_BINDING_COLOR, const_flag);
REGISTER_LONG_CONSTANT("MS_LABEL_BINDING_OUTLINECOLOR", MS_LABEL_BINDING_OUTLINECOLOR, const_flag);
REGISTER_LONG_CONSTANT("MS_LABEL_BINDING_FONT", MS_LABEL_BINDING_FONT, const_flag);
REGISTER_LONG_CONSTANT("MS_LABEL_BINDING_PRIORITY", MS_LABEL_BINDING_PRIORITY, const_flag);


INIT_CLASS_ENTRY(tmp_class_entry, "ms_map_obj", php_map_class_functions);
Expand Down

0 comments on commit 7188dcd

Please sign in to comment.