That pretty much covers it. Thanks! On Mon, Jun 8, 2009 at 10:17 AM, Heidt, Christopher M.<[email protected]> wrote: > > sphericalMercator is probably the biggest issue people have when using > google layers. > > http://docs.openlayers.org/library/spherical_mercator.html > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Kevin Galligan > Sent: Monday, June 08, 2009 10:11 AM > To: [email protected] > Subject: [OpenLayers-Users] Layers not loading data > > I have a feeling I'm going to see the issue tonight when I take another > look at the code, but I thought I'd send this now and see if there's > maybe something I'm missing that somebody knows off hand. > > I have a map with an open street map layer on the bottom, and a wms > layer on top that points to a geoserver/postgis data set. When I run > the demo map in geoserver's control panel, the data displays fine. In > my map, however, the layer never shows up. In fact, the data is never > requested for the layer. It seems like the map doesn't think its inside > the display area for the layer and doesn't request any data. > when I zoom out significantly, like global level, it starts requesting > data. > > The data was converted to the "google" projection, and I tell the map > and layer to explicitly use that projection, and using the demo layer, > it seems like it is in fact in that projection. However, since it > starts grabbing data at the global level, I think its internally using a > bounding box in standard lon/lat ranges. I can't post the code until > tonight, but I'm sending this now in case somebody has an obvious thing > that I'm missing. > > Thanks in advance, > -Kevin > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users >
-- -------------------- Kevin Galligan www.kagii.com _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
