MapML
MapML copied to clipboard
Why is zoom an integer?
interface HTMLMapElement : HTMLElement {
...
readonly attribute unsigned short zoom;
Why is zoom an integer?
That's a good question. I think mostly because tile servers only provide whole integer zoom levels, despite that the client can in theory have a non-integer zoom state, and indeed does have when you animate zoomTo and other map actions.
So maybe it should be a readonly double?