On Thursday, June 7, 2012, William DePalo wrote: > Hi, > > A couple of days ago I asked why clicking on a line string feature in a > KML layer displayed in the Chrome browser would not raise an event even > though the same code works fine in Firefox, IE, Safari and Opera. > > Today I found that the problem is related to the presence of this line > > OpenLayers.Layer.Vector.**prototype.renderers = ["SVG2", "VML", "Canvas"]; > > If I omit the line then I get the event. If it is present, I don't. > > So, I'm happy to leave the line out and let the browser choose the render > method and forego the performance gain which I thought the line brought if > it means everything will work as expected. > > Is this a bug or should I do something differently? That is should I be > worried about things breaking with v2.12?
The SVG2 renderer is deprecated, so it's not so surprising that it doesn't work in recent versions of Chrome. Use SVG. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
