Thanks for asking, good question.
I haven’t designed such a facility, mostly because of preoccupation with
getting the basic architecture working.
It occurs to me that the map element could provide an API, which would
allow client-side creation and manipulation of features. The client could
programmatically integrate such features with server APIs using standard
So far the map API is focussed on adding and removing layers, using the DOM.
Certainly open to discussing what more we should / can put into the