<div>Sorry jackie,</div>
<div>i am using MapGuideOpenSource-2.2.0.4829-Beta1 and MapGuide Maestro 2.1.msi. what i did is edit the index.html. and did nothing at the applicationdefinition.</div>
<div> </div>
<div> </div>
<div>1.  First add the google API with my API Key </div>
<div>(<a href="http://code.google.com/apis/maps/signup.html" target="_top" rel="nofollow" link="external">http://code.google.com/apis/maps/signup.html</a>) </div>
<div>&lt;script src=&#39;<a href="http://maps.google.com/maps?file=api&amp;amp;v=2.x&amp;amp;key=ABQIAAAAERI0AKY9ZXkRvHnw-3vDJRREAmIJh_5fKSo01SOBdjF2gjz3TRR4Ei0yYkGUbuFlkwz0xMxxxxx" target="_top" rel="nofollow" link="external">http://maps.google.com/maps?file=api&amp;amp;v=2.x&amp;amp;key=ABQIAAAAERI0AKY9ZXkRvHnw-3vDJRREAmIJh_5fKSo01SOBdjF2gjz3TRR4Ei0yYkGUbuFlkwz0xMxxxxx</a>&#39;&gt;&lt;/script&gt;</div>

<div> </div>
<div>2. Then modify the fusionInitialized function - the addGoogleStuff is a function to add the google layer. <br> mapWidget.registerForEvent(Fusion.Event.MAP_LOADED, addGoogleStuff);</div>
<div> </div>
<div>3.  Finally, add the addGoogleStuff function. </div>
<div>var addGoogleStuff = function() { </div>
<div>    var mapWidget = Fusion.getWidgetById(&#39;Map&#39;); <br>    var map = mapWidget.oMapOL; <br>    mapWidget.fractionalZoom = false;   <br>    map.setOptions({fractionalZoom: false, numZoomLevels: 80}); </div>
<div>    var googleStreetsLayer = new OpenLayers.Layer.Google(&#39;Google Streets&#39;, {type : G_NORMAL_MAP, isBaseLayer: true, sphericalMercator: true}); <br>    map.addLayer(googleStreetsLayer); <br>    map.setBaseLayer(googleStreetsLayer); <br>
 }</div>
<div><br>Where would i be wrong..</div>
<div>Regards.<br> </div>
<div class="gmail_quote">On Mon, Apr 4, 2011 at 11:57 AM, Jackie Ng [via OSGeo.org] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=6237356&i=0&by-user=t" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span> wrote:<br>

<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">As a general rule, please *always* state the version of MapGuide you are using (and the installation environment/configuration if applicable) <br>
<br>Now this is relevant to your question because commercial layer support varies depending on the version of MapGuide you are running. We need to know the version before anybody can give an actual answer. <br><br>- Jackie <br>
<br>
<hr color="#cccccc" size="1" noshade>

<div style="FONT: 12px tahoma,geneva,helvetica,arial,sans-serif; COLOR: #444">
<div style="FONT-WEIGHT: bold">If you reply to this email, your message will be added to the discussion below:</div><a href="http://osgeo-org.1803224.n2.nabble.com/google-map-integrated-but-need-to-on-off-the-legend-to-put-layer-on-original-location-tp6237144p6237259.html?by-user=t" target="_blank" rel="nofollow" link="external">http://osgeo-org.1803224.n2.nabble.com/google-map-integrated-but-need-to-on-off-the-legend-to-put-layer-on-original-location-tp6237144p6237259.html</a> </div>

<div style="MARGIN-TOP: 0.4em; FONT: 11px tahoma,geneva,helvetica,arial,sans-serif; COLOR: #666">
</blockquote></div><br>

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/google-map-integrated-but-need-to-on-off-the-legend-to-put-layer-on-original-location-tp6237144p6237356.html">Re: google map integrated but need to on off the legend to put layer on original location</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/MapGuide-Users-f1803227.html">MapGuide Users mailing list archive</a> at Nabble.com.<br/>