Re: [OpenLayers-Users] Refresh vectorLayer after de/activateclusterStrategy

2009-06-03 Thread Vivien Deparday
Hi, If you are interested, I had started to work on some basic toggling on/off of the clustering: http://trac.openlayers.org/ticket/1974 I was planning to work on it again when the 2.8 was out and when one of my project is done but if you have a better way to do this, you can submit a patch on t

Re: [OpenLayers-Users] Refresh vectorLayer after de/activateclusterStrategy

2009-06-03 Thread Heidt, Christopher M.
i just extended the cluster strategy to get what i was looking for. Might be helpful to others. [JAVASCRIPT] //This allows me to addFeatures to my layer without deleting the current ones, //also supports toggling activity without clearing the cache so that deactivating //the strategy will reappl

[OpenLayers-Users] Creating KML layer from PHP file...random display issues

2009-06-03 Thread Jackson J. Gilman
Hi all, First off, I'm new to OpenLayers so go gentle if I ask something dumb. I've been generating a KML document from a php file and opening it with OpenLayers...strange thing is that sometimes the geometry shows up in the right place, and sometimes it shows up at 0,0 degrees. This happens com

[OpenLayers-Users] Refresh vectorLayer after de/activate clusterStrategy

2009-06-03 Thread Heidt, Christopher M.
I use a clusterStrategy by default, but I have a button that lets the user toggle it off. Is there a way to refresh the layer so that it can redraw with/without clusters? I've tried: [JS] if(pressed){ clusterStrategy.activate(); } else{ clusterStrategy.deactivate(); } clusterS

Re: [OpenLayers-Users] Vector-like feature interaction with large, complex layers

2009-06-03 Thread Ian Turton
Could you generalize your polygons to speed up vector performance? Ian ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Vector-like feature interaction with large, complex layers

2009-06-03 Thread Tom B
Hi all, I've read about a couple of methods (clustering strategy, choosing WFS or WMS based on zoom level) for working around the issue of WFS layers being unusable for performance reasons when large numbers of complex features are involved. Neither of these are terribly good solutions for our m

Re: [OpenLayers-Users] How to define a custom Proj4js.defs["myown"]?

2009-06-03 Thread Raja_Kajiev
stephane.poirier wrote: > > Hi All, > How to define a custom Proj4js.def["myown"] when it is not in > http://spatialreference.org/ref > but when I have the following projection parameters? > Another link which helps: http://www.remotesensing.org/geotiff/proj_list/ A link to "polar stereographi

Re: [OpenLayers-Users] Example of creating a POI with attributes

2009-06-03 Thread Mike Adair
I'm working to get it into my sandbox, I will send message when it's ready. Mike Roald de Wit wrote: > Hi Mike, > > If you could make this control availabe somehow, that would be great! > It might be a nice candidate for an addin [1]. > > Cheers, Roald > > [1] http://trac.openlayers.org/wiki/Add

[OpenLayers-Users] Strange behaviour with Ionternet explorer

2009-06-03 Thread totom
Hi, I have a "refresh" problem with internet explorer 7/8 I have a map with some WMS and WFS layers. I have a checkbox to hide or show the layer, that trigger a javascript function where i do (layer_name).setVisibility(true|false) In firefox and Chrome all works, but with IE the map refresh occur

[OpenLayers-Users] Location is null error

2009-06-03 Thread bartvde
Hi list, I've been getting the following js error in FF3 on Windows XP when using markers. I am using the 2.8 branch. Location is null alphaHack()()Util.js (line 423) modifyAlphaImageDiv()(div#OL_Icon_2, "OL_Icon_2", undefined, undefined, undefined, undefined, undefined, undefined, undefined)Util

Re: [OpenLayers-Users] Save Strategy

2009-06-03 Thread Eric Lemoine
On Wed, Jun 3, 2009 at 7:38 AM, Roald de Wit wrote: > Hi, > > Wesley might not be subscribed to the dev list. This is where you can > find the latest release candidate: > > http://openlayers.org/api/2.8-rc5/OpenLayers.js I didn't have it handy, thanks Roald. -- Eric Lemoine Camptocamp France SA