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

Chris Claydon chris.claydon at autodesk.com
Mon Jun 22 10:56:38 EDT 2009


I think you might have to add the setting <Options><isBaseLayer>false</isBaseLayer></Options> to the <Extension> section of the Sheboygan map reference. OpenLayers only lets you have one base layer at a time, so if you want Google as a base layer, you need MapGuide to be an overlay.

Chris.

-----Original Message-----
From: fusion-users-bounces at lists.osgeo.org [mailto:fusion-users-bounces at lists.osgeo.org] On Behalf Of Matteo
Sent: Saturday, June 20, 2009 10:14 AM
To: fusion-users at lists.osgeo.org
Subject: Re: [fusion-users] Fusion 2 - Google & Sheboygan Sample


Hi Brian,
  I have the same problems. Have you solve it?
Regards,
Matteo


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>
> 
> [cid:image002.png at 01C9B20E.7AD3FFD0]
> 
> 
> 
> 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
> 
> [cid:image001.jpg at 01C9B20E.3C566130]<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
> 
> 

-- 
View this message in context: http://n2.nabble.com/Fusion-2---Google---Sheboygan-Sample-tp2565066p3125315.html
Sent from the Fusion Users mailing list archive at Nabble.com.

_______________________________________________
fusion-users mailing list
fusion-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fusion-users


More information about the fusion-users mailing list