OpenWaterFoundation / owf-app-infomapper-ng

Open Water Foundation InfoMapper web application for menu-driven maps and visualizations, using Angular
GNU General Public License v3.0
1 stars 2 forks source link

Add developer tools #264

Open smalers opened 4 years ago

smalers commented 4 years ago

This is low priority but may be elevated if the functionality is useful and helps resolve other issues.

It would be useful to add some developer tools to help implement maps. This could be opened by an icon on the left side of the legend panel. Some useful functionality that I envision is:

  1. Turn on debug to a higher level to print out more information. If Angular or JavaScript already has a "logging" library, this could be used to set the logging level. Typical levels are debug, info, warn, error, critical. I think I may have added another issue on this topic. Then, instead of just writing to console, code would call utility functions to output messages and it would check to see what level should be output. At a minimum, maybe output every level except debug during normal operations.
  2. Add functionality to interact with FWS services. For example, there are ways to query the service to figure out its configuration. This may be needed to understand how to deal with Esri FWS maximum records. For example, a tool could be added that runs standard metadata queries on a FWS service and outputs the results for troubleshooting.
  3. Print internal application information such as any map caching, performance statistics, etc.