Page 2 of 2

Re: map

Posted: Wed Jan 15, 2014 7:10 am
by Covenant
If it's HTML, and AT is hosting an in line webkit engine instance, then it should respect the viewport meta tag. It would only take a few moments to change the min and max scale values. Say 0.1 min and 1 max. Then the pinch and zoom gesture, which invokes webkit scaling, would allow the scaling down to 10% of its original view - AKA zoom out by factor of 10.

===edit===

I just had a look at the hTML source of the worldmap_blackwater.html file and there's no viewport meta tag. Perhaps one can be added?

Re: map

Posted: Thu Oct 30, 2014 3:06 pm
by Zukero
I know this is an oldie, but I gave it a second look.
I tested the viewport meta tag thing. Coupled with one line of code telling the AT map view to actually use this meta tag, and it seemed to work.
I will certainly merge this change in the main repo soon.

Kudos to Covenant for pointing this out !

Re: map

Posted: Thu Oct 30, 2014 7:26 pm
by Covenant
Nice, thanks. As the map files are raw HTML in a sub folder of the install, I might editing them directly my phone too, to see how it works out. Hopefully the Web browser engine in BlackBerry supports the viewport meta tag.

Re: map

Posted: Thu Oct 30, 2014 8:16 pm
by Zukero
On BB you might have a chance. However, these files are generated from a template, so every time a map changes, or if you discover a new one, you'll have to edit the files again.
On Android that won't work, as the used webview is not configured to use this information in v0.7.1

Re: map

Posted: Fri Oct 31, 2014 12:06 pm
by Ian
Awesome work, Kevin! And thanks for reporting this, Covenant!