[mapserver-users] Recentre map with auto link

Joćo Mįrio joao@pmpf.rs.gov.br
Fri, 26 Jul 2002 16:41:12 -0300


--------------010908070508060108040400
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hello!

I tried to make this link but i think i'm missing something.

it links to http://www.address.com/cgi-bin/mapserver/mapserv?map=mymap.map

and returns a error of page not found

this link is in a page.html witch i had declares in the tag TEMPLATE of the mapfile

what could be happend?

Thanks.
Joćo. 

There is any way to recenter a maps  after pan
>>> using  Basic Mapserver?

>>Do you mean, reset the map to it's original view?

> Yes. Can i do it using Basic Mapserver?


>>Sure. Just add some HTML to your web page that directs you to
>>the original URL you use to start the map, like this:
>>
>>><a href="mapserv.cgi?map=yourmap.map">Restart</a>



--------------010908070508060108040400
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
<pre wrap="">Hello!

I tried to make this link but i think i'm missing something.

it links to <a class="moz-txt-link-freetext" href="http://www.address.com/cgi-bin/mapserver/mapserv?map=mymap.map">http://www.address.com/cgi-bin/mapserver/mapserv?map=mymap.map</a>

and returns a error of page not found

this link is in a page.html witch i had declares in the tag TEMPLATE of the mapfile

what could be happend?

Thanks.
Jo&atilde;o.&nbsp;

There is any way to recenter a maps  after pan
<span class="moz-txt-citetags">&gt;&gt;&gt; </span>using  Basic Mapserver?
</pre>
<pre wrap=""><span class="moz-txt-citetags">&gt;&gt;</span>Do you mean, reset the map to it's original view?
</pre>
<pre wrap=""><span class="moz-txt-citetags">&gt; </span>Yes. Can i do it using Basic Mapserver?
</pre>
<pre wrap=""><!---->
&gt;&gt;Sure. Just add some HTML to your web page that directs you to
&gt;&gt;the original URL you use to start the map, like this:
&gt;&gt;
&gt;&gt;&gt;&lt;a href="mapserv.cgi?map=yourmap.map"&gt;Restart&lt;/a&gt;


</pre>
</body>
</html>

--------------010908070508060108040400--