<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
>From what I can gather, it is not supported in OpenLayers:<br>
<a class="moz-txt-link-freetext" href="http://trac.openlayers.org/wiki/three/RemoveOverlayBaseLayerDichotomy">http://trac.openlayers.org/wiki/three/RemoveOverlayBaseLayerDichotomy</a><br>
<br>
You can edit the MapGuide scale ranges to match the google ones.<br>
Studio won't let you do it, but in Maestro you can edit the Xml to do
so.<br>
Maestro r3481 has support for editing scales (avalible on the download
page).<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Rodolfo Moreno skrev:
<blockquote cite="mid:1227815472521-1586605.post@n2.nabble.com"
 type="cite">
  <pre wrap="">Thanks Arnd, It works very good.
On the other hands, I have another question related with it.
I am overlaying google maps with mapguide's layers. The problem is that the
displaying scales are different.
       Google maps                MAPGUIDE
        144000                100000
         72000                  52000
         36000                 27000
         18000                 14000
          9028                  7197
          4514                  3728
          2257                  1931
          1129                  1000

Then the overlay of these two layers (google and mapguide) doesn't coincide.
For example: The corner of the street1 and street2 in google layer is 200m
toward the north of
the that corner itself in mapguide layer. It happens due to that google
layer is to the scale of 1:2257 and mapguide layer is to the scale of
1:1931.

Is there any way that both layers have the same scales?

Regards


Arnd Wippermann wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi Rodolfo,

the patch from the old post is really not needed and there are only 21
zoomlevels for Wuppertal. 

Looking now at the question with a better understanding of OpenLayers, I
see, that I have only to set the numZoomLevels for the map object and
MAX_ZOOM_LEVEL for the Google layers. 

The default values are

MAX_ZOOM_LEVEL = 19
numZoomLevels  = 16

With the set

MAX_ZOOM_LEVEL = 21      (0 - 21 =&gt; 22 numZoomLevels)
numZoomLevels  = 21+1

i can get the result without any patch.


var maxZOOMLEVEL = 21;

map = new OpenLayers.Map('map',

    maxExtent: new
OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
    numZoomLevels: maxZOOMLEVEL+1,
    maxResolution: 156543.0399,
    units: 'm',
    projection: new OpenLayers.Projection("EPSG:900913")
});

var gsat = new OpenLayers.Layer.Google(
    "Google Satellite",
    {type: G_SATELLITE_MAP, sphericalMercator : true, MAX_ZOOM_LEVEL :
maxZOOMLEVEL}
);

At <a class="moz-txt-link-freetext" href="http://gis.ibbeck.de/ginfo/">http://gis.ibbeck.de/ginfo/</a> you can zoom up to 21 zoomlevels.

I hope, that helps.

Arnd Wippermann

_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->

-----
Rodolfo Moreno
CivilEng

  </pre>
</blockquote>
</body>
</html>