Hello! I'm using ms4w under winxp. I want to get information about a point and show it in a popup.<br>here is a part of my code:<br><br> $image=$map->draw();<br> $image_url=$image->saveWebImage();<br><br> $extent_to_html = $map->extent->minx." ".$map->extent->miny." "
<br> .$map->extent->maxx." ".$map->extent->maxy;<br><br><br>$my_point = ms_newpointObj();<br>$my_point->setXY($_REQUEST["mapa_x"],$_REQUEST["mapa_y"]);<br> <br>
<br><br>/* if we are selecting a click */<br><br>if ( isset($_REQUEST["zoom"]) && $_REQUEST["zoom"]=="query") {<br> <br> $dfKeyMapXMin = $map->extent->minx;<br> $dfKeyMapYMin = $map->extent->miny;
<br> $dfKeyMapXMax = $map->extent->maxx;<br> $dfKeyMapYMax = $map->extent->maxy;<br><br> $dfWidthPix = doubleval($image->width);<br> $dfHeightPix = doubleval($image->height);<br>
<br> $nClickGeoX = GMapPix2Geo($_REQUEST['mapa_x'], 0, $dfWidthPix, <br>$dfKeyMapXMin, <br> $dfKeyMapXMax, 0);<br> $nClickGeoY = GMapPix2Geo($_REQUEST["mapa_y"], 0, $dfHeightPix,
<br>$dfKeyMapYMin, <br> $dfKeyMapYMax, 1); <br> <br> $my_point = ms_newpointObj();<br> $my_point->setXY($nClickGeoX,$nClickGeoY);<br> <br> $uLayer->queryByPoint($my_point, MS_SINGLE, 200);
<br> <br> $results = $uLayer->{resultcache};<br> <br> $rslt = $uLayer->getResult(0);<br> <br> $database_id2 = $rslt->{shapeindex};<br> echo $database_id;<br> echo $database_id2;<br> $foo = $uLayer->{numresults};
<br> echo $foo;<br> // always -1<br> <br> exit;<br><br>}<br>I receive the shapeindex of the point correctly, but how i can get the value of the fields and show it in a new window?<br><br>Thanks...<br>