Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 07d333cc79 |
+2
-2
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
OpenLayers.js -- OpenLayers Map Viewer Library
|
OpenLayers.js -- OpenLayers Map Viewer Library
|
||||||
|
|
||||||
Copyright 2005-2006 MetaCarta, Inc., released under the BSD license.
|
Copyright 2005-2006 MetaCarta, Inc., released under a modified BSD license.
|
||||||
Please see http://svn.openlayers.org/trunk/openlayers/release-license.txt
|
Please see http://svn.openlayers.org/trunk/openlayers/repository-license.txt
|
||||||
for the full text of the license.
|
for the full text of the license.
|
||||||
|
|
||||||
Includes compressed code under the following licenses:
|
Includes compressed code under the following licenses:
|
||||||
|
|||||||
@@ -50,9 +50,7 @@ OpenLayers.Renderer.SVG.prototype =
|
|||||||
*/
|
*/
|
||||||
supported: function() {
|
supported: function() {
|
||||||
var svgFeature = "http://www.w3.org/TR/SVG11/feature#SVG";
|
var svgFeature = "http://www.w3.org/TR/SVG11/feature#SVG";
|
||||||
var supported = (document.implementation &&
|
var supported = (document.implementation.hasFeature("org.w3c.svg", "1.0") || document.implementation.hasFeature(svgFeature, "1.1"));
|
||||||
(document.implementation.hasFeature("org.w3c.svg", "1.0") ||
|
|
||||||
document.implementation.hasFeature(svgFeature, "1.1")));
|
|
||||||
return supported;
|
return supported;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user