So I change this line : myBounds = new OpenLayers.Bounds(641454,223922,643619,225842); to the extent of my whole boundary shape file (ie the whole extent) and then change this line : map.zoomToExtent(new OpenLayers.Bounds
(641454,223922,643619,225842)); to the extents of the view I want the user to have when he visits my default page right?<br><br>Thanks for your answer :) <br><br><div><span class="gmail_quote">On 11/19/07, <b class="gmail_sendername">
Arnd Wippermann</b> <<a href="mailto:arnd.wippermann@web.de">arnd.wippermann@web.de</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Hi,<br><br>You have to change your maxextent. Only tiles within the maxextent are<br>requested.<br><br>-----Ursprüngliche Nachricht-----<br>Von: <a href="mailto:users-bounces@openlayers.org">users-bounces@openlayers.org</a>
[mailto:<a href="mailto:users-bounces@openlayers.org">users-bounces@openlayers.org</a>] Im<br>Auftrag von Matthew Pulis<br>Gesendet: Montag, 19. November 2007 00:01<br>An: <a href="mailto:users@openlayers.org">users@openlayers.org
</a><br>Betreff: Re: [OpenLayers-Users] Adding a Mapserv Layer<br><br>Just would like to update this thread.<br><br>Thanks to Arnd Wipperman, have fixed alot of the bugs I had, the only bug<br>(/problem) left is that the map is being cropped out, thus, when you start
<br>moving the map, when it goes out from the borders, there is just white blank<br>canvas, instead of the map.<br><br>This is the code : <a href="http://pastebin.com/fce43cfb">http://pastebin.com/fce43cfb</a><br><br>(As one can see I already started to read through and use the source of
<br>Chris Schmidt found here : <a href="http://boston.freemap.in/routing.html">http://boston.freemap.in/routing.html</a><br>for the routing I am planning)<br><br>Any help on this matter is extremely appreciated. You can see the bug acting
<br>here : <a href="http://yancho.no-ip.org/~yancho/openl.html">http://yancho.no-ip.org/~yancho/openl.html</a><br><br>Thanks and regards<br><br>Matthew<br>_______________________________________________<br>Users mailing list
<br><a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br><br></blockquote></div><br><br clear="all"><br>
-- <br>Matthew Pulis<br>URL : <a href="http://www.solutions-lab.net">http://www.solutions-lab.net</a><br>MSN : pulis_matthew[@]hotmail.com<br>ICQ : 145951110<br>Skype : <a href="http://solutions-lab.net">solutions-lab.net
</a>