You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Platform: iOS 10, Swift 3 Mapbox SDK version: 3.4.0-alpha.4
I'm currently facing a problem with above solution: The function mapView.visibleFeatures(in:) correctly returns all features inside my touchable square. The problem is: there are some coordinates missing in the MGLPolylineFeature depending on the zoom level I'm currently at. See examples below:
Features come from tiled vector data or GeoJSON data that is converted to tiles internally, so feature geometries are clipped at tile boundaries and features may appear duplicated across tiles. For example, suppose the specified rectangle intersects with a road that spans the screen. The resulting array includes those parts of the road that lie within the map tiles covering the specified rectangle, even if the road extends into other tiles. The portion of the road within each map tile is included individually.
Unfortunately, this means that the returned feature can’t correspond to an entire annotation. You’ll have to do some custom logic to match the returned feature to the original annotation.
Platform: iOS 10, Swift 3
Mapbox SDK version: 3.4.0-alpha.4
I'm currently facing a problem with above solution: The function
mapView.visibleFeatures(in:)
correctly returns all features inside my touchable square. The problem is: there are some coordinates missing in theMGLPolylineFeature
depending on the zoom level I'm currently at. See examples below:ZoomLevel between 12-13
ZoomLevel between 13-14
Is this a bug or am I doing something wrong? 🙈
The text was updated successfully, but these errors were encountered: