Re: [OpenLayers-Users] Improving JSON support ( native and throwing/reporting errors )

2010-06-15 Thread Frederic Junod
Hello, On Tue, Jun 15, 2010 at 4:59 AM, Zac Spitzer zac.spit...@gmail.com wrote: Looking at format JSON.js file,  it's classic example of where OL fails silently the code first runs a regex to validate the JSON, which returns null if it doesn't validate and then if it passes the initial

Re: [OpenLayers-Users] Control.SelectFeature issue on FF (but not on Chrome)

2010-05-21 Thread Frederic Junod
Hello, Same behavior here. But it works when the 2 vector layers are passed to the SelectFeature control: new OpenLayers.Control.SelectFeature([vectorLayer, vectorLayer2], { clickout: true, hover: false }); Is that what you used ? fredj On Fri, May 21, 2010 at 12:08 PM, Alessandro Pasotti

Re: [OpenLayers-Users] change Feature's Bounds

2010-03-19 Thread Frederic Junod
Hi, Not sure what you are trying to do... If you want to inverse the lon and lat coordinates, you should use something like: var x = this.feature.geometry.lon; var y = this.feature.geometry.lat; this.feature.geometry.move(y, x); fredj On Fri, Mar 19, 2010 at 1:30 PM, Maribel Bernal

Re: [OpenLayers-Users] openlayers working from local tiled images?

2010-03-16 Thread Frederic Junod
Hi, It's possible, it was done by metacarta [1] and more recently by developmentseed [2]. Both by using an usb stick. fredj [1] http://labs.metacarta.com/on-a-stick/ [2] http://mapbox.com/tools/maps-stick On Mon, Mar 15, 2010 at 11:04 PM, Phil Scadden p.scad...@gns.cri.nz wrote: I am using

Re: [OpenLayers-Users] Google-like drag'n'drop route/path changes

2010-03-09 Thread Frederic Junod
Hello, Did you see http://openlayers.org/dev/examples/modify-feature.html ? draw line then modify feature and click on your line. fredj On Tue, Mar 9, 2010 at 2:25 PM, J.Schumann j_schum...@gmx.de wrote: Hello! Is there a way to get path modification functionality like it can be seen at

Re: [OpenLayers-Users] KML and area colorization

2010-02-12 Thread Frederic Junod
maybe related to http://trac.openlayers.org/ticket/2485 On Fri, Feb 12, 2010 at 8:51 AM, Frederic Junod frederic.ju...@camptocamp.com wrote: Hello, Seems to be an issue with VML and the kml IconStyle property:  * edit [1] and remove the IconStyle element (in Style id 'default_normal

Re: [OpenLayers-Users] KML and area colorization

2010-02-11 Thread Frederic Junod
Hello, Seems to be an issue with VML and the kml IconStyle property: * edit [1] and remove the IconStyle element (in Style id 'default_normal') * load this kml in http://www.openlayers.org/dev/examples/vector-formats.html The fill color and opacity is correct. maybe:

Re: [OpenLayers-Users] onImageLoadError not triggered when a tile is missing

2010-02-02 Thread Frederic Junod
Hello, It's a know problem with chrome, see http://trac.openlayers.org/ticket/2371 fredj On Fri, Jan 29, 2010 at 8:29 PM, Etides etienne.desga...@roche.ca wrote: Hi,    I have overwrited the OpenLayers.Util.onImageLoadError function to switch the src of the tiles that does not exist in the

Re: [OpenLayers-Users] Broken image for no tile, on Chrome

2009-12-02 Thread Frederic Junod
Hi, http://trac.openlayers.org/ticket/2371 I'm searching the webkit bugzilla (https://bugs.webkit.org/) but I've not found any related bug yet. fredj On Tue, Dec 1, 2009 at 5:30 PM, Eric Lemoine eric.lemo...@camptocamp.com wrote: On Tuesday, December 1, 2009, Frederic Junod frederic.ju

Re: [OpenLayers-Users] Broken image for no tile, on Chrome

2009-12-01 Thread Frederic Junod
Hi all, I've created a small test case for this issue: http://dev.camptocamp.com/~fredj/image-load-error.html The WMS layer always returns a 404 error so all the tiles are broken; they all should have a green background. With Chrome (on linux), some of the tiles do not have the olImageLoadError

Re: [OpenLayers-Users] OpenLayers.Util.getParameters not recognize %2C for comma separation

2009-10-27 Thread Frederic Junod
Hi, Please read http://trac.openlayers.org/wiki/FilingTickets Thanks, fredj On Tue, Oct 27, 2009 at 10:20 AM, 20091026 20091...@mailinator.com wrote: Hi I found the bug in source: function OpenLayers.Util.getParameters (in OL 2.8 in Util.js line 922): On Line 940 a key will be searched

Re: [OpenLayers-Users] Google in greyscale

2009-06-24 Thread Frederic Junod
Hi, Not directly with OpenLayers, but you can change the layer opacity, see http://openlayers.org/dev/examples/layer-opacity.html. fredj On Wed, Jun 24, 2009 at 3:35 PM, pribram pribrampribramprib...@post.cz wrote: Hi, is there any way how to display Google G_NORMAL_MAP layer in greyscale?

Re: [OpenLayers-Users] Error when using XMLHTTPRequest (throughrefreshing a wfs layer every n seconds)

2009-04-28 Thread Frederic Junod
Hello, Same error here, and the patch fixes the problem thanks. The smallest test case is: var protocol = new OpenLayers.Protocol.HTTP(); protocol.abort(protocol.read()); With FF 3.0.9 linux, I (sometimes !) have the following error (in the firebug console): uncaught exception:

Re: [OpenLayers-Users] SVN Build Error

2009-04-02 Thread Frederic Junod
see http://trac.openlayers.org/ticket/2026 review welcome ... fredj On Thu, Apr 2, 2009 at 9:22 AM, Ingo Weinzierl ingo.weinzi...@intevation.de wrote: Hi, same thing here. I have been looking for the mistake a few minutes: the broken revision seems to be rev9151. But without further