Hi Manfred,<br> <br> Thanks! It works how I wanted it.<br> <br> Albert<br><br><b><i>Manfred Meier <m.meier@spiekermann.de></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Albert,<br><br>I think this solution of David with the onload routine is really good.<br><br>But if you want to try the URL approach you could try:<br><br>http://your-host/cgi-bin/mapserv?program=mapserv&<br>map=/home/mapdata/richland.map&<br>mapext=625173.309834 5085113.091715 718065.960556 5160035.212592&<br>layers=aerial richland boundary cities roads sections rivers lakes <br>railroad parcels&<br>zoomsize=1<br><br>I did put together the informations from your html-code. You have to <br>change the hostname. Then put this URL in one line into the address <br>field of your browser. I hope, I made no mistakes and do not create
<br>confusion.<br><br>Manfred<br><br><br><br><br><br><br>Albert Anderson schrieb:<br><br>> Hi Manfred,<br>> <br>> Yup your right with the button. Here is the code for the initializa button<br>> <br>> <br><title>Mapserver Richland County</title>> <br>> <br>> <form method="get" action="/cgi-bin/mapserv"><br>> <input value="Richland County MapServer" type="submit"><br>> <br>> <input name="program" type="hidden"><br>> value="mapserv"><br>> <br>> <input name="map" type="hidden"><br>> value="/home/mapdata/richland.map"><br>> <br>> <input name="mapext" type="hidden"><br>> value="625173.309834 5085113.091715 718065.960556 <br>> 5160035.212592"><br>> <br>> <br>> <input name="layers" type="hidden"><br>> value="aerial richland boundary cities roads sections <br>> rivers lakes railroad parcels"><br>> <br>>
<input name="zoomsize" type="hidden"><br>> size="1" value="1"><br>> <br>> <input name="qstring" value="" type="hidden"><br>> <input name="qlayer" value="" type="hidden"><br>> <input name="qitem" value="" type="hidden"><br>> <input name="savequery" value="" type="hidden"><br>> <br>> </form><br>> <br>> <br>> <br>> <br>> I would like the map to load up when I go to the url right away. So <br>> right when you type it in the address box and html page load that the <br>> map would too.<br>> Thanks for you time.<br>> <br>> Albert<br>> <br>> Manfred Meier <m.meier @spiekermann.de=""> wrote:<br>> <br>> Hi Albert,<br>> <br>> if I understand right, you have a page with an initialize button and<br>> when you click it you get a page with a map and this works fine, ok?<br>> <br>> So send us the html-code of your page with the button. Perhaps we
can<br>> "create" an example url for you which you can put in the adress<br>> field of<br>> the browser.<br>> <br>> > You must pass the name of your map file.<br>> > For example:<br>> > http://your.server/cgi-bin/mapserv.exe?map=path/to/your/file.map<br>> <br>> > Where do I put that example at? Also I look at map context support<br>> <br>> It could be helpful, if you explain to us, how you want to load the map:<br>> <br>> - do want to load it from a menu or from a link?<br>> - or should your map be part of an html-page and and shall sit in a div<br>> or an iframe?<br>> <br>> Manfred<br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> Albert Anderson schrieb:<br>> <br>> > hi,<br>> ><br>> > Where do I put that example at? Also I look at map context support<br>> > through cgi and I dont
understand it. The site is<br>> > http://mapserver.gis.umn.edu/docs/reference/cgi/mapcontext<br>> > Could you help me.<br>> ><br>> > Albert<br>> ><br>> > Siki Zoltan wrote:<br>> ><br>> > Hi Albert!<br>> ><br>> > You can pass parameters through the url.<br>> > You must pass the name of your map file.<br>> > For example:<br>> > http://your.server/cgi-bin/mapserv.exe?map=path/to/your/file.map<br>> ><br>> > Zoltan<br>> ><br>> > There aremany parameters you can set through the url, see the cgi<br>> > mapserver reference.<br>> ><br>> > On Wed, 2 Aug 2006, Albert Anderson wrote:<br>> ><br>> > > Hi,<br>> > ><br>> > > I am using intializing button as a submit button. The html<br>> > template is using
the get method. I would like to know how to get<br>> > rid of the submit button. Just have the mapserver auto load into the<br>> > html without clicking the intializing and get the information from<br>> > the mapserver. Thanks<br>> > ><br>> > > Albert<br>> > ><br>> > > Manfred Meier wrote: I don't know your application and so don't<br>> > know which initialzing button<br>> > > you mean. But if there is a button then it is most likely a submit<br>> > > button of a form. Look at the source code of the html page in your<br>> > > browser and try to find out, to what url the action property in<br>> > the form<br>> > > tag points.<br>> > ><br>> > > If there are no other hidden or visible input tags, try to point<br>> > your<br>> > > browser to the url in the
action property. If there are input<br>> > tags, try<br>> > > to append the neccessary values to the url.<br>> > ><br>> > > I don't know if that works in your case. But its a often used<br>> > method to<br>> > > circumvent the manual filling of forms.<br>> > ><br>> > > Manfred<br>> > ><br>> > ><br>> > ><br>> > ><br>> > > Albert Anderson schrieb:<br>> > ><br>> > > > Hi List,<br>> > > ><br>> > > > My question is how do I get my page to load auto like without<br>> > using<br>> > > > initialzing button. I dont want to use the button. I just want<br>> > to page<br>> > > > just load. Is there a way around this? I'm using a linux<br>> > machine with<br>> > > >
mapsever 4. Could someone help me?<br>> > > ><br>> > > > Thanks,<br>> > > > Albert<br>> > > ><br>> > > ><br>> ><br>> ------------------------------------------------------------------------<br>> > > > Do you Yahoo!?<br>> > > > Next-gen email? Have it all with the all-new Yahoo! Mail Beta.<br>> > > ><br>> > > ><br>> > ><br>> > ><br>> > ><br>> > > ---------------------------------<br>> > > Groups are talking. We´re listening. Check out the handy changes<br>> > to Yahoo! Groups.<br>> ><br>> ><br>> > __________________________________________________<br>> > Do You Yahoo!?<br>> > Tired of spam? Yahoo! Mail has the best spam protection around<br>> >
http://mail.yahoo.com<br>> ><br>> <br>> <br>> ------------------------------------------------------------------------<br>> Do you Yahoo!?<br>> Everyone is raving about the all-new Yahoo! Mail Beta. <br>> <http: //us.rd.yahoo.com/evt="42297/*http://advision.webevents.yahoo.com/handraisers"> <br>> <br><br></http:></m.meier></blockquote><br><p>
<hr size=1>Do you Yahoo!?<br>
Get on board. <a href="http://us.rd.yahoo.com/evt=40791/*http://advision.webevents.yahoo.com/handraisers">You're invited</a> to try the new Yahoo! Mail Beta.