Re: [OpenLayers-Users] maxExtent not passed to an OSM layer

2010-09-01 Thread christopher.schmidt
On Sep 1, 2010, at 4:41 PM, ext Yves Moisan wrote: > > Hi All, > > The maxExtent map option doesn't seem to be carried over to an XYZ type > of layer. Looking at the initialize function of an XYZ layer, I see the > maxExtent is hardcoded whereas it is not in e.g. a Google type. Why is > t

[OpenLayers-Users] maxExtent not passed to an OSM layer

2010-09-01 Thread Yves Moisan
Hi All, The maxExtent map option doesn't seem to be carried over to an XYZ type of layer. Looking at the initialize function of an XYZ layer, I see the maxExtent is hardcoded whereas it is not in e.g. a Google type. Why is that so ? The difference in behaviour means we can't use a maxExten

Re: [OpenLayers-Users] Maxextent, resolution and zoom issue

2010-02-02 Thread Arnd Wippermann
ms to display only a small area of the UK, perhaps Southampton. Arnd _ Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im Auftrag von jbloc1...@googlemail.com Gesendet: Dienstag, 2. Februar 2010 18:52 An: users@openlayers.org Betreff: [OpenLayers-Users] Maxextent, resol

[OpenLayers-Users] Maxextent, resolution and zoom issue

2010-02-02 Thread jbloc1878
Hi, i have been struggling with this problem for some time now. Basically I am trying to display two layers. 50k and 250K of the uk. Can anyone explain further what resolution, maxextent and zoom values I should have to display these layers correctly? My layers cover the whole of the UK. I

Re: [OpenLayers-Users] maxExtent error

2010-01-13 Thread raul1113
Thanks for the help, the solution was easier of what I tought. -- View this message in context: http://n2.nabble.com/maxExtent-error-tp4293879p4348740.html Sent from the OpenLayers Users mailing list archive at Nabble.com. ___ Users mailing list Users@

Re: [OpenLayers-Users] maxExtent error

2010-01-12 Thread Raul David Orozco
I made a modification, now I have an empty as base layer (which I plan to replace later with a world layer but hosted local in my WMS) but still with no results. I tried the setallOverlays option too. Here is my code. Thanks again. var request = OpenLayers.Request.GET( {url: "dir/wm

Re: [OpenLayers-Users] maxExtent error

2010-01-12 Thread Christopher Schmidt
On Tue, Jan 12, 2010 at 11:41:48AM -0800, raul1113 wrote: > > I'm dealing with issue for a long time with any luck to solve it. > > I have a WMS server of my own with different layers on it, but I have to > include the metacarta layer from internet otherwise I get this error: > > maxExtent is nu

[OpenLayers-Users] maxExtent error

2010-01-12 Thread raul1113
I'm dealing with issue for a long time with any luck to solve it. I have a WMS server of my own with different layers on it, but I have to include the metacarta layer from internet otherwise I get this error: maxExtent is null http://192.168.1.5:9090/SMMS/wms/client/OpenLayers.js Line 840 And t

Re: [OpenLayers-Users] maxExtent problem

2007-07-26 Thread Armin Nesiren
Bart van den Eijnden (OSGIS) wrote: > Can you describe how you applied the patch and what the patch command output > was? > > http://trac.openlayers.org/attachment/ticket/340/map_maxextent.patch?format=raw > > Your app does not work at all, do you get javascript errors? Can you > describe more exac

Re: [OpenLayers-Users] maxExtent problem

2007-07-26 Thread Bart van den Eijnden (OSGIS)
patch? On what version of OL did you apply the patch? 2.4? Best regards, Bart -- Bart van den Eijnden OSGIS, Open Source GIS http://www.osgis.nl - Oorspronkelijk bericht Van: Armin Nesiren <[EMAIL PROTECTED]> Naar: users@openlayers.org Onderwerp: [OpenLayers-Users] max

[OpenLayers-Users] maxExtent problem

2007-07-26 Thread Armin Nesiren
How to prevent form getting out from MaxExtent when dragging. I have try with map_maxextent.patch added by bartvde, but after patching my app won't work at all. Thanks alot!! ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/list

Re: [OpenLayers-Users] maxExtent

2007-06-18 Thread Pascal Ehlert
Ok, I already fixed that! I only had to add "displayOutsideMaxExtent: true" to the layer. Pascal Ehlert wrote: > Ok, sorry, I checked the list's archive and found that OpenLayers only > prevents the user from panning out of the middle of the viewport. > So that works fine but I still don't unders

[OpenLayers-Users] maxExtent

2007-06-18 Thread Pascal Ehlert
Ok, sorry, I checked the list's archive and found that OpenLayers only prevents the user from panning out of the middle of the viewport. So that works fine but I still don't understand why it doesn't load the border sections anymore. ___ Users mailing l

[OpenLayers-Users] maxExtent

2007-06-18 Thread Pascal Ehlert
Hi all! At first I'd like to thank you for your incredible work. OpenLayers saved me so much time! Ok, the only thing (or one of the more important things ;)) you could still do is improving the documentation.. And there we go. This is my map: http://pascal.hacksrus.net/dev/map.html I wanted t

Re: [OpenLayers-Users] maxExtent has no properties

2007-05-31 Thread Tom
It seems that the error actually comes from map.setCenter() and if a layer is added first all is well, while the addOptions() function seems to apply to layers rather than the map. I added that option to the map constructor and it made no difference. My problem now is just that I can get this to

Re: [OpenLayers-Users] maxExtent has no properties

2007-05-30 Thread Stephen Woodbridge
Tom wrote: > Hi all, > > I'm currently trying to get the co-ordinates of the origin of the map in > order to utilise the geoserver meta tiler extension to WMS see: > http://docs.codehaus.org/display/GEOSDOC/WMS+vendor+parameters These > co-ordinates must be included in the WMS URL so I'm doing

Re: [OpenLayers-Users] maxExtent has no properties

2007-05-30 Thread Tom
Ah interesting, in this case that's ok because I'm not using Geoserver for the base layer but if I was I'd have a catch 22. Can't use the new feature because I need a layer to get the bounds but I need the bounds to request the layer! On 5/30/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote:

Re: [OpenLayers-Users] maxExtent has no properties

2007-05-30 Thread Christopher Schmidt
On Wed, May 30, 2007 at 03:16:44PM +0100, Tom wrote: > maxExtent has no properties > isValidLonLat(lon=543443,lat=255213 lon=543443 lat=255213 > CLASS_NAME=OpenLayers.LonLat > )Map.js (line 933) > setCenter( lon=543443,lat=255213 lon=543443 lat=255213 CLASS_NAME= > OpenLayers.LonLat , 7, undefined,

Re: [OpenLayers-Users] maxExtent has no properties

2007-05-30 Thread Tom
Hi all, I'm currently trying to get the co-ordinates of the origin of the map in order to utilise the geoserver meta tiler extension to WMS see: http://docs.codehaus.org/display/GEOSDOC/WMS+vendor+parameters These co-ordinates must be included in the WMS URL so I'm doing the following: ... var