Problems with graphics/anti-aliasing in a map (on Androidphone)

133 views
Skip to first unread message

J Lo

unread,
Aug 6, 2020, 4:43:43 AM8/6/20
to Flutter Development (flutter-dev)

Hello,

First to a few words to my background: I’m still a rookie flutter developer and work in the Open-Source Project DYNAMIK (mytuc.org/ncng) at Chemnitz University of Technology. We want to develop an indoor navigation system that helps physically handicapped but generally all people to navigate in complex buildings. Individual routes are to be determined depending on the obstacles that the users cannot overcome. They will be located via Ultra Wide Band and then guided to their destination within the building. For this purpose, we use the mapsforge_flutter library (github.com/mikes222/mapsforge_flutter). With this library, for example, OpenStreetMap-based maps can be displayed and used. 

Now to my problem: Currently the map looks very pixelated. I suspect that this is due to the fact that anti-aliasing has not yet been implemented. After consultation with the maintainer of mapsforge_flutter and a research that has not been very helpful so far, the question arises whether and how anti-aliasing is supported by Flutter. Maybe someone can give me some hints. I also attached a screenshot of the current pixelated map, maybe someone has another idea what this could be. I would be glad about any help or hints where I can find more information on solving this! Thanks in advance!

photo5278503588785663408.jpg

Souvik Dutta

unread,
Aug 6, 2020, 10:54:07 AM8/6/20
to J Lo, Flutter Development (flutter-dev)
The mail is not a widget that flutter provides that needs to be anti-aliased by flutter. Your map provider does not store high resolution map tiles. You can ask the developer to contact the provider and see how you can overcome this. I do think this will happen with an iphone as well. 

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/afe19aeb-051b-495b-9c6d-70af8765f546n%40googlegroups.com.

Souvik Dutta

unread,
Aug 6, 2020, 10:55:38 AM8/6/20
to J Lo, Flutter Development (flutter-dev)
Sorry it would be a map not a mail. I am trying glide typing in gboard😋

Jeanine Lorenz

unread,
Aug 18, 2020, 6:02:39 AM8/18/20
to Flutter Development (flutter-dev)
Hey thanks for your reply. But the the map tiles provided by OpenStreetMap have a high resolution. The rendering happens on the phone, so the problem has to lie there, in my opinion. For Android there is also a library (mapsforge) that allows the use of OSM-maps and the maps look fine there. The AntiAliasing is not yet implemented in mapsforge_flutter, so I thought, that this problem is due to this.  
Reply all
Reply to author
Forward
0 new messages