Design Google Maps on the web: map tiles, pan and zoom, viewport loading, search and directions

hardAbout 60 minutesUpdated System designProsystem-designmapswebgltilescachingperformanceaccessibility
Not solved

Share this question

Problem

Design the web version of a map product like Google Maps (maps.google.com) or OpenStreetMap's website. Users can:

  • see a map of the whole world and zoom smoothly from continents down to individual buildings;
  • pan by dragging, zoom with the wheel, a trackpad pinch, a touch pinch, double click or the keyboard;
  • search for a place or address with suggestions as they type, and see results as pins and in a list;
  • get directions between two places, see one or more routes drawn on the map, and read the steps;
  • share a link that opens the same place at the same zoom;
  • keep a saved area working when the connection is poor or gone.

Ref. UR-1468 · © UIRound · uiround.com/questions/design-google-maps-on-the-web-map-tiles-pan-and-zoom-viewport-loading-search-and-directions

Stuck? Take a hint

Practise this round first

Work through the steps of a design framework on a 45-minute clock, writing notes as you would say them out loud. The model answer stays hidden until you finish, then you check your design against 8 checkpoints.

Requirements, Architecture, Data model, Interface, Optimizations. The common choice for frontend rounds. How it works

Private, and saved in this browser as you type. All your notes are on My lists.

Every question and answer7 days, one payment