Input widget with separate fields for Degrees, Minutes Seconds

Created on 8 January 2014, over 10 years ago
Updated 29 May 2023, about 1 year ago

I've put together another input widget for Geofield that allows latitude and longitude values to be entered into separate fields for Degrees, Minutes and Seconds (DMS). Is this something that could be a useful addition to the module?

Example inputs:

It allows the Seconds field to be disabled optionally, and also provides a Degrees Minutes formatter which hides the separate Seconds value, incorporating them into the Minutes as a decimal value.

The patch also allows the coordinates 0,0 to be used for both the existing lat/lon input widget and for the new DMS lat/lon input widget.

Note also the separate, related issue ( #2142071: Allowing coordinate entry in degrees-minutes-seconds DMS format β†’ ) for being able to enter DMS coordinates into the standard lat/lon widget, which doesn't seem to work at the moment.

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom geodaniel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024