osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.66k stars 1.02k forks source link

Replace the default OsmAnd vector maps rendering engine with something like Maplibre #20930

Closed quickfixdemon closed 1 month ago

quickfixdemon commented 1 month ago

Describe the idea

The default OsmAnd vector maps rendering engine is terrible at its job. Even if I switch to offline vector maps, it glitches constantly and pixelates. I can see pixels and glitching at higher zoom levels. Compared to other maps, this experience is terrible. Therefore, I suggest OsmAnd switch to MapLibre as the default rendering engine.

Expected behaviour

Expected behaviour: When I zoom in or out, no glitching, pixelation or lag should occur. Actual behaviour: When I zoom in or out, it glitches, pixelates and takes time to load map tiles.

Alternatives you've considered

I don't see any alternatives worth considering.

Context

No response

scaidermern commented 1 month ago

It might be worth investigating this option.

OsmAnd's rendering engine is quite slow. Switching to a (presumably) faster one that is developed externally could improve rendering speed while reducing development resources at the same time.

This option is only valid if Maplibre is equally powerful.

quickfixdemon commented 1 month ago

It might be worth investigating this option.

OsmAnd's rendering engine is quite slow. Switching to a (presumably) faster one that is developed externally could improve rendering speed while reducing development resources at the same time.

This option is only valid if Maplibre is equally powerful.

Maplibre is very fast and very powerful, it doesn't drop a frame no matter how fast you zoom in, out or around the map. You can have a look at MapLibre in a few ways:

  1. Use SCEE version 59.0 from F-droid(they recently changed their map implementation of MapLibre and version 59.0 has that update
  2. Download the Wikipedia app from F-droid and go to More -> Places. You will see Wikipedia's MapLibre implementation.
  3. OpenHistoricalMap uses MapLibre. Take a look at the implementations mentioned above. Please implement MapLibre in OsmAnd, the default rendering engine is just terrible.
vshcherb commented 1 month ago

Disagree, opengl rendering engine works pretty smooth. I don't see any pixelation.

scaidermern commented 1 month ago

Disagree, opengl rendering engine works pretty smooth. I don't see any pixelation.

Compare a densely populated area such as London in OsmAnd vs StreetComplete. You will see a noticeable difference in rendering speed, although both use vector tiles. Even with OpenGL OsmAnd becomes very sluggish on my Samsung S9.

Nine-Tailed commented 1 month ago

Something really needs to be done about the osmand rendering performance, unfortunately the rendering engine 2 did not live up to expectations. It's like a fly in the ointment.

quickfixdemon commented 1 month ago

I think the other comments here oppose that. The OpenGL rendering engine isn't smooth at all, and it does pixelate. I'm on the latest Android version(14) and it is terrible. I've tested it on my other device(same android version, different skin and manufacturer)

On 27 September 2024 9:05:57 am UTC, vshcherb @.***> wrote:

Disagree, opengl rendering engine works pretty smooth. I don't see any pixelation.

-- Reply to this email directly or view it on GitHub: https://github.com/osmandapp/OsmAnd/issues/20930#issuecomment-2378808200 You are receiving this because you authored the thread.

Message ID: @.***>