Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

MGLTileSourceOptionCoordinateBounds missing tiles when reaching max zoom level #11209

Closed
agugel opened this issue Feb 15, 2018 · 0 comments · Fixed by #11227
Closed

MGLTileSourceOptionCoordinateBounds missing tiles when reaching max zoom level #11209

agugel opened this issue Feb 15, 2018 · 0 comments · Fixed by #11227
Assignees
Labels
bug Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS
Milestone

Comments

@agugel
Copy link

agugel commented Feb 15, 2018

Hello,
I try to use the new MGLTileSourceOptionCoordinateBounds option. But tiles start to get missing if I zoom far in and pan. If I don't use this option than every tile gets displayed correctly.

Platform:
iOS

Mapbox SDK version:
3.7.4

Steps to trigger behavior

  1. use MGLTileSourceOptionCoordinateBounds option

let mglBoundsValue = NSValue(mglCoordinateBounds: mglBounds) let source = MGLRasterSource(identifier: mapTag, tileURLTemplates: [urlTemplate], options: [.tileSize: 256, .tileCoordinateSystem: MGLTileCoordinateSystem.TMS.rawValue, .coordinateBounds: mglBoundsValue])
2. Zoom in until you see the underlying MapBox map
3. Pan in any direction, e.g. to the left

Expected behavior

Tiles should be loaded and displayed for the newly visible map region.

Actual behavior

Only the underlying MapBox map is shown. The tiles are missing.

img_7491

@fabian-guerra fabian-guerra added the iOS Mapbox Maps SDK for iOS label Feb 15, 2018
@asheemmamoowala asheemmamoowala self-assigned this Feb 16, 2018
@friedbunny friedbunny added bug Core The cross-platform C++ core, aka mbgl labels Mar 8, 2018
@friedbunny friedbunny added this to the ios-v3.7.6 milestone Mar 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants