[Mapserver-users] annotation not show on map
Dan Liu
dan.liu@mnplan.state.mn.us
Wed, 09 Apr 2003 11:04:22 -0500
Hi all,
DOes anybody know why I can see this layer on the map?I have other layers like polygon and line,they both work.But not this annotation layer.What is wrong?
$Layer = ms_newLayerObj($map);
$Layer -> set("name","lakeLabel");
$Layer -> set("status", MS_ON);
$Layer -> set("type", MS_LAYER_ANNOTATION);
$Layer -> set("data","lakespy2");
$Layer -> set("classitem", "LAKE_NAME");
$Layer -> set("labelitem", "LAKE_NAME");
$otherClass = ms_newClassObj($Layer);
$otherClass -> set("size", MS_GIANT);
$otherClass -> set("color",$Color);
Thanks.
Dan
Dan Liu
MN Land Management Information Center
658 Cedar Street
Saint Paul, MN 55155
(651) 483-2324 [phone]
(651) 296-1212 [fax]
dan.liu@state.mn.us
On April 23 the Land Management Information Center will be transferred from Minnesota Planning to the Minnesota Department of Administration. LMIC will continue to be located in our current location and offer the same quality GIS services that our clients have learned to expect.
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users