Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Issue with Markers resolution #1738

@MKergall

Description

@MKergall

I'm completely stucked with a strange issue related to Markers resolution on high-density screens.
I define my Marker icons with only 1 resolution, in res/drawable-mdpi directory.

On one application (OSMNavigator), Marker icons are automatically resized according to the screen density - as needed and expected.

On another application (NooTous), this doesn't work at all: Marker icons are not resized.

Same version of osmdroid (6.1.11). Same target SDK (30). Same test device (API 30, 420 dpi).
The only difference I can see is that the first app is based on old-style Activity model, while the second app is based on Fragment.

(both applications here: https://github.com/MKergall/osmbonuspack)

Issue Type

[ X ] Question

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions