[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 590: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 646: sizeof(): Parameter must be an array or an object that implements Countable
Arda Maps • Scalebar not calculating perfectly
Page 1 of 1

Scalebar not calculating perfectly

Posted: Fri Sep 04, 2015 10:52 am
by Niniel
Maybe, I'm wrong, but could it be that the scalebar miles are just approxed?

I mean overall they are fine, they give an idea about distance. But if I resize my browser it shows something different if I directly compare it with the map and the amount of miles covered before.

I hope you got the issue. If not let me know kwoxer =) But anyway I think it's fine, better then nothing ;)

Re: Scalebar not calculating perfectly

Posted: Sun Sep 06, 2015 8:15 am
by kwoxer
Yes that is true. But it's really a big thing to do absolute correct calculations on this. I think it is not worth it right now.

Currently I'm doing the calculations on the window size of the browser, but that is not the best way for this. I think it needs to be done on the actual map sizes together with browser sizes and the map zooming.

But that is not that easy tho =/