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?

Thanks for your answer :)

On 11/19/07, Arnd Wippermann <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> You have to change your maxextent. Only tiles within the maxextent are
> requested.
>
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im
> Auftrag von Matthew Pulis
> Gesendet: Montag, 19. November 2007 00:01
> An: [email protected]
> Betreff: Re: [OpenLayers-Users] Adding a Mapserv Layer
>
> Just would like to update this thread.
>
> Thanks to Arnd Wipperman, have fixed alot of the bugs I had, the only bug
> (/problem) left is that the map is being cropped out, thus, when you start
> moving the map, when it goes out from the borders, there is just white
> blank
> canvas, instead of the map.
>
> This is the code : http://pastebin.com/fce43cfb
>
> (As one can see I already started to read through and use the source of
> Chris Schmidt found here : http://boston.freemap.in/routing.html
> for the routing I am planning)
>
> Any help on this matter is extremely appreciated. You can see the bug
> acting
> here : http://yancho.no-ip.org/~yancho/openl.html
>
> Thanks and regards
>
> Matthew
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
>


-- 
Matthew Pulis
URL : http://www.solutions-lab.net
MSN : [EMAIL PROTECTED]
ICQ : 145951110
Skype : solutions-lab.net
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to