Skip to content

Improve documentation on how to use plugin with Mapbox as tile provider #1029

@comatory

Description

@comatory

Discussed in #1028

Originally posted by comatory September 13, 2021
Hello. I already raised the question here but got no answers.

The documentation does not specify how to use Mapbox really and docs on Mapbox page are not relevant. I ended up using something like this

https://api.mapbox.com/styles/v1/myAccount/abcd1234/tiles/256/{z}/{x}/{y}@2x

But there are few problems with this:

  1. I have to create tileset in Mapbox studio even though I'm not planning on using any custom tiles. I just want to use their hosted tiles.
  2. For some strange reason this approach which I'm not sure is because of Mapbox I can't zoom all the way in. Once I do it, the tiles disappear at certain zoom level.

I would appreciate any tips. Perhaps I'm doing something completely weird but I consider Mapbox to be quite popular choice and it's a shame there's no mention of it in documentation.

P.S. No I don't want to use Google Maps Flutter plugin for specific reason. I don't want to use mapbox_gl as it's quite low level and I simply find flutter_map to be easiest to work with.

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