Web-Map-Custom-Element
Web-Map-Custom-Element copied to clipboard
Refactor ContextMenu.js into a class hierarchy for MapContextMenu, LayerContextMenu and potentially similar
ContextMenu.js is complicated and large, and hard to understand. It may be worthwhile to refactor it into separate handler subclasses so that the logic and content of different context menus is separated into different files, yet they share common infrastructure code.