Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapBox capabilities questions from designers for devs #2275

Open
fancyham opened this issue Nov 8, 2024 · 1 comment
Open

MapBox capabilities questions from designers for devs #2275

fancyham opened this issue Nov 8, 2024 · 1 comment
Assignees
Labels
Feature: Design System Standards, documentation and guide of design assets and components Missing: Milestone This issue is not part of any milestone Missing: Size The effort estimate for this issue is missing Role: Design UI/UX User interface / user experience design skill: mapbox

Comments

@fancyham
Copy link
Collaborator

fancyham commented Nov 8, 2024

Overview

This is a list of questions from the design team to our Mapbox developer(s) that will help us better understand what's possible, what's easy/difficult, in order to inform our designs.

Action Items

Please review and answer these questions if you can, and note difficulty if something is particularly easy or difficult. Thanks!

  1. Can we auto-zoom the map to show the closest 20 pins, no matter the distance from the user’s address? (particularly in extreme cases where there are lots of locations near by, or very few) (re: Search results count needs to be more useful for food-seekers #2216)
  2. Can we easily count how many results are within a certain radius? (useful for displaying a "20 locations in 5 miles)
  3. Can we easily tell how many pins are currently displayed on the map? (re: Search results count needs to be more useful for food-seekers #2216)
  4. Can we display numbered pins dynamically, or do we need static images for each number? (re: Feature: Visually indicate which item in the results list matches with which map pin #1711)
  5. Can we draw circles on the map to show distance from user's address? (i.e. 1 mile, 2 miles, 5 miles, 10 miles)
  6. Can we get MapBox working with Microsoft Clarity? Bug: Microsoft Clarity isn't displaying our map correctly in its recordings #1908
  7. DYNAMIC Data loading on MAP MOVEMENT  - this is where I wonder, if we move the center of the map to a different location that have more than 20 locations (at same map scale) : will it ZOOM IN to show only 20 locations? 
  8. DYNAMIC Distance (Radius filter) -Can we combine this radius filter with the 20 closest locations ‘filter’?  Or the idea, when user enter location the default is to only show 20 closets, but as soon as you input additional filters in your search, then you are no longer bound to the 20 closest? 

Questions 1-6: @fancyham
Questions 7-8: @Shienny1

(Let’s try to put the answers and summary of any discussion here for posterity and future reference)

@fancyham fancyham added Role: Design UI/UX User interface / user experience design Missing: Feature The feature tag is missing for this issue Missing: Size The effort estimate for this issue is missing Missing: Role The role is missing from this issue Missing: Milestone This issue is not part of any milestone skill: mapbox labels Nov 8, 2024
@github-project-automation github-project-automation bot moved this to New Issue Approval in P: FOLA: Project Board Nov 8, 2024
@fancyham fancyham changed the title MapBox questions from designers for devs MapBox capabilities questions from designers for devs Nov 8, 2024
@MuthamilselvanG MuthamilselvanG added Feature: Design System Standards, documentation and guide of design assets and components and removed Missing: Feature The feature tag is missing for this issue labels Nov 11, 2024
@farahrobleh farahrobleh removed the Missing: Role The role is missing from this issue label Nov 14, 2024
@whitneywind
Copy link
Member

whitneywind commented Nov 18, 2024

  1. Autozoom to show 20 closest pins?
  • Yes, doable but getting an exact 20 isn’t always reasonable given the shape of the map and the distribution of pins. At least 20 or decreasing zoom until 20 or more are visible would be fine (meaning it wouldn’t zoom out anymore after passing that threshold).
  1. Count results within a certain radius?
  1. Tell how many pins are currently displayed?
  • Yes. At current visible level or total? Either way, it’s very doable.
  1. Display numbered pins dynamically? Or static images for each?
  • It depends on how it will look. Is it simply displaying a number? Or a number inside of a separate image? Displaying dynamic text alone is easy but having it within an image will make it trickier. I can look into this. I’m sure it’s possible but, if another dev has more experience customizing svg’s they may be better suited to answer.
  1. Draw circles on the map to show distance from user's address?
  • We could use the same idea as in number 2.
  1. Can we get MapBox working with Microsoft Clarity?
  • I don’t have any personal experience with Clarity, but I would think not because as this user said: “Clarity relies on capturing changes to the DOM, while Mapbox renders maps directly onto a element and is directly reflected in DOM updates.”
  1. DYNAMIC Data loading on MAP MOVEMENT  - if we move the center of the map to a different location that have more than 20 locations (at same map scale) : will it ZOOM IN to show only 20 locations? 
  • is this the same as number 1? Getting an exact 20 might not always be an option, but the short answer is we probably could do that - it seems doable if we can implement number 1 and/or number 3. It might be disorienting to have the zooms switching like that though. And since the markers have to load and be counted before we can determine if there is a need to zoom in or out, there might be a delayed zoom change which also would be disruptive.
  1. DYNAMIC Distance (Radius filter) - Can we combine this radius filter with the 20 closest locations ‘filter’?  Or the idea, when user enter location the default is to only show 20 closest, but as soon as you input additional filters in your search, then you are no longer bound to the 20 closest? 
  • Is the radius filter the same as what is described in number 2? Or the same but it hides any beyond the first 20? What would this look like exactly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Design System Standards, documentation and guide of design assets and components Missing: Milestone This issue is not part of any milestone Missing: Size The effort estimate for this issue is missing Role: Design UI/UX User interface / user experience design skill: mapbox
Projects
Status: New Issue Approval
Development

No branches or pull requests

4 participants