[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
Scalebar not calculating perfectly - Arda Maps

Scalebar not calculating perfectly

Found a bug and up to 99,99% sure that it's not just a feature. Please let us know here =)
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1191: count(): Parameter must be an array or an object that implements Countable
Niniel
Posts: 24
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1191: count(): Parameter must be an array or an object that implements Countable

Scalebar not calculating perfectly

Post#1 » Fri Sep 04, 2015 10:52 am

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 ;)

kwoxer
Site Admin
Posts: 36
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1191: count(): Parameter must be an array or an object that implements Countable

Re: Scalebar not calculating perfectly

Post#2 » Sun Sep 06, 2015 8:15 am

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 =/

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1191: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1191: count(): Parameter must be an array or an object that implements Countable

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 0 guests

cron