Hi Manfred,<br> <br> Yup your right with the button. Here is the code for the initializa button<br> <br> <html><br> <head><title>Mapserver Richland County</title></head><br> <body><br> <form method=GET action="/cgi-bin/mapserv"><br> <input type="submit" value="Richland County MapServer"><br> <br> <input type="hidden" name="program" <br> value="mapserv"><br> <br> <input type="hidden" name="map" <br> value="/home/mapdata/richland.map"><br> <br> <input type="hidden" name="mapext" <br> value="625173.309834 5085113.091715 718065.960556 5160035.212592"><br> <br> <br>
<input type="hidden" name="layers" <br> value="aerial richland boundary cities roads sections rivers lakes railroad parcels"><br> <br> <input type="hidden" name="zoomsize" <br> size="1" value="1"><br> <br> <input type="hidden" name="qstring" value=""><br> <input type="hidden" name="qlayer" value=""><br> <input type="hidden" name="qitem" value=""><br> <input type="hidden" name="savequery" value=""><br> <br> </form><br> </body><br> </html><br> <br> <br> I would like the map to load up when I go to the url right away. So right
when you type it in the address box and html page load that the map would too.<br> Thanks for you time.<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>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 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 <siki @agt.bme.hu=""> 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>> > > 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></siki></blockquote><br><p>
<hr size=1>Do you Yahoo!?<br> Everyone is raving about the <a href="http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/handraisers"> all-new Yahoo! Mail Beta.</a>