Pregunta de entrevista de Geocortex

How would you build this feature in React?