Hi Gordon,<br><br>Did you find a work around or determine what the issue was? I am using the SVN trunk version and hit the same snag.<br><br><br><br>Cheers,<br><br><br>Kori Maleski<br><br><br><br><div class="gmail_quote">
On Tue, Aug 11, 2009 at 11:47 AM, GordonL <span dir="ltr"><<a href="mailto:gordon.luckett@arrowgeomatics.com">gordon.luckett@arrowgeomatics.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;">
<br>
Hi All, I have a strange issue. For some reason the Virtual Earth 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 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>'></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>
<font color="#888888"><br>
--<br>
View this message in context: <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">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>
</font></blockquote></div><br>