[OpenLayers-Users] transitionEffect bug?

2009-07-29 Thread Andrea Di Nora
Hi, I have a question on transitionEffect with option 'resize', when i use this effect on a TMS Layer, every time i make a zoom, two request for each single tile have been launched. It is correct or a bug? You can test with tms.html example adding transitionEffect: 'resize', on TMS Layer Options.

Re: [OpenLayers-Users] Problems implementing WFS

2009-07-29 Thread Alexandre Dube
Hi, See below. Maxime Phaneuf wrote: I've compared this to the GML Insert you send to TinyOWS in http://dev4.mapgears.com/bdga/bdgaWFS-T.html and it looks alike. This is the answer I received from TinyOWS: ?xml version='1.0' encoding='UTF-8'? ows:ExceptionReport

Re: [OpenLayers-Users] transitionEffect bug?

2009-07-29 Thread Paul Spencer
When using the resize option, two images are created for each tile. The 'current' image is resized when zooming and the new image is loaded in front of it, effectively providing greater (or lesser) detail. I don't think it should be making any additional requests for a zoom. Could be a

Re: [OpenLayers-Users] how can i change icon control of panel zoom?

2009-07-29 Thread Valeria Muñoz
hi Marc 2009/7/29 Marc Jansen jan...@terrestris.de Hi Valeria, maybe the OpenLayerButtonGenerator could be of use for you: http://www.terrestris.de/wp-media/downloads/OpenLayersButtonGenerator.tar.gz see this thread some hours ago:

Re: [OpenLayers-Users] how can i change icon control of panel zoom?

2009-07-29 Thread Valeria Muñoz
hi Marc thanks for the information, but this code create new icons and this icons must change it in the directory of openlayer can i send it to openlayer some image path to change the originals icons or maybe with css? RG 2009/7/29 Marc Jansen jan...@terrestris.de Hi Valeria,

Re: [OpenLayers-Users] how can i change icon control of panel zoom?

2009-07-29 Thread Andreas Hocevar
Hi, if you use OpenLayers.Control.PanZoomPanel, you can style it entirely in css. Looking at theme/default/style.css should be more or less self explanatory. You will want to change background images you find in there. Regards, Andreas. Valeria Muñoz wrote: hi Marc thanks for the

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-29 Thread soatley
In case anyone else runs into this, I found out that after the map is created, it sometimes doesn't set a height or width value in the map.size property. Here's my fix which seems to work quite nicely: map = new OpenLayers.Map('map', options); if (isNaN(map.size.w) || isNaN(map.size.h)) {

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-29 Thread Andreas Hocevar
soatley wrote: In case anyone else runs into this, I found out that after the map is created, it sometimes doesn't set a height or width value in the map.size property. Here's my fix which seems to work quite nicely: map = new OpenLayers.Map('map', options); if (isNaN(map.size.w) ||

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-29 Thread Shawn Oatley
On 7/29/2009 at 11:57 AM, Andreas Hocevar ahoce...@opengeo.org wrote: soatley wrote: In case anyone else runs into this, I found out that after the map is created, it sometimes doesn't set a height or width value in the map.size property. Here's my fix which seems to work quite nicely:

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-29 Thread soatley
Should have checked my CSS before posting that mesage. Here is what I already have defined in for my map object: #map { position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; } Andreas Hocevar-2 wrote: soatley wrote: In case

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-29 Thread Andreas Hocevar
Shawn Oatley wrote: On 7/29/2009 at 11:57 AM, Andreas Hocevar ahoce...@opengeo.org wrote: soatley wrote: In case anyone else runs into this, I found out that after the map is created, it sometimes doesn't set a height or width value in the map.size property. Here's my fix

Re: [OpenLayers-Users] Error displaying map in IE8 - VML.js

2009-07-29 Thread Andreas Hocevar
soatley wrote: Should have checked my CSS before posting that mesage. Here is what I already have defined in for my map object: #map { position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; } Add html, body { width: 100%,

[OpenLayers-Users] Restore feature's geometry

2009-07-29 Thread Alexandre Dube
Hi, I'd like to know if there's a better (faster) way to restore a modified feature's geometry other than using layer.refresh({'force':true}); I use a ModifyFeature control with a popup that as save and cancel buttons. On save, it commits the changes (fine). On cancel, it should

[OpenLayers-Users] How turn on/off layer

2009-07-29 Thread fsalas
Hi, I need one example about turn on/off layer in openlayer with geoserver. Regards, Salas. ___ Dirección de Comunicaciones Grupo Empresarial GEOCUBA Este mensaje esta libre de virus. Revisado por Kaspersky Antivirus

Re: [OpenLayers-Users] Restore feature's geometry

2009-07-29 Thread Alexandre Dube
Well, in the end I would really like to avoid the use of layer.refresh({'force':true}) if possible. If you activate the DrawFeature control while modifying a feature (instead of hitting cancel), the geometry of the current modified feature still needs to be restored (didn't hit the save

Re: [OpenLayers-Users] transitionEffect bug?

2009-07-29 Thread soatley
I tried some very basic tests with and without the resize option and it does seem to create a fair number of additional requests. Here are my results... With Resize: Initial Load: 585 requests +1 Zoom level: 999 requests (+414 for the zoom) -1 Zoom level: 1096requests (+97 for the zoom) Without

Re: [OpenLayers-Users] Restore feature's geometry

2009-07-29 Thread Alexandre Dube
Hey, Alexandre Dube wrote: Well, in the end I would really like to avoid the use of layer.refresh({'force':true}) if possible. If you activate the DrawFeature control while modifying a feature (instead of hitting cancel), the geometry of the current modified feature still needs to be