MapML icon indicating copy to clipboard operation
MapML copied to clipboard

zoomTo() API is not defined

Open zcorpan opened this issue 5 years ago • 1 comments

The location and zoom level of the map created with the map element can be changed via the zoomTo(...) API method, which will change the zoom, lat and lon properties.

This API is not defined. Does it change the zoom, lat, and lon content attributes?

zcorpan avatar Jun 29 '20 14:06 zcorpan

This API is not defined. Does it change the zoom, lat, and lon content attributes?

Yes, that's the notion.

I've encountered a problem in setting the checked attribute boolean attributes based on an API in custom elements, because it seems to set up an infinite loop, where if you're watching the attribute(s), you then kick off a property change, which then changes the attribute and so on. I just haven't had time to go back and get it correctly worked out and implemented.

prushforth avatar Jul 03 '20 20:07 prushforth