You have to use
projection: new OpenLayers.Projection("EPSG:.....
units: "dd",//"m",

Furthermore you have to include proj4js because you are using EPSG 27572.

HTH
best regards
Sarah




________________________________





On Wed, Oct 6, 2010 at 4:57 PM, Sarah Schuessler <[email protected]> wrote:

Hi,
>
>where did you define your projection and when your scaleline and mouseposition?
>What does firebug say?
>
>best regards
>Sarah
>

 
var options = {maxExtent: bounds,
>projection: 'EPSG:27572',
>units: 'METERS',
>maxResolution: 256,
>controls: [ new OpenLayers.Control.Navigation(), new 
>OpenLayers.Control.KeyboardDefaults(), new OpenLayers.Control.PanZoomBar(), 
>new 
>OpenLayers.Control.ScaleLine(), new OpenLayers.Control.Attribution() ],
>           numZoomLevels: 14 };
>
>    map = new OpenLayers.Map('map', options);
>

firbug says nothing :(  


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

Reply via email to