question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

overview - coordinate unit (default unit)

See original GitHub issue

hi

how can i set by default the coordinate unit to degrees value? i tried with <option selected value="d">{@view~map.mouseposition.units.d@}</option> in

lizmap-web-client/lizmap/modules/view/templates/map.tpl

but it doesn’t work…

thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:20 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
josemvmcommented, Dec 6, 2017

@rldhont

that’s not enough, anything is missing yet…

the js script set the unit to degrees imagem but the coordinate reading remains in meter values

0reactions
rmarzocchi84commented, Feb 6, 2020

@nboisteault

there are some line commented

https://github.com/3liz/lizmap-web-client/blob/bedef9b9d8ca8634bc658c34279bfebf879f8ca7/lizmap/www/OpenLayers-2.13/lib/OpenLayers/Control/lizmapMousePosition.js#L187

If I correctly understand the commented section give problem with geographical projection system where meters coordinates are not available

Read more comments on GitHub >

github_iconTop Results From Across the Web

Map units, display units, and location units—ArcGIS Pro
Map units are the units in which the spatial data in the map or scene is drawn. Map units are determined by the...
Read more >
What are default units for coordinates in Create Fishnet tool of ...
What are default units for coordinates in Create Fishnet tool of ArcGIS Pro? · 1. These are definitely metres as longitude is -180...
Read more >
What is the unit of measurement used by the Shape_Length ...
For example, the unit of measurement for Geographic Coordinate Systems is angular, while Projected Coordinate Systems use linear units of ...
Read more >
Function to Create a Unit Object - Rdrr.io
Normalised Parent Coordinates (the default). The origin of the viewport is (0, 0) and the viewport has a width and height of 1...
Read more >
Overview of Coordinate Reference Systems (CRS) in R
units are the same when measuring volume or distances. Package sp and rgdal is used to assign and transform CRS in R: library(rgdal)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found