[OpenLayers-Users] Re: [Geoserver-users] Geowebcache in openlayers problem: SOLUTION FOUND!

Robert Buckley robertdbuckley at yahoo.com
Fri Oct 28 07:40:40 EDT 2011


Hi,

after taking my application apart and rebuilding line by line testing the results as I went along I found that when I replaced this line


maxExtent: new OpenLayers.Bounds(772338.842959, 6576723.127095, 1567283.936983, 7127069.730649),

..with 

maxExtent: new OpenLayers.Bounds(-20037508, -20037508,20037508, 20037508.34),
...everything lined-up and worked as wanted.


The bounds in the first line where an attempt to restrict my map area to this extent, which were then followed by an restrictedExtent.

Could anyone please explain to me why these bounds had such a devastating affect on the output of my geowebcache layer so that I can understand this better?

yours,

Rob

________________________________
Von: GeoGEOrge <awmlamp at yahoo.com>
An: geoserver-users at lists.sourceforge.net
Gesendet: 14:55 Donnerstag, 27.Oktober 2011 
Betreff: Re: [Geoserver-users] Geowebcache in openlayers problem

I am trying to do something similar, without much success.
you might see if this is related to your problem:

It is, however, very possible to create an OpenLayers application that
caches tiles; just make sure that the tileorigin aligns with the gridset.
from: http://docs.geoserver.org/latest/en/user/geowebcache/using.html

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Geowebcache-in-openlayers-problem-tp6936192p6936229.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning at Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111028/31c9731c/attachment.html


More information about the Users mailing list