Hi, On 6/1/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote: > > - The map scalebar works for me in an application with EPSG:31295. So > > maybe the wrong scale is only calculated in EPSG:4326? Because the > > wrong information comes from OpenLayers functions, I suspect that this > > has to do with incorrect settings of maxExtent, maxResolutions and > > projection. > > Most important is 'units', which OL needs to determine the correct scale.
Thanks Chris for that important hint! Olivier, the reason for the wrong scales is that cscs always returns meters as units! And projections like EPSG:4326 are in degrees. Regards, Andreas. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ mapbuilder-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
