Annotations in Mapscript

mark.wilson at rohoel.at mark.wilson at rohoel.at
Mon Oct 9 10:11:32 EDT 2000



I'm still having problems working out how to display an annotation layer with
mapscript.

I need to place annotations (from a database) at multiple points on the map. The
mapscript functionality is similar to that which is done by  mapfile excerpt
below, except that several points and text need to be handled (and of course I
need it to be in mapscript so that it can be dynamic). Any mapscript examples
available anywhere?

  LAYER
    NAME test
    TYPE ANNOTATION
    STATUS ON
    TRANSFORM FALSE
    CLASS
      TEXT "Test comment for plotting"
      LABEL
        COLOR 0 0 0
        OUTLINECOLOR 225 225 225
      END
    END
    FEATURE POINTS 5 270 END END
  END

Thanks in advance,
Mark





More information about the mapserver-users mailing list