[OpenLayers-Users] OL 2.11 possible Bug with Chrome

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Tue Jun 7 11:18:16 EDT 2011


This is using the new SVG2 renderer, which is intended to provide better performance.
Perhaps this renderer isn't perfectly suited for Chrome at the moment; using the 
existing SVG renderer will use the code we've been using for a lot longer, and may be
safer for the time being.

-- CHris

On Jun 7, 2011, at 11:02 AM, ext Ricardo Bayley wrote:

> After a thorough revision of my code I noticed that when I changed to OL 2.11 I added this line of code.
> OpenLayers.Layer.Vector.prototype.renderers = ["SVG2", "VML", "Canvas"];
> 
> For some reason this was the cause of all my troubles.
> What does it do ??
> 
> Everything works just fine know, so I guess I was the bug.... :(
> 
> Warms regards
> 
> 
> Ricardo 
> 
> 2011/6/6 Ricardo Bayley <ricardo.bayley at gmail.com>
> Hi Phil,
> 
> I have been checking and checking. It does work on OL 2.10
> 
> Although I dont know if this is a bug, cause on some other project it does work with OL 2.11
> 
> Let me check my code. Although I know something odd is going on.
> For example, if I switch to OL 2.10 then when mouse hover over feature then I dont get the cursor set to pointer. But I do with OL2.11
> On the other hand, with OL 2.11 I get the issue mentioned previously.
> 
> Any thoughts ?
> 
> In regard to your questions, data gets render. And I can work with the layer's features
> I will recheck things again.
> 
> ricardo
> 
> 2011/6/6 Phil Scadden <p.scadden at gns.cri.nz>
> 
> > I render 50 geoJSON features and layer is set to the SelectFeature
> > control.
> >
> > Everything works fine, I select the feature, the popup shows the
> > content etc, but when I try it with Google Chrome, and I zoom in, then
> > some features are not selectable.
> > This does not happen in FF nor IE 6 !!
> >
> Did it work with 2.10? The features are located on a server that
> couldn't be running foul of Chrome's "enhanced" ajax security?
> 
> Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
> 
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



More information about the Users mailing list