[OpenLayers-Users] overview control

Huub Fleuren huub.fleuren at geodan.nl
Sun Oct 28 20:11:14 EDT 2007


Hi,

I'm not sure but pretty sure that the overviewcontrol for a projection 
like 28992 does not work correctly (it does for 4326). What is a good 
way to go forward with this? Maybe file a trac-ticket?
I' referring to my previous contributions in this thread ...

I tried using only different options (for the map and the 
overview)-(holding this carefully the same), it boils down to the units, 
i guess.


  var optionsll = {
     projection: "EPSG:4326"
    ,maxExtent: new OpenLayers.Bounds( 3.13, 50.45, 7.14,53.32)
    ,maxResolution: 1500
    ,scales:[2500000, 1200000, 600000, 300000, 150000, 75000, 37000, 
12500, 4250]
  };

  var optionsrd = {
     projection: "EPSG:28992"
    ,units:"m"
    ,maxExtent: new OpenLayers.Bounds( 0,300000,250000,650000)
    ,maxResolution: 1500
    ,scales:[2500000, 1200000, 600000, 300000, 150000, 75000, 37000, 
12500, 4250]

  };


Regards, Huub



More information about the Users mailing list