Discuss how to organize and architecture the map component in GD3. Maintaining that code is getting out of hand too early in the game. And for everyone in the meeting try to identify what specific things are required for each map on each page. Different styles on explore page, onClick behavior for explore page, and stuff like that. So we can come up with a cleaner design and extensions instead of a cluttered hard to read component.


Map Refactoring

Team Input (goes here):

  • Open Layers Utility Classes 
  • Properties 
  • Separate Components 
  • Inheritance, Trend Map extends the base map - Common functionality in the base map. 
  • Utility library with javascript function.
  • There should be specific component for each page - 
  • Trends inherits the Map component instead of the React Component  

  • No labels