Re: [OpenLayers-Users] Problems when using IE7 or Safari page zoom feature

2010-05-18 Thread Andreas Hocevar
Hi, in Safari, you could enable the Zoom text only option in the View menu. In my opinion, you should create a Safari/WebKit ticket for this, not an OpenLayers ticket. Page Zoom is supposed to zoom the whole page. Web applications don't even know that the page is zoomed, so it is unlikely that

[OpenLayers-Users] MinZoomLevel with WMS layer

2010-05-18 Thread Luís de Sousa
Hello everyone, I've been using the MinZoomLevel option on WFS layers to set the minimum resolution beyond which a layer can be rendered (useful for when there are lots of features). Today I'm trying to the same with a WMS layer, but in that case the MinZoomLevel option is ignored. Should it be

Re: [OpenLayers-Users] MinZoomLevel with WMS layer

2010-05-18 Thread Bart van den Eijnden (OSGIS)
Hi, use minResolution or minScale instead. Best regards, Bart Hello everyone, I've been using the MinZoomLevel option on WFS layers to set the minimum resolution beyond which a layer can be rendered (useful for when there are lots of features). Today I'm trying to the same with a WMS

Re: [OpenLayers-Users] MinZoomLevel with WMS layer

2010-05-18 Thread Alexandre Dube
Luis, How about minScale or minResolution properties of the Layer object ? Here's an example using these properties, but the lines are commented and they are used in the map object. Try one in one of your layer objects. http://www.openlayers.org/dev/examples/zoomLevels.html Regards,

[OpenLayers-Users] customize getFeatureInfo control

2010-05-18 Thread Christoph Ratke
Hi all, I am trying to to get the getfeatureinfo-control example (http://localhost/ol/OpenLayers-2.9.1/examples/getfeatureinfo-control.html) to work with either right click or a key down click. I tried the options clickCallback: rightclick and as well handlerOptions: {click:{keyMask:

[OpenLayers-Users] Brightness/Contrast Modifcation?

2010-05-18 Thread Toni7
Hello all, I am trying to display a map with openlayers but also provide brightness/contrast sliders for the user. I managed to implement a working demo for HTML5-Canvas with a static image (without OpenLayers). My question is now if it is possible to use an OpenLayers-Canvas-Layer for that as

[OpenLayers-Users] potential big IE performance enhancement- help!

2010-05-18 Thread mortac8
I think there is a potential to greatly improve the rendering performance in IE (cases of large# of points). Take points for example. In VML.js setStyle, every .style action seems to trigger a browser reflow: node.style.width=18px; //1st reflow node.style.height=18px; //2nd reflow

Re: [OpenLayers-Users] potential big IE performance enhancement- help!

2010-05-18 Thread Andreas Hocevar
Hi, setting cssText is not the same as setting the style. But you could instead try to call node.style.display = none; as first line of the setStyle method, and node.style.display = ; as last line of the setStyle method. Let us know if this also boosts performance. Good luck, Andreas. On

Re: [OpenLayers-Users] potential big IE performance enhancement- help!

2010-05-18 Thread mortac8
That actually seems a bit slower :( 2:59- to render my layer setting node.style.display=none; then node.style.display=; 2:42- the original way I don't understand why setting node.style.cssText is different than node.style. Can you explain it briefly? I ask because the simple example below

Re: [OpenLayers-Users] potential big IE performance enhancement- help!

2010-05-18 Thread Andreas Hocevar
On May 18, 2010, at 19:21 , mortac8 wrote: That actually seems a bit slower :( 2:59- to render my layer setting node.style.display=none; then node.style.display=; 2:42- the original way I don't understand why setting node.style.cssText is different than node.style. Can you explain it

Re: [OpenLayers-Users] IE 8 this.size.w is null or not an object -OL 2.9

2010-05-18 Thread Dash
Well, after many hours of struggling and the process of elimination I figured it out . I'll share my results for anyone else struggling like me . Previously, I was using a getFullSRequestString with a OpenLayers.loadURL to return an Ajax object that contained my GML information. Then, I

[OpenLayers-Users] insert new geomtery attributes

2010-05-18 Thread beppe
Hi all, I'm not sure to understand how to insert new geometry and pass attributes to db via form... So, I can add a new geometry (wfs-t) using OpenLayers.State.INSERT, ok but I'd want also open a popup with a form to compile (with select, text input, check box ...) onclick event Some tips?

[OpenLayers-Users] unselect and move between layers

2010-05-18 Thread ngreen
Hi all, I have a function that is executed when a user hits a submit button in a popup form (below). This saves changes both to the map feature and to the database. I have 2 problems. One My unselect isn't working - here and in other places in the code - but every other function using my

[OpenLayers-Users] Insert additional parameters to event listeners

2010-05-18 Thread adstan
Hi all, Is there a way I could add additional parameters to event listeners? Please refer to this example: var control = new OpenLayers.Control.DrawFeature( someLayer, OpenLayers.Handler.Point, { featureAdded: someFunction }); ... function: someFunction(feature, param2) { ... } In