Opened 13 years ago

#4037 new enhancement

PHP Mapscript - Unable to add a style object to label object

Reported by: khaitang Owned by: aboudreault
Priority: normal Milestone: 6.2 release
Component: MapScript-PHP Version: unspecified
Severity: normal Keywords: mapscript label style
Cc:

Description

There is currently no way to add a style to a label using MapScript with MapServer 6.x. Basically the equivalent MapScript code for this .map file label declaration is not available:

LABEL
  FONT "arial"
  TYPE truetype
  ENCODING 'UTF-8'
  SIZE 14
  COLOR 200 200 200
  POSITION AUTO
  POSITION CC
  OFFSET 0 0
  PARTIALS TRUE
  BUFFER 6
  STYLE
    GEOMTRANSFORM LABELPOLY
    OUTLINECOLOR 40 40 40
    WIDTH 12
  END
END

Change History (0)

Note: See TracTickets for help on using tickets.