<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi ALL,<br><br>I am trying to query a line layer and I am trying to show it by using example_query.html file not the example_header.html. When I enable example_query.html it show different part of the map. I doesn't show the clicked part of the map. Also scale is diffrent. Scale is bigger than the first map. How can I fix it are there any ideas? please help. &nbsp; The code is like below;<br><br>&lt;IMG src="http://[host]/cgi-bin/mapserv.exe?mode=INDEXQUERY&amp;qformat=png24&amp;qlayer=gtroads&amp;shapeindex=[shpidx]&amp;shpext=[shpext_esc]&amp;mapext=shapes&amp;map=[map]"&gt;<br>                                               </div></body>
</html>