<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi, <br>
<br>
I am using the latest mapscript version 5.4.0beta2 for JAVA to build
on-demand mapfiles through a website.<br>
My goal here is to put a symbol and an associated text on a specific
location on the maps.<br>
<br>
I was successful with a static mapfile and the shp2img command with the
following code :<br>
<br>
LAYER<br>
  NAME Test<br>
  TYPE POINT<br>
  STATUS DEFAULT<br>
  <font color="#cc0000">FEATURE<br>
    POINTS<br>
      10 10<br>
    END<br>
  TEXT "Blablabla"<br>
  END</font><br>
  CLASS<br>
    STYLE<br>
        SYMBOL "kreis"<br>
         SIZE 50<br>
         COLOR 0 0 0<br>
        END<br>
      LABEL<br>
        TYPE BITMAP<br>
            SIZE MEDIUM<br>
        COLOR 0 0 0<br>
        POSITION UC<br>
      END<br>
  END<br>
END<br>
<br>
However, when I tried to translated this mapfile into JAVA, I did not
found any function or any object for the feature part (in red):<br>
<font color="#cc0000">FEATURE<br>
    POINTS<br>
      10 10<br>
    END<br>
  TEXT "Blablabla"<br>
END</font><br>
The remaining code can be coded with layerObj, classObj, styleObj and
LabelObj. But there is no featureObj.<br>
<br>
Did I missed something or this is not possible to do it with JAVA?<br>
<br>
Thanks in advance<br>
<br>
Trolet Julien<br>
<br>
PS : If someone knows another way to put a symbol and an associated
text on a specific (and dynamic) location on a map, he is welcome to
let me know. ;)<br>
</body>
</html>