Check for SVG 1.0 as well. Fixes #540.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2818 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -40,7 +40,7 @@ OpenLayers.Renderer.SVG.prototype =
|
||||
*/
|
||||
supported: function() {
|
||||
var svgFeature = "http://www.w3.org/TR/SVG11/feature#SVG";
|
||||
var supported = document.implementation.hasFeature(svgFeature, "1.1");
|
||||
var supported = (document.implementation.hasFeature("org.w3c.svg", "1.0") || document.implementation.hasFeature(svgFeature, "1.1"));
|
||||
return supported;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user