MapML icon indicating copy to clipboard operation
MapML copied to clipboard

Why is zoom an integer?

Open zcorpan opened this issue 5 years ago • 1 comments

 interface HTMLMapElement : HTMLElement {
...
    readonly attribute unsigned short zoom;

Why is zoom an integer?

zcorpan avatar Jun 29 '20 13:06 zcorpan

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?

prushforth avatar Jul 03 '20 21:07 prushforth