[OpenLayers-Users] Layers not loading data
Kevin Galligan
kgalligan at gmail.com
Mon Jun 8 10:10:41 EDT 2009
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
More information about the Users
mailing list