well, annotation layers are for what their name is: annotations. The search is for layers with a geographic features, and they are displayed on the map. You cannot add a feature from an annotation layer and therefore you get the error.
armin > Hi > > i tried to add a search parameter in lower menu... > > > var searchList = new Object; > searchList['Roads'] = new Array('Roads', '#STREET', 'Roads',''); > > and this is the layer in file .map > > LAYER > NAME Roads > TYPE ANNOTATION > STATUS ON > TEMPLATE "no template" > TOLERANCE 7 > DATA "gf_roads_sp83.shp" > LABELITEM "street" > > METADATA > "DESCRIPTION" "Streets Search" > "RESULT_FIELDS" "street" > "RESULT_HEADERS" "STREET" > "RESULT_HYPERLINK" "storitto" > END > > CLASS > LABEL > SIZE TINY #tinysmallmediumlargegiant > POSITION UC > ANGLE AUTO > BUFFER 1 #40 how close label are to each other > MINDISTANCE 50 > MINFEATURESIZE 30 > #FONT arial-bold > #SIZE 12 > COLOR 0 0 0 > SHADOWCOLOR 218 218 218 > SHADOWSIZE 2 2 > > END > END > > END > > > the query seems to work (a popup windows appear with a list of rows... > even if there's no any label... that's strange) , but no results on map... and > no more possible operation after that operation... > > this is the php log > > [13-Jun-2006 00:01:12] PHP Warning: [MapServer Error]: msDrawMap(): > Failed to draw layer named 'reslayer'. > in G:\sitoDVDN\maps\pmapper\incphp\map.php on line 296 > [13-Jun-2006 00:01:12] PHP Warning: [MapServer Error]: msDrawShape(): > Unknown layer type. > in G:\sitoDVDN\maps\pmapper\incphp\map.php on line 296 > [13-Jun-2006 00:01:12] PHP Warning: [MapServer Error]: > msAddImageSymbol(): Error opening image file > g:/sitoDVDN/maps/pmapper/config/circle. > in G:\sitoDVDN\maps\pmapper\incphp\map.php on line 296 > [13-Jun-2006 00:01:12] PHP Fatal error: Call to a member function > saveWebImage() on a non-object in G:\sitoDVDN\maps\pmapper\incphp\map.php on > line > 318 > > > thank you so much > > Davide > -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer