GitHub user clhubert edited a discussion: Map Box ViewPort Improvement - Limit 
options for Longitude/Latitude

Prevent users from entering in INVALID Latitude / Longitude Decimal Degrees.    
Currently you can put in any number, including invalid ones.   No error message 
is thrown for invalid numbers.

**Solution:**
Limit Latitude Field to  -90 to 90
Limit Longitude Field to -180 to 180

**Logic:**
This follows the World Geodetic System (WSG 84) Rules
Latitude Range: -90° (South Pole) to +90° (North Pole).
Longitude Range: -180° (West) to +180° (East).
Hemispheres: In decimal format, North and East are positive (+), while South 
and West are negative (-).

**Additional Clarity -  Tool Tip:**
Make clear in tool tips that Latitude/Longitude is Decimal Degrees (DD) and NOT 
DMS(Decimal Degrees Seconds) or any other format.

<img width="282" height="274" alt="Screenshot 2026-03-31 at 12 11 14 PM" 
src="https://github.com/user-attachments/assets/ee4ef386-3bcf-4472-a121-cb4234a3e85c";
 />



GitHub link: https://github.com/apache/superset/discussions/38983

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to