Questions tagged [mapbox-ios]

Use when developing iOS apps with a Mapbox SDK. Prefer to use a more specific SDK tag instead.

Available specific SDK Docs and Tags:

Maps SDK for iOS -> mapbox-ios-maps

Navigation SDK for iOS -> mapbox-ios-nav

Vision SDK for iOS -> mapbox-ios-vision

247 questions
0
votes
0 answers

Where to find the Mapbox events configuration file?

I'm trying to run a swiftui program that uses the Mapbox IOS SDK and I'm getting this error: [Mapbox] [Warning, events_service]: Events configuration file…
cparsuns
  • 1
  • 2
0
votes
1 answer

How to adjust size of the compass in mapview for IOS SDK

How to adjust size of the compass in mapview for IOS SDK Use MapboxNavigation 2.5.0, I can change the position,but I don't know how to change size
Bland
  • 1
0
votes
0 answers

Mapbox Navigation Blue Line Layer with KML data line in iOS

My application loads different KML data lines on the map. Now, when the user draws the route on the map, a blue line hides the KML data lines. I want to make data lines visible on top of the navigation blue line. Can anyone help me to resolve…
0
votes
0 answers

Remove PointAnnotation(marker) from maps iOS

I'm using Mapbox Maps(v10.7.0) in my app, two things I want to achieve Remove all markers (PointAnnotation) Drag a marker and drop in another location let pointAnnotationManager = mapView.annotations.makePointAnnotationManager() …
Human
  • 326
  • 2
  • 3
  • 15
0
votes
1 answer

How to display Zip Code or Postal Code using MapBox iOS SDK

My goal is to display Zip Codes or Postal Codes using Mapbox's iOS SDK for USA only postal codes; I am currently able to display the boundaries for Zip Codes and the international postal/zip code, for example "USP227518" when I actually want to…
Michael Ellis
  • 181
  • 3
  • 15
0
votes
1 answer

Mapbox - FLUTTER SDK

I have gone through the mapbox documentation and come to know that it provides offline support for both Android and IOS. My requirement is to use direction functionality offline. Since We can download and store particular region, Can we load…
Jaimin Modi
  • 1,530
  • 4
  • 20
  • 72
0
votes
1 answer

How to add the custom data to Mapbox in Unity?

I want to add the custom data to the Mapbox in Unity. Unity version: 2020.3.36f1 Scripting Runtime Version: vsCode Api Compatibility Level: NET4.0 Mapbox SDK version: 2.0.0 The platform I am building to: Android, IOS. I want to change the colors of…
blue pine
  • 472
  • 6
  • 17
0
votes
1 answer

Mapbox iOS: Updating Route while navigating

I am working with Mapbox to navigate users to some places. There are times when I need to update the route on the fly, for example when users should take a detour to a waypoint I set. My Route Calculation works well. I create a…
Jan L
  • 233
  • 1
  • 10
0
votes
1 answer

Self hosting vector tiles using Mapbox SDK iOS v10

I want to host and render vector tiles using .pbf files in the new Mapbox SDK iOS (v10). I tried the following but it does not work. mapView = MapView(frame: view.bounds) mapView.autoresizingMask = [.flexibleWidth, .flexibleHeight] …
0
votes
1 answer

Mapbox 10.4 iOS: Changing opacity of raster layer with a slider

I have just updated from Mapbox 10.3 to Mapbox 10.4, and have an issue with changing the raster layer opacity on the fly. I have a slider to change the raster layer opacity, and had it working in Mapbox 10.3, but as of 10.4 it no longer works. The…
Brad S.
  • 1
  • 1
0
votes
1 answer

App crashing when loading RasterLayer - Mipmaps level count must be greater than 1

My team is in the process of updating to Mapbox v10. We have several tile map layers that are all crashing immediately upon loading. One weird thing I've noticed is that the crash only happens when connected to Xcode debugger. If I launch the app…
swiftyboi
  • 2,965
  • 4
  • 25
  • 52
0
votes
1 answer

Mapbox iOS - Cannot find the function similar to "visibleFeatures" on version 10

I'm working on task migration Mapbox from version 3.6 to version 10.0 Now I'm facing the issue that in the old version, I use "visibleFeatures" function to get MGLFeature when user tap on the map. @objc func handleTapWithGestureRecognizer(_…
Anh Bui
  • 287
  • 1
  • 2
  • 9
0
votes
1 answer

iOS Simulator crashes when clicking on Map

So I have an issue only with the simulator for iOS, I can interact with the map for about two seconds before the whole app crashes... When I use my own device, it works fine... here's a gif: https://gyazo.com/67a5d7f10586d0368eb631346122867b Here is…
Christian Moen
  • 1,253
  • 2
  • 17
  • 31
0
votes
1 answer

Does Mapbox has a get user pan/swipe event? Can't find anything in Docs

What I'm looking for? I want to get notified when the user swipes/pans the pan to check other locations. The only only event I could find is onPress but it is only fired when the user actually presses on the map, but if the user swipes the map to…
0
votes
1 answer

How to draw 3D user location model among 3D buildings on MapBox iOs SDK

I'm using Mapbox 10.2.0 sdk for iOs. I've imported 3d puck (user location marker) on a map in my iOs application. I also have a 3d buildings layer extruded above the ground. The problem is that 3d user marker and buildings are on different layers,…
Ilya
  • 1,349
  • 11
  • 16