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.

How should I use user-supplied maps? #1950

@y20k

Description

@y20k

Issue Type

[x] Question

Description

I am the developer of Trackbook, a small app that records hikes. The app uses osmdroid. I recently got the request to add offline maps.

My approach:

  1. ask the user to provide a folder that contains .map files
  2. render the offline maps using MapsForgeTileSource

My problem: The files/directories, that the app receives from the system file picker, are of the type DocumentFile. MapsForgeTileSource only works with File.

I know that there is a (closed) issue #1591 for this problem. So my question rather would be:

Did I choose the right approach, given the premise, that I want to use user-supplied maps?

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