[OpenLayers-Users] Popup in Openlayers (How to fix the popup?)

2009-07-16 Thread Kwong Hu Kiu
Hi, I am trying to use the openlayers popup in the map as below. if (this.popup == null) { this.popup = new OpenLayers.Popup(); this.popup.setBorder(2px solid); this.popup.setSize(new OpenLayers.Size(270, 270));

[OpenLayers-Users] Problem calling layer from WMS

2009-07-16 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:

[OpenLayers-Users] Displaying layers depending on the zoom

2009-07-16 Thread Arthur Delorme
Hello, I need your help : I am just beginning using OpenLayers and I cannot find how to hide a layer and display it when zoom is big enough. I did a script with a map layer and a GML layer (parsing KML). Here is my code : function init() { var map = new OpenLayers.Map('map'); var

[OpenLayers-Users] Z-ordering of geometries within a collection.

2009-07-16 Thread Tom Chase
Morning all. What would be the best way to go about setting the relative z-indices of individual geometries within a geometry collection? I have a feature with a geometry collection consisting of a multilinestring and a point; I would like the point to consistently be above the line. I've

[OpenLayers-Users] Invisible ZoomBox

2009-07-16 Thread acangi
Hi list, I'm trying to use the controls Navigation and ZoomBox separately : using my other (non-openlayers) controls, I'd like to switch between Navigation and ZoomBox, like it's done here : http://openlayers.org/dev/examples/navtoolbar-alwaysZoom.html

Re: [OpenLayers-Users] Displaying layers depending on the zoom

2009-07-16 Thread Adrian Popa
Hello Arthur, You can use minResolution and maxResolution for your layer. I see that your example already has that. Your layer should be grayed out outside the min-max resolution range and should become selectable (and visible) inside that range. You should tune your range by using firebug and

[OpenLayers-Users] Labels/Tooltips on mouse over a Vector layer

2009-07-16 Thread Adrian Popa
Hi, Just a quick question - my users want to see the name of the city when they are hovering over points loaded through KML in a vector layer. I know this isn't supported, but are there plans to support such labels? I'm thinking a different strategy might be to override/inherit the

[OpenLayers-Users] multi layer SelectFeature Issue

2009-07-16 Thread Sajeer...
Hi, multi layer SelectFeature is not working when the layers added into MapFish LayerTree model. I tried with the following scenarios, 1.single layer *with* MapFIsh layertree model entry.it is working fine. 2.multiple layer *with *MapFIsh layertree model entry.not working. 3.multiple

[OpenLayers-Users] speed up load tiles

2009-07-16 Thread Ivan Carreira
Hi all, I have two questions: 1. My map load slowly. How can I improve the speed? I use tilecache, multiple servers and the option buffer: 0 in the layers. Any suggestions? 2. I have the following: var WMSServerCache=new Array ('http://www1.servidor:8080/gis/tilecache/tilecache.py?',

Re: [OpenLayers-Users] Labels/Tooltips on mouse over a Vector layer

2009-07-16 Thread Sajeer...
Ok, then replace selectControl = *new* OpenLayers.Control.SelectFeature(kmlLayer, {hover: *true*,onSelect: onFeatureSelect, onUnselect: onFeatureUnselect}); with selectControl = *new* OpenLayers.Control.SelectFeature(kmlLayer, { clickout: true, hover: false }); and add this too

Re: [OpenLayers-Users] Popup in Openlayers (How to fix the popup?)

2009-07-16 Thread Alexandre Dube
Hi, Could you share more of your code, please ? How do you register you event for instance ? The 'moveend' event should be triggered on every pan. Regards, Alexandre Kwong Hu Kiu wrote: I have tried that. Something like if (popup != null) {

Re: [OpenLayers-Users] Z-ordering of geometries within a collection.

2009-07-16 Thread Vivien Deparday
Hi Tom, Did you have a look at this example: http://openlayers.org/dev/examples/ordering.html ? Then you can use a custom context function like in this example: http://openlayers.org/dev/examples/styles-context.html to modify the graphicZIndex according to your geometry type. This is how I went

Re: [OpenLayers-Users] Popup in Openlayers (How to fix the popup?)

2009-07-16 Thread Kwong Hu Kiu
Yes, the moveend is triggered on every pan but it's not moving the popup. The popup.moveto is always being called. Any idea ? Date: Thu, 16 Jul 2009 09:45:34 -0400 From: ad...@mapgears.com To: kwon...@hotmail.com CC: users@openlayers.org Subject: Re: [OpenLayers-Users] Popup in

Re: [OpenLayers-Users] Popup in Openlayers (How to fix the popup?)

2009-07-16 Thread Alexandre Dube
Do you have a live example of this behavior ? If not, try making a small example demonstrating your issue and share it. It would be easier to help. Regards, Alexandre Kwong Hu Kiu wrote: Yes, the moveend is triggered on every pan but it's not moving the popup. The popup.moveto is always

[OpenLayers-Users] Problems upgrading between 2.7 and 2.8...

2009-07-16 Thread Steve Lime
Hi all: Just trying 2.8 with an app developed with 2.7 and have a problem where the zoom box (shift-drag) and overview map rect aren't displaying (zoom works though). Figure it's a z-index issue. Any idea what might have changed between versions? App is:

Re: [OpenLayers-Users] Problems upgrading between 2.7 and 2.8...

2009-07-16 Thread Bart van den Eijnden (OSGIS)
Steve, it seems like you did not copy the theme directory, so a bit of css is missing? Yes indeed, the measure interface has changed, please check examples/measure.html for hints on how to fix that. If you can't get it to work, please report back. Best regards, Bart Steve Lime wrote: Hi

Re: [OpenLayers-Users] Problems upgrading between 2.7 and 2.8...

2009-07-16 Thread Christopher Schmidt
On Thu, Jul 16, 2009 at 11:15:26AM -0500, Steve Lime wrote: Hi all: Just trying 2.8 with an app developed with 2.7 and have a problem where the zoom box (shift-drag) and overview map rect aren't displaying (zoom works though). Figure it's a z-index issue. Any idea what might have changed

Re: [OpenLayers-Users] wfs update

2009-07-16 Thread Eric Lemoine
On Thursday, July 16, 2009, Gabriel Nolasco nolasco_gabr...@yahoo.com.br wrote: Hi! I’m trying to update feature’s attributes on a WFS layer without successes. This is my layer instantiation: var myWFSLayer = new OpenLayers.Layer.WFS(        myWFSLayerName,        myWFSLayerServiceURL,

Re: [OpenLayers-Users] Problems upgrading between 2.7 and 2.8...

2009-07-16 Thread Steve Lime
Looks like the z-index issue is mine, doesn't work in either, need to backtrace steps since it used to... *argh* The measureControl is different when scribbling (shift-drag) if you let up on the drag before the shift key the measure event doesn't seem to fire. Steve On 7/16/2009 at 11:15 AM,

Re: [OpenLayers-Users] Problems upgrading between 2.7 and 2.8...

2009-07-16 Thread Steve Lime
That explains why I broke my 2.7 instance... Thanks. On 7/16/2009 at 11:37 AM, in message 20090716163732.gk30...@metacarta.com, Christopher Schmidt crschm...@metacarta.com wrote: On Thu, Jul 16, 2009 at 11:15:26AM -0500, Steve Lime wrote: Hi all: Just trying 2.8 with an app developed with 2.7

Re: [OpenLayers-Users] Popup in Openlayers (How to fix the popup?)

2009-07-16 Thread Kwong Hu Kiu
Any example ? I have the map as a fullscreen. Thanks. From: arnd.wipperm...@web.de To: kwon...@hotmail.com Subject: AW: [OpenLayers-Users] Popup in Openlayers (How to fix the popup?) Date: Thu, 16 Jul 2009 18:31:52 +0200 Hi, Why do you not create an own div element instead of an

[OpenLayers-Users] [asu...@gmail.com: About OpenLayers]

2009-07-16 Thread Christopher Schmidt
I'm forwarding this message fo rAndre S, who is not on the mailing list. Please direct your replies appropriately. - Forwarded message from André S asu...@gmail.com - From: André S asu...@gmail.com To: crschm...@metacarta.com Date: Thu, 16 Jul 2009 14:24:55 -0300 Subject: About

Re: [OpenLayers-Users] Popup in Openlayers (How to fix the popup?)

2009-07-16 Thread Kwong Hu Kiu
Hi, I don't have a live example. I tried to make an example(Attached). I removed most of the code so probably some stuff might not work. The popup code is exactly the same. Thanks Date: Thu, 16 Jul 2009 10:53:35 -0400 From: ad...@mapgears.com To: kwon...@hotmail.com CC:

[OpenLayers-Users] please some hints for very low bandwith

2009-07-16 Thread Pere Roca Ristol
hi all, I need some hints to take into account when having a veeery low bandwith. I have already set up background layers as PNG8 (jpeg does't accept transparency) and vectorial as jpeg. I wonder if in these situations tiling is better than normal WMS (?) Currently I have an untiled

Re: [OpenLayers-Users] Popup in Openlayers (How to fix the popup?)

2009-07-16 Thread Arnd Wippermann
Hi, I use a couple of movable divs for different tasks http://gis.ibbeck.de/ginfo/apps/OL27Client/OL27ClientGis.asp?KARTE=k1 Arnd _ Von: Kwong Hu Kiu [mailto:kwon...@hotmail.com] Gesendet: Donnerstag, 16. Juli 2009 19:41 An: arnd.wipperm...@web.de; users@openlayers.org Betreff:

[OpenLayers-Users] Mouse wheel zoom generates lots of server requests...

2009-07-16 Thread Steve Lime
Hi all: In testing we've noticed that zooming with a mouse wheel seems to generate lots of requests at various resolutions on the way to the final zoom level. So, a wheel up generates server requests at intermediate levels, most of which won't be displayed. Someone sitting there rolling their

Re: [OpenLayers-Users] wfs update

2009-07-16 Thread Gabriel Nolasco
Hi Eric, Thanks for your quick response. I know the vector layer protocol class and its advantages but it crashes in IE and I must ensure my application’s cross-browser compatibility. Anyway this should be very straightforward and there must be some detail that I’m missing... On Thursday,