massgov / massgov/feature-requests

Allow location maps to use latitude and longitude instead of address

Open
#154 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Location Location listing
Dominant language
No language data
Stars
12
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Please include the content type/s if applicable.

Business problem
The DOT has locations that do not have street addresses. To create a location page, you must use a Contact Info item that has a street address. Therefore DOT is unable to recreate an existing location page that is in the top 2K.

DCR has some state park addresses for which the visitor center and parking have an address but it appears in an incorrect place in google maps. This would add a latitude and longitude for the direction feature but not change the address.

Done when
CMS authors/editors can create Location pages for locations that have a known latitude/longitude but no street address.
CMS authors/editors can add a latitude and longitude for a location in addition to an address and if provided, the map and directions will show the latitude and longitude instead of the address.
Either an address or a latitutde/longitude should be required for a location. Both are acceptable.
When the latitude and longitude is provided, it is used for the map both on the location page and the location listings page and for the directions links in both places also.
Author is able to select latitude and longitude by entering latitude and longitude coordinates.

Reference
Include JIRA ticket number or ServiceNow ticket numbers that correspond to this issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The request names no implementation files, tests, or entry points. Start by locating the location page, location listings, directions links, and CMS fields, then trace how addresses are validated and passed to maps. Done means the stated address and latitude/longitude combinations work on both page types and in both directions links.

Written by the indexing model from the issue text.

Assessment

Domain
full-stack
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.