<div>Mapserver Users,</div>
<div> </div>
<div>I am working with PHP Mapscript and am having issues with my points and circles showing up correctly. Take the following section from my mapfile:</div>
<div> </div>
<div>LAYER</div>
<div> NAME mypoints</div>
<div> TYPE POINT</div>
<div> STATUS DEFAULT</div>
<div> LABELCACHE ON</div>
<div> LABELMAXSCALE 100000</div>
<div> CLASS</div>
<div> COLOR 0 255 0</div>
<div> NAME "mypoints"</div>
<div> SYMBOL "circle"</div>
<div> SIZE 3</div>
<div> LABEL</div>
<div> COLOR 180 60 60</div>
<div> TYPE BITMAP</div>
<div> SIZE tiny</div>
<div> POSITION UR</div>
<div> OFFSET 2 -2</div>
<div> ANTIALIAS true</div>
<div> PARTIALS true</div>
<div> BUFFER 0</div>
<div> END</div>
<div> END</div>
<div>END</div>
<div> </div>
<div>Now, in PHP I do the following:</div>
<div> </div>
<div>$layer = $map->getLayerByName('mypoints');</div>
<div>$point_label = "This is a Label";</div>
<div>$pointObj = ms_newPointObj();</div>
<div>$pointObj->setXY($y, $x);</div>
<div>$pointObj->draw($map, $layer, $image, 0, $point_label);</div>
<div> </div>
<div>-----------------------------</div>
<div> </div>
<div>The issue is that when the points show up on the map they are *not* the correct color. However, they are showing up in the legend as the bright green they should be. </div>
<div> </div>
<div>When plotted on the map they are a dull green or even gray.</div>
<div> </div>
<div>Has anyone ever seen this issue before? </div>
<div>Please help!</div>
<div> </div>
<div> </div>