If we use a map that is in Webmercator, the scalebar will be "wrong" as the distances in webmercator differ about 50% from reality (in the luxembourg area).
This means that we cannot use the standard scalebar.
We would need to specify the coordinate system to be used for the scalebar (in this case EPSG:2169) while the map is in EPSG:3857.
If we use a map that is in Webmercator, the scalebar will be "wrong" as the distances in webmercator differ about 50% from reality (in the luxembourg area).
This means that we cannot use the standard scalebar. We would need to specify the coordinate system to be used for the scalebar (in this case EPSG:2169) while the map is in EPSG:3857.
See http://blogs.esri.com/esri/arcgis/2010/03/05/measuring-distances-and-areas-when-your-map-uses-the-mercator-projection/ for more information on the subject.
Or also https://github.com/camptocamp/ngeo/pull/172