[mapguide-users] Virtual Earth and Firefox with FUSION?

GordonL gordon.luckett at arrowgeomatics.com
Thu Oct 8 20:13:17 EDT 2009


No Kori, I never did find a solution.  I am running it at
http://www.mapguide.ca/sydney/ but I can't get it work in FireFox (just
Safari and Internet Explorer)

gordon


Kori Maleski wrote:
> 
> Hi Gordon,
> 
> Did you find a work around or determine what the issue was?  I am using
> the
> SVN trunk version and hit the same snag.
> 
> 
> 
> Cheers,
> 
> 
> Kori Maleski
> 
> 
> 
> On Tue, Aug 11, 2009 at 11:47 AM, GordonL
> <gordon.luckett at arrowgeomatics.com
>> wrote:
> 
>>
>> Hi All, I have a strange issue.  For some reason the Virtual Earth
>> OpenLayers
>> overlay only seems to work with Internet Explorer (Windows) and Safari
>> (Windows and MacBook Pro), but no Firefox (any OS).
>>
>> I am not sure what the issue is, but I checked out the openlayers demo
>> (http://openlayers.org/dev/examples/spherical-mercator.html) and the
>> OpenLayers seemed to handle Virtual Earth and Firefox nicely..so I think
>> it
>> might be how FUSION is implemented the OpenLayers (I am using the Full
>> openlayers.js file too).
>>
>> And:
>>
>> <script
>> src='http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1
>> '></script>
>>
>>
>> Oh and the code to add the VE Layer in the INDEX.htm
>>
>>
>>    var mapWidget = Fusion.getWidgetById('Map');
>>    var map = mapWidget.oMapOL;
>>    mapWidget.fractionalZoom = false;
>>    map.setOptions({fractionalZoom: false, numZoomLevels: 30});
>>
>> //Create Virtual Earth - Live Maps example
>>    velayer = new OpenLayers.Layer.VirtualEarth('VE', {
>>                'sphericalMercator': true,
>>                'type': VEMapStyle.Road
>>            });
>>    map.addLayer(velayer);
>>
>>
>>    var mgLayers = map.getLayersByClass('OpenLayers.Layer.MapGuide');
>>    if(mgLayers.length != 0)
>>    {
>>        var mgLayer = mgLayers[0];
>>        if(mgLayer.isBaseLayer)
>>        {
>>            map.setBaseLayer(velayer);
>>            mgLayer.setIsBaseLayer(false);
>>            mgLayer.setVisibility(true);
>>        }
>>    }
>>
>>
>>
>>
>> See what I mean by using Firefox at:
>> http://mapguide.ca/sydney/ http://mapguide.ca/sydney/
>>
>> regards
>> gordon
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/Virtual-Earth-and-Firefox-with-FUSION--tp3426002p3426002.html
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/Virtual-Earth-and-Firefox-with-FUSION-tp3426002p3791581.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list