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
19
votes
8 answers

Cocoapods - Error installing Mapbox-iOS-SDK

I want to install last version of Mapbox with Cocoapods. I configure .netrc file : machine api.mapbox.com login mapbox password But when I launch pod install, I have this error : [!] Error installing Mapbox-iOS-SDK [!]…
BSK-Team
  • 1,750
  • 1
  • 19
  • 37
14
votes
1 answer

How to draw polyline over map in apple watchOS

We have tried with apple map but apple map SDK does not allow us to draw polyline over the map so we have seen one application that is doing a similar thing using MapBox SDK. But unfortunately, Mapbox official documentation does not provide any…
Pradeep
  • 563
  • 1
  • 3
  • 16
10
votes
3 answers

Mapbox iOS SDK installation using .netrc file

I'am facing following issue while installing pod. [!] Error installing Mapbox-iOS-SDK [!] /usr/bin/curl -f -L -o /var/folders/qn/l5lqh07s5sscfzbm1tklmzgr0000gn/T/d20200915-46243-1aqah9u/file.zip…
roger10
  • 101
  • 1
  • 5
9
votes
2 answers

How do you create a .netrc file?

I'm attempting to download the Mapbox Maps SDK for ios but I'm having trouble understanding how to create a .netrc file. I'm supposed to store my secret token to download the SDK and I can't add the SDK dependency with Cocoapods until I do this…
cmedina
  • 101
  • 1
  • 1
  • 3
7
votes
2 answers

Mapbox-iOS-SDK 6.3.0 pod install error 403 Forbidden

download Mapbox example, run pod install, error: 403 Forbidden, why? please help, thank you! pod 'Mapbox-iOS-SDK', '~> 6.3.0' ➜ ios-sdk-examples-298e050be7352eb28cee6f03e02945593140c1f3 pod install Analyzing dependencies Downloading dependencies…
user14463468
  • 83
  • 1
  • 3
7
votes
2 answers

Mapbox Navigation in iOS with in my mapView controller

I want to integrate Mapbox navigation in iOS, I can easily get the direction/route between two coordinate also to get the navigation path from mapbox we can use below code let options = NavigationOptions(styles: nil) let viewController =…
Aakil Ladhani
  • 984
  • 9
  • 32
6
votes
3 answers

Xcode builds successfully a corrupted archive, not showing in organizer, as soon as cocoapods installs react-native-mapbox-gl from Podfile

The problem seems not new, as here, but the solutions proposed didn't work. I tried also several other approaches to understand what's going on (see here). To replicate, this is the process: I have a working iOS App written in Swift. I follow the…
6
votes
1 answer

Mapbox multicolored polyline

I'm moving my app over to Mapbox and one of the things that I'm stuck on is creating a multicolored polyline where the segment color is set dynamically by speed. The closest thing I've been able to do is create an array of different colored lines…
Rob.R
  • 481
  • 5
  • 11
5
votes
1 answer

Mapbox iOS clustering works, but circle style layer and numbers layer aren't appearing/reflecting the marker density of the cluster

I am using Mapbox to create an iOS application. The application gets makes a request to my API that returns a number of events going on within the map's bounding box in JSON format. I was previously not using clustering, so some map annotations were…
David Chopin
  • 2,780
  • 2
  • 19
  • 40
4
votes
1 answer

MGLMapViewDelegate Not working in the V10.2.0 SwiftUI

I have implemented the MapBox v6.3.0. Currently i'm updating the MapBox to latest version with V10.2.0. In the latest version MapBox delegate update with events. i have added all events according to previous MGLMapViewDelegate delegate methods. But…
Sham Dhiman
  • 1,348
  • 1
  • 21
  • 59
4
votes
0 answers

Mapbox iOS - vector tiles projection

mapbox ios sdk version 6.2.1 Hi, I am trying to display fires vector tiles layer on mapbox but I can't make it show on correct position. I add fire layer like this: let source = MGLVectorTileSource(identifier:…
Martin Vandzura
  • 3,047
  • 1
  • 31
  • 63
4
votes
1 answer

Animate polyline on Mapview Mapbox iOS

I am replacing GoogleMaps SDK with Mapbox SDK for my iOS app. I am stuck at a point where my app has a feature where I animate polyline(already added) on map like Uber app. But I cant seem to make it work with Mapbox iOS SDK. Mapbox has an example…
Paras Gorasiya
  • 1,295
  • 2
  • 13
  • 33
4
votes
1 answer

Does Mapbox Geocoding API iOS reverse geocode on large bodies of water (Oceans)?

I am using Mapbox's Geocoding API on iOS (Swift) to reverse geocode coordinates. I have been able to make it work for any land coords, but when on the ocean my code does not run (or print the placemark): let task = geocoder.geocode(options)…
user11199876
4
votes
1 answer

Set FillColor of MGLFillStyleLayer by color feature attribute

we are developing an iOS-App and have a problem with setting the fill color of the MGLFillStyleLayer (MapBox iOS SDK). We have a large .geojson-file which is parsed and added to the standard MapBox map. Each feature in the geojson has an "color"…
TorbenI
  • 43
  • 3
3
votes
1 answer

Error: mapbox-maps-ios could not be resolved

I am trying to follow MapBox iOS SDK on my project through Swift package Manager dependency. Facing issue in setup. Followed MapBox Guidelines : https://docs.mapbox.com/ios/maps/guides/install/ Error: mapbox-maps-ios could not be resolved Steps…
Santosh Singh
  • 765
  • 11
  • 27
1
2 3
16 17