Paul,<br><br><br>I can get an error free load of Virtual Earth in Fusion with the following edits to jxlib.uncompressed.js<br><br>approximately line 10241 (makeChrome function):<br><br>if(!c.getStyle('backgroundImage'))<br>
c.setStyle('backgroundImage','none');<br><br><br>approximately line 17397 (measure function):<br><br>if(!this.scroller.getStyle('left'))<br>this.scroller.setStyle('left',0);<br><br><br>The application will load but the chrome will fail to display properly for Jx.Dialog's. The background images will fail (obviously, as they are now set to 'none' with the edit.<br>
<br><br>Hope this helps in some way to indicate where the issue resides. At least those of us developing in Firefox can move forward for now.<br><br><br><br>Cheers,<br><br>Kori Maleski<br><br><br><br><br><br><div class="gmail_quote">
On Fri, Oct 9, 2009 at 4:48 PM, Kori Maleski <span dir="ltr"><<a href="mailto:kori.maleski@gmail.com">kori.maleski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Paul,<br><br>I am using Firefox 3.5.3 with firebug and get the exact same error at the same point. Like you said it works fine if you step through, but fails with a normal load.<br><br>I will poke around further on Monday.<br>
<br><br>Cheers,<br><font color="#888888"><br><br>Kori <br><br></font><div class="gmail_quote"><div class="im">On Thu, Oct 8, 2009 at 5:29 PM, Paul Spencer <span dir="ltr"><<a href="mailto:pagameba@gmail.com" target="_blank">pagameba@gmail.com</a>></span> wrote:<br>
</div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
When I run this in firefox 3.5.2 on OS X it fails to load and I see a javascript error in firebug<br>
<br>
this.scroller.getStyle('left') has no properties<br>
<br>
If I turn on 'Break on all errors' in firebug and reload, I get a number of exceptions that can be safely continued from (they are in try/catch blocks but firefox stops on them anyway) and, strangely, everything eventually loads and works.<br>
<br>
Very strange. This behaviour is normally the opposite, firefox works and the other browsers don't.<br>
<br>
I don't really know what to think about this. Not sure if it is due to being in an iframe, a timing issue loading the ms maps api or something else<br>
<br>
Can you try with firebug and see if you get the same thing (with break on all errors on)<br>
<br>
Cheers<br><font color="#888888">
<br>
Paul</font><div><div></div><div><br>
<br>
<br>
On 2009-10-08, at 8:13 PM, GordonL wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
No Kori, I never did find a solution. I am running it at<br>
<a href="http://www.mapguide.ca/sydney/" target="_blank">http://www.mapguide.ca/sydney/</a> but I can't get it work in FireFox (just<br>
Safari and Internet Explorer)<br>
<br>
gordon<br>
<br>
<br>
Kori Maleski wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi Gordon,<br>
<br>
Did you find a work around or determine what the issue was? I am using<br>
the<br>
SVN trunk version and hit the same snag.<br>
<br>
<br>
<br>
Cheers,<br>
<br>
<br>
Kori Maleski<br>
<br>
<br>
<br>
On Tue, Aug 11, 2009 at 11:47 AM, GordonL<br>
<<a href="mailto:gordon.luckett@arrowgeomatics.com" target="_blank">gordon.luckett@arrowgeomatics.com</a><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
wrote:<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi All, I have a strange issue. For some reason the Virtual Earth<br>
OpenLayers<br>
overlay only seems to work with Internet Explorer (Windows) and Safari<br>
(Windows and MacBook Pro), but no Firefox (any OS).<br>
<br>
I am not sure what the issue is, but I checked out the openlayers demo<br>
(<a href="http://openlayers.org/dev/examples/spherical-mercator.html" target="_blank">http://openlayers.org/dev/examples/spherical-mercator.html</a>) and the<br>
OpenLayers seemed to handle Virtual Earth and Firefox nicely..so I think<br>
it<br>
might be how FUSION is implemented the OpenLayers (I am using the Full<br>
openlayers.js file too).<br>
<br>
And:<br>
<br>
<script<br>
src='<a href="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1" target="_blank">http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1</a><br>
'></script><br>
<br>
<br>
Oh and the code to add the VE Layer in the INDEX.htm<br>
<br>
<br>
var mapWidget = Fusion.getWidgetById('Map');<br>
var map = mapWidget.oMapOL;<br>
mapWidget.fractionalZoom = false;<br>
map.setOptions({fractionalZoom: false, numZoomLevels: 30});<br>
<br>
//Create Virtual Earth - Live Maps example<br>
velayer = new OpenLayers.Layer.VirtualEarth('VE', {<br>
'sphericalMercator': true,<br>
'type': VEMapStyle.Road<br>
});<br>
map.addLayer(velayer);<br>
<br>
<br>
var mgLayers = map.getLayersByClass('OpenLayers.Layer.MapGuide');<br>
if(mgLayers.length != 0)<br>
{<br>
var mgLayer = mgLayers[0];<br>
if(mgLayer.isBaseLayer)<br>
{<br>
map.setBaseLayer(velayer);<br>
mgLayer.setIsBaseLayer(false);<br>
mgLayer.setVisibility(true);<br>
}<br>
}<br>
<br>
<br>
<br>
<br>
See what I mean by using Firefox at:<br>
<a href="http://mapguide.ca/sydney/" target="_blank">http://mapguide.ca/sydney/</a> <a href="http://mapguide.ca/sydney/" target="_blank">http://mapguide.ca/sydney/</a><br>
<br>
regards<br>
gordon<br>
<br>
--<br>
View this message in context:<br>
<a href="http://n2.nabble.com/Virtual-Earth-and-Firefox-with-FUSION--tp3426002p3426002.html" target="_blank">http://n2.nabble.com/Virtual-Earth-and-Firefox-with-FUSION--tp3426002p3426002.html</a><br>
Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br>
</blockquote>
<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br>
<br>
</blockquote>
<br>
-- <br>
View this message in context: <a href="http://n2.nabble.com/Virtual-Earth-and-Firefox-with-FUSION-tp3426002p3791581.html" target="_blank">http://n2.nabble.com/Virtual-Earth-and-Firefox-with-FUSION-tp3426002p3791581.html</a><br>
Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</blockquote>
<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>