[fusion-users] Fusion 2 - Google & Sheboygan Sample

Mike Adair madair at dmsolutions.ca
Tue Mar 31 16:09:02 EDT 2009


Can you try putting a 
<Options><isBaseLayer>false</isBaseLayer></Options> in your MapGuide 
layer <Extension> element. OL only allows one baselayer at a time and I 
suspect the MG layer gets set as a baselayer.

Mike

Berdel, Brian wrote:
>
> Hello,
>
> I have been trying to test the functionality of adding google maps to 
> the Sheboygan Sample Map in my Appdef but have had no luck…I am able 
> to get google to show up but the Sheboygan data does not. I can see 
> the Sheboygan layers in the legend but when I zoom to sheyboygan the 
> overview map does show that I am in the correct location but there are 
> no layers in the map. Here is my AppDef. I have tried using the 
> Tiledmap and regular and setting singletile & isbaselayer to true / 
> false. Am I not doing something right? Sheboygan is the same 
> coordinate system as Google.
>
> <MapGroup id="sheboygan" xsi:type="MapType">
>
> <Map xsi:type="MapGuideLayerType">
>
> <Type>MapGuide</Type>
>
> <SingleTile>true</SingleTile>
>
> <Extension>
>
> <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</ResourceId>
>
> <SelectionAsOverlay>true</SelectionAsOverlay>
>
> <SelectionFormat>PNG</SelectionFormat>
>
> <SelectionColor>0xFF0000FF</SelectionColor>
>
> </Extension>
>
> </Map>
>
> <Map xsi:type="WMSLayerType">
>
> <Type>Google</Type>
>
> <Extension>
>
> <ResourceId>google</ResourceId>
>
> <Options>
>
> <name>GoogleLayer</name>
>
> <type>G_PHYSICAL_MAP</type>
>
> <isBaseLayer>true</isBaseLayer>
>
> <sphericalMercator>false</sphericalMercator>
>
> </Options>
>
> </Extension>
>
> </Map>
>
> </MapGroup>
>
> Brian Berdel
>
> Applications Development Manager
>
> McMahon Associates, Inc.
>
> 425 Commerce Drive, Suite 200
>
> Fort Washington, Pennsylvania 19034
>
> p: 215.283.9444 x 260
>
> f: 215.283.9858
>
> brian.berdel at mcmtrans.com
>
> http://www.mcmtrans.com/mcm_logo.jpg <http://www.mcmtrans.com/>
>
> New England | Mid-Atlantic | Florida
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>   

-- 
   Michael Adair
   Senior Software Architect
   DM Solutions Group Inc.

   Office: (613) 565-5056 x26
   madair at dmsolutions.ca
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca




More information about the fusion-users mailing list