Hi guys I am displaying POIs (speed cameras) via WMS as overlay on top of a Google base map. When I drag the map (in my case) to the left the POI markers disappear from the map. When I drag the map back they reappear. It appears data is coming back from GeoServer each time, but doesn't always make it on the map...
I am using * OpenLayers 2.8 * GeoServer 2.0.1 * Firefox 3.6.3 Data is coming from Oracle, but the same happens if I attach an shapefile data store. Native SRS of the layer is EPSG:2193 (EPSG:NZGD2000 / New Zealand Transverse Mercator ), but it doesn't seem to make a difference whether I let GeoServer serve them with EPSG:2193 (native) or reproject to EPSG:900913. I also just realised that the phenomenon happens with all my WMS layers. I suspect I am missing something very obvious, but are stuck nonetheless. Any pointers much appreciated! My OpenLayers code is: var map; function init(){ var options = { projection: new OpenLayers.Projection("EPSG:900913"), displayProjection: new OpenLayers.Projection("EPSG:4326"), units: "m", numZoomLevels: 20, maxResolution: 156543.0339, maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34) }; map = new OpenLayers.Map('map', options); var gphys = new OpenLayers.Layer.Google( "Google Physical", {type: G_PHYSICAL_MAP, 'sphericalMercator': true, numZoomLevels: 20} ); var wmslayer2 = new OpenLayers.Layer.WMS( "Speed Cameras", "http://localhost:8080/geoserver/wms", {'layers': 'SPEED_CAMERA', 'format':'image/png', 'transparent':'true'}, {'opacity': 1.0, 'isBaseLayer': false, 'visibility': false} ); map.addLayers([gphys, wmslayer2]); Cheers Tobias ==================================================================================== This e-mail message and attachments do not necessarily reflect the views of the New Zealand Ministry of Justice and may contain information that is confidential and may be subject to legal privilege. If you are not the intended recipient, you are hereby notified that you must not use, disseminate, distribute or copy this e-mail message or its attachments. If you received this message in error, please notify the Ministry of Justice by telephone (call collect: 00-64-4-918-8800) or return the original message to us by e-mail, and destroy any copies. Thank you. ==================================================================================== _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users