Browser Capibilities

Am I right in saying microsoft virtual earth is not compatible with netscape, mozilla or opera? I've been having many problems with these browsers, and when i go to the virtual earth site in these browsers, it opens a different kind of page then you'd see in IE or FF.

I was wondering if there is any way around this. I am targeting these browsers, so it's quite a big problem. Thanks for your help.

[405 byte] By [Schasta] at [2007-12-26]
# 1

AFAIK the situation is roughly as follows -

IE6/7 works ok
FF1.5.x works ok
FF 2 doesn't work properly, though there is a fix here - http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=857241&SiteID=1
Opera 9 doesn't work properly (line drawing fails), but maybe the above link might also be a starting point to solving this problem?

IanMunro at 2007-9-4 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...
# 2

This list looks correct, for 2D mode. For 3D mode, only IE 6/7 on Windows will work.

CalebT-MSFT at 2007-9-4 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...
# 3
The site doesn't load properly in SeaMonkey. If you didn't know, SeaMonkey uses the same Gecko rendering engine that Firefox uses. I can spoof my browser's User Agent (UA) string to a Firefox UA, and I can access Virtual Earth just fine in SeaMonkey.

You guys are blocking out browsers that otherwise have no issue displaying the site! Please fix this.

Thanks.

beanboy89 at 2007-9-4 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...
# 4

This is all pretty new stuff we're playing with here, not just some simply html pages any more.

I'd like to say thanks for the VE team for supporting Firefox (even 2.0 with a hack). This represents 96% of browser use across the world.

As a developer i'm actually kind of happy that i only have to do system test in 5 platforms on 2 OS! IE6, IE7, FF1.5, FF2.0 and now 3D on both WinXP and Vista.

So what is required to let VE know that seamonkey is compatible? Can you make it pretend it is Firefox? If so why not post this here as an unoffical hack to make it work?

John.

SoulSolutions at 2007-9-4 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...
# 5

Hi,

Is there any code that checks users browser to see if VE is compatible with it and then displays an error message if not.

A code for this using Google Maps is;

if (GBrowserIsCompatible()) {

Is there any for VE, please your help is appreciated.

Regards,

Tee at 2007-9-4 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...
# 6

There isn't any boolean variable that you can use to find compatibility in VE, but the list of supported browsers (which supports pretty much ~95% of Internet Users) are Internet Explorer 6+ and FireFox 1.5+.

DerekChan at 2007-9-4 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...
# 7

If your using ASP.NET AJAX you can use:

Code Snippet

//detect non-compatible browsers

SupportedBrowser: function()

{

var supported = false;

//IE

if (Sys.Browser.agent == Sys.Browser.InternetExplorer && Sys.Browser.version >= 6)

{

supported = true;

}

//FF

if (Sys.Browser.agent == Sys.Browser.Firefox && Sys.Browser.version >= 1.5)

{

supported = true;

}

return supported;

},

John.

SoulSolutions at 2007-9-4 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...
# 8

thanks for that, but unfortunately, i am using javascript.

is there any in javascript.

cheers

Tee at 2007-9-4 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...
# 9

To clarify for others the snippet above is javascript but uses the helper functions from ASP.NET AJAX.

For those looking for a pure js way these articles should help:

http://www.javascriptkit.com/javatutors/navigator.shtml

http://www.javascriptkit.com/javatutors/objdetect3.shtml

John.

SoulSolutions at 2007-9-4 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...

Windows Live Developer Forums

Site Classified