[OpenLayers-Users] Browser not supported ?
Arnd Wippermann
arnd.wippermann at web.de
Mon Aug 25 13:27:04 EDT 2008
OpenLayers.Renderer.SVG.prototype.supported = function ()
{
// firefox 3 supports SVG but does like either of the feature URLs
below
// See ( https://bugzilla.mozilla.org/show_bug.cgi?id=322724 )
if (/Firefox\/3/.test(navigator.userAgent))
return true;
var svgFeature = "http://www.w3.org/TR/SVG11/feature#SVG";
var supported = (document.implementation &&
(document.implementation.hasFeature("org.w3c.svg",
"1.0") ||
document.implementation.hasFeature(svgFeature,
"1.1")));
return supported;
}
Overwrite OpenLayers.Renderer.SVG.prototype.supported. Then OL 2.5 should
work.
Arnd wippermann
-----Ursprüngliche Nachricht-----
Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Laurent Pierre
Gesendet: Montag, 25. August 2008 18:31
An: users at openlayers.org
Betreff: [OpenLayers-Users] Browser not supported ?
Hi,
I tried to use Vector objects in OpenLayers but when I try to use them with
FF 3.0.1 I get the message :
BrowserNotSupported
Has anybody an idea about that ?
Thanks
Laurent
--
View this message in context:
http://n2.nabble.com/Browser-not-supported---tp781926p781926.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
More information about the Users
mailing list