[OpenLayers-Users] Overriding overlay select to force a reload of the toggled layer

2009-07-15 Thread Adrian Popa
Hi everybody, I have several overlay vector layers that get their data in KML format from some server-side scripts. The data is highly dynamic, so it needs to be refreshed constantly (this is solved). The problem appears if only one overlay layer is selected (visible), I need to refresh all

[OpenLayers-Users] bug in Vector.getDataExtent ?

2009-07-15 Thread Christoph Ratke
Hi all, the function getDataExtent of class lib/OpenLayers/Layer/Vector.js is not working if a feature contains empty geometries. It would be easy to fix by a not null test but I am not sure if you consider this to be a bug. Do you? Bless, Christoph

Re: [OpenLayers-Users] bug in Vector.getDataExtent ?

2009-07-15 Thread Christopher Schmidt
On Wed, Jul 15, 2009 at 11:15:27AM +0200, Christoph Ratke wrote: Hi all, the function getDataExtent of class lib/OpenLayers/Layer/Vector.js is not working if a feature contains empty geometries. It would be easy to fix by a not null test but I am not sure if you consider this to be a bug.

Re: [OpenLayers-Users] Overriding overlay select to force a reload of the toggled layer

2009-07-15 Thread Adrian Popa
Any ideas with this problem? Anyone? Adrian Popa wrote: Hi everybody, I have several overlay vector layers that get their data in KML format from some server-side scripts. The data is highly dynamic, so it needs to be refreshed constantly (this is solved). The problem appears if only one

[OpenLayers-Users] problem with map.setCenter and zoom

2009-07-15 Thread Steve . Toutant
Hello, My app uses google Map as a baseMap. On some computers (not clear yet if it is the browser version or computer...) my app loads with Google MAp zoomed at his max resolution (zoom=19 in this case). Sometimes it loads at zoom = 2 as specified. Perhaps there is something wrong on the way I

[OpenLayers-Users] Problem calling layer from WMS

2009-07-15 Thread Camilo Vargas
Hello; I'm trying to acces a WMS which doesn't support format: image/jpeg with the followin javascript var map; function init(){ map = new OpenLayers.Map('map'); var wms = new OpenLayers.Layer.WMS(Map, http://server/?;, { layers:

Re: [OpenLayers-Users] problem w/ WMS Layer using wrapDateLine and displaying a feature which crosses the dateline

2009-07-15 Thread Matthew Doyle
Hello John, I don't have an easy solution for you, but i'd like to point out that i was also having great difficulty with this some months ago. So much so, that i ended up reprojecting my entire map 90 degrees to the west (essentially moving the real dateline) so that nothing crossed the