Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] <titleThis is expected for tiles that were being prefetched but are no longer needed for the map to render. #555

Open
tanwanlanyue1 opened this issue Mar 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@tanwanlanyue1
Copy link

Platforms

all

Version of flutter maplibre_gl

0.21.0

Bug Description

Run the maplibre_gl example, replacing stlyString with a black screen. The error message is:This is expected for tiles that were being prefetched but are no longer needed for the map to render.

Steps to Reproduce

Directly replace styleString with style in my map box

Expected Results

Image

Actual Results

Image

Code Sample

MapLibreMap(
key: UniqueKey(),
initialCameraPosition: const CameraPosition(
target: LatLng(139.6503, 35.6762),
zoom: 11.0,
),
styleString: "https://api.mapbox.com/styles/v1/ethan2077/cm7yiv4cw009701si8ub2dpqw.html?title=copy&access_token=my_token&zoomwheel=true&fresh=true#15.3/35.680193/139.766591",
// styleString: "assets/osm_style.json",
)

@tanwanlanyue1 tanwanlanyue1 added the bug Something isn't working label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant