map-extent add zoomTo() method, extent property and map-change event
Add the following to map-extent to be similar to layer-
- [x] zoomTo() method
- [x] extent property
- [ ] map-change event
Remind me: What does the map-change event relate to ? IIRC it's analog on the platform is the change event:
The change event is fired for <input>, <select>, and <textarea> elements when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.
So when we do implement the map-change event, it gives us the opportunity to amend the behaviour that we currently implement (I believe) which is that the event is fired for each alteration to the checked status, regardless of whether that change was programmatic or user-initiated. I may be mixing stuff up.
What does the map-change event relate to ?
It is referring to the event fired off by the checked attribute, like we have for layer - https://maps4html.org/web-map-doc/docs/api/layer-api#events