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
1 answer

iOS Flutter Platform View with MapPin Drawing Over Widgets

I'm using Flutter's platform views to integrate full-screen maps from Mapbox into my Flutter app. While setting up the iOS platform view with the map, I encountered an issue related to the behavior of pins on the map while using view annotations.…
0
votes
0 answers

How can i get destination marker count by using "point_count" in mapbox?

I am working with map-box in ios swift, my code is working good enough until I zoom to the destination marker but when I reach to destination marker, I unable to get any count on destination marker. Below is my code let icon = UIImage(named:…
0
votes
0 answers

Point annotation manager drag and drop delegate method missing

I want to detect the point annotation drag and drop movement on the map. But in v10.14.0 point annotation delegates and listeners are missing, to detect the drag coordinate of annotation. PointAnnotation Manager provides only one delegate Annotation…
0
votes
0 answers

How can i know point annotation aggregated, and update attached view annotation

I want to get the aggregated data of the point annotation when the point annotation is aggregated, and assign the aggregated data to the bound view annotation. MapBox SDK for iOS version: v10.13.0 I create a PointAnnotationManager private var…
mojue
  • 1
0
votes
0 answers

Blinking effect while plotting pointAnnotation

I am using mapbox to plot a marker other than the user(own). I am using mapbox for this. I am using following code to plot the annotation. private func plotNearbyDevices() { guard mapView != nil else { return } let…
SarojMjn
  • 569
  • 1
  • 7
  • 23
0
votes
0 answers

Display a custom 3D model in a Mapbox map in Mobile Maps SDK

I want to display a custom 3D object (e.g. OBJ, GLTF, GLB...) in a Mapbox map on Android/iOS. Is this possible? I am not familiar with Mapbox yet, but am considering using it. I tried to Google and search their doc for an answer but couldn't come to…
pallgeuer
  • 1,216
  • 1
  • 7
  • 17
0
votes
0 answers

How to add icons to a map that don’t conflict with another LineLayer [mapbox]

I have an app where I have a Line Layer that outlines the borders of a user’s territory. I never want the bounds of my icon to intersect with the borders of the user’s territory Currently i’m using a symbolLayer to display each of these icons but am…
Max Miranda
  • 191
  • 5
0
votes
0 answers

Elevation/Altitude for track/route

I want to use MapBox to display a GPS track for small planes. I managed to display the track using annotations, but they are displayed on the terrain, not above. How can I display a track in altitude (i.e. above the terrain)? Annotations seem to be…
vomi
  • 993
  • 8
  • 18
0
votes
0 answers

How to add fog effect to Mapbox on iOS

I don't have a 10 reputation to post images. Effect picture The map is covered by fog, and the map is displayed where you walk, that is, the coordinates are collected according to where you walk, and the fog is not displayed use view -drawRect ,bad…
beyond峰
  • 1
  • 2
0
votes
1 answer

An error occurs when AddressAutofill is used to query address information by CLLocationCoordinate2D

func getLocationAddress() { let centerCoordinate = CLLocationCoordinate2D(latitude: -34.005676, longitude: 138.795836)//mapView.centerCoordinate addressAutofill.suggestions(for: centerCoordinate) { [weak self] result in …
beyond峰
  • 1
  • 2
0
votes
0 answers

Mapbox iOS Condition Expression using MGL_MATCH

Consider the following expression: NSExpression( layer.property = NSExpression( format: "MGL_MATCH(category, %@, %@, %@, %@, %@)", "restaurant", UIColor.red, "office", UIColor.blue, UIColor.black) This will use the…
p0lAris
  • 4,750
  • 8
  • 45
  • 80
0
votes
1 answer

How to set GeoJSONSource from a stored value in mapbox-ios swift?

I am using mapbox-ios and I am having trouble setting the source data component of a GeoJSONSource in Android this is achieved with the…
climblord
  • 9
  • 1
0
votes
0 answers

How to show traffics on Mapbox version 10 in iOS?

func showTraffic(mapView: MapView) { let sourceId = "mapbox-traffic-v1" var vectorSource = VectorSource() vectorSource.url = "mapbox://mapbox.mapbox-traffic-v1" var trafficLayer = LineLayer(id: "traffic") //…
iSibDev
  • 340
  • 5
  • 18
0
votes
0 answers

How to use SourceQueryOptions filter in Mapbox iOS SDK?

I'd like to filter features from a source based on (some property) AND (distance within a radius). I could not find a way to convert the point to the filter expression. There is not much document about SourceQueryOptions in iOS SDK, and there is no…
Valar Morghulis
  • 647
  • 5
  • 16
0
votes
1 answer

Mapbox SDK v10 Filter Layer with Swift

i working on map project with swift . i created a dataset,tileset and style on studio and its working perfectly fine right now. ı need to add some filters on map so i create 2 layer for ac and dc. but i couldnt change layers with button. i tried…
Observer23
  • 29
  • 6