[Geomoose-users] GM3 Coordinate Display precision

James Klassen klassen.js at gmail.com
Sat Jan 12 18:39:01 PST 2019


Already covered.  Add precision to the point_projections array in app.js.

And probably also worth a issue to add this to the docs if it isn't in
there.

ex:

    var point_projections = [
        {
            label: 'X,Y',
            ref: 'EPSG:200068',
            precision: 0
        },

    ...


On Sat, Jan 12, 2019, 18:38 Kevin Grootendorst <kgrootendorst at gmail.com
wrote:

> All,
> In the footer of my app, I'm displaying coordinates in UTM 17, however, it
> defaults to 10 decimal places.  Can this be changed to 1 or 0 decimals?
> From searching the list archives, I see that pre-v3, there was a
> coordinate_display.js or main.js that could be modified to change precision.
> I'm guessing this could be done in the app.js file in GM3, but not sure
> where/how to implement.
> Is it in the app.addProjection?
> app.addProjection({
>         ref: 'EPSG:26917',
>         def: '+proj=utm +zone=17 +ellps=GRS80 +datum=NAD83 +units=m
> +no_defs'
>     });
>
> Cheers,
> Kevin
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20190112/610e7ef4/attachment-0001.html>


More information about the Geomoose-users mailing list