如下:
01 MAP
02 EXTENT -180 -90 180 90
03 SIZE 600 300
04 SHAPEPATH "/gdata"
05 LAYER
06 NAME "topo"
07 DATA "land_shallow_topo_8192.tif"
08 STATUS OFF
09 TYPE RASTER
10 END
11 LAYER
12 NAME "label"
13 STATUS DEFAULT
14 TYPE POINT
15 FEATURE
16 POINTS
17 116.3333333333 39.9333333333333
18 END
19 TEXT "Bei Jing"
20 END
21 CLASS
22 STYLE
23 COLOR 255 255 0
24 END
25 LABEL
26 TYPE BITMAP
27 COLOR 255 255 0
28 END
29 END
30 END
31 END
下面是效果: