Remi, On viewing the source, there's the following line:
renderers: ["CustomSVG", "VML"] //VML only for IE <= 8, labels are not rotated I have tried your link in IE 8, Chrome and Firefox. IE8 works (you don't get the message) as it uses VML. There others don't as "CustomSVG", I guess, is not available to your installation of OpenLayers. When you open the first link, it says, "Create a CustomSVG.js or modify the existing SVG.js and add the following lines to the Method drawText". I use rotated text with SVG and have used this solution successfully by editing svg.js. Regards, Donald -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of remi Sent: 05 August 2012 11:12 To: [email protected] Subject: [OpenLayers-Users] browserNotSupported error upon testing ofrotated label on feature Hi, I am testing the example for rotating the label of a feature by certain angle. the example is based on the work by benjamin & tachun in which can be found on this website: http://benjamin.preisig.at/rotating-labels-in-openlayers/#comment-43 However, i am encountering an error. The error browserNotSupported pops up before the map is loaded and the feature is not added at all. My test sample can be found at this address: http://ilhamkahfi.com/research/rotated-label/ Hope that somebody can show me some pointer. thanks remi _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
