Dear List!

 

I have got a problem about my Overview map.

 

My map is in EPSG:23700, the map is working fine, but the overview map just
displays the upper-right part of my full map. Strange thing is that the
rectangle in the overview map appears in the suitable place (like the
background image was the full map).

 

I tried every method what I can find in the list, but nothing helped.

 

 

 My code is:

 

  map = new OpenLayers.Map('map', {maxExtent: new
OpenLayers.Bounds(426412.5,43772.7890625,937405.625,362941.71875),maxResolut
ion: 'auto', units:'m', projection:'EPSG:23700',controls:[]});

 

 

var overview = new OpenLayers.Control.OverviewMap( {  mapOptions: {
maxExtent: new
OpenLayers.Bounds(426412.5,43772.7890625,937405.625,362941.71875),projection
: "EPSG:23700" } });

 

I also tried this:

 

  var options = {

        projection:"EPSG:23700",

        units: 'm', 

        maxExtent: new
OpenLayers.Bounds(426412,43772,937405.625,362941.71875),

       numZoomLevels:1

    };

 

    var overview = new OpenLayers.Control.OverviewMap({mapOptions:
options});

 

..but the result was the same.

 

Can anyone help?

 

Thanks:

 

Magdi

 

p.s: Here is a sample image about my problem : ftp://itqrt.dyndns.org  user,
pass: guest

 

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to