[mapserver-users] Icon as Inline feature (Annotation layer)
Sacha Black
sacha.black at gmail.com
Wed Mar 12 15:06:10 PDT 2008
hi,
is use of a PIXMAP icon as an inline feature possible? I just want to
drop an icon in the center of my map.
I thought that something like the below would work, but I don't seem
to get anything to draw (in the middle of a 500x500 image). Am I
missing something very basic, or is this just a wrong idea?
sacha
-----fwd---------->
Symbol
name 'red_star'
TYPE PIXMAP
IMAGE "symbols\star.gif"
end
LAYER
NAME my_star
TYPE annotation
STATUS ON
TRANSFORM false
FEATURE
POINTS 250 250 END
TEXT ' '
END
CLASS
STYLE
SYMBOL 'red_star'
END
LABEL
TYPE TRUETYPE
FONT Sans
SIZE 8
COLOR 0 0 255
OUTLINECOLOR 255 255 255
POSITION UR
END
END
END
More information about the MapServer-users
mailing list