252 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
112
views
Is there any way to use a MapBox map in a SwiftUI NavigationStack without increasing memory with each new view?
I am trying to build an iOS app where user profiles have a map component to them. The recursive navigation in my NavigationStack is causing memory problems since every map I add to the stack adds ...
0
votes
1
answer
51
views
How to set Mapbox line layer width in miles in SwiftUI?
Using .constant(20.0) gives the line a fixed width of 20 pixels on the screen.
I'm building a mapping application in SwiftUI using the Mapbox Maps SDK where I draw various paths on the map.
For each ...
0
votes
0
answers
142
views
React Native MapBox - ShapeSource lags the whole app when rendering many features
I am developing an app in expo that relies heavily on the map. Basically, here is my implementation:
MapScreen
import { MapProvider } from "./MapContext";
import MapContainer from "./...
0
votes
0
answers
57
views
Custom DEM for 3D Terrain in Mapbox iOS SDK v11+
I've been testing bringing a custom DEM into my iOS app, which uses the Mapbox SDK. Anyone have success bringing their own DEM sources into a Mapbox application?
Current approach:
I created my own RGB ...
0
votes
1
answer
48
views
How does the "all" expression in Mapbox for Swift work?
I'm having a very difficult time understanding Mapbox expressions in Swift. For example, I write the following:
let falseExpression: MapboxMaps.Expression = Exp(.literal) { false }
let combinedFilter: ...
0
votes
0
answers
57
views
Geocoding Users’ Addresses to Identify Boroughs and Neighborhoods in NYC
I am developing an app using SwiftUI and I was wondering if it is possible once a user has input their street address and zipcode, to be mapped to a neighborhood in their borough in NYC?
The only info ...
2
votes
0
answers
200
views
What is the proper way to pass null value in MapBox expression?
I have vector tile data with certain features whose attribute that might contain null values. I would like to style/color those features with null values differently, and I would like give my user ...
3
votes
1
answer
580
views
How do I resolve Invalid size error in mapbox
In my console logs I keep getting this error. [Error]: Invalid size is used for setting the map view, fall back to the default size{64, 64}. I am not quite sure how to deal with it or if I even need ...
0
votes
1
answer
134
views
Why doesn't Swift trigger onCameraChanged, Mapbox?
I have a main controller with code like this setting up a Mapbox in a portion of the screen, and it works... However the code as documented does not ever trigger the camera viewport moved or tapped. ...
0
votes
0
answers
216
views
Getting error for mapbox maps package that has been installed
I am learning swift and the Mapbox Navigation SDK and I can't get the code to compile due to a Cannot find 'ResourceOptions' in scope. I have checked the instillation several times as well as checked ...
1
vote
0
answers
44
views
Show routeline above my Overlay tiles in NavigationMapView - MapBoxMaps
I am trying to achieve requirement like - Help user for Turn-By-Turn Navigation between 2 locations using NavigationViewController of mapbox-maps-navigation.
Over the NavigationMapView, i add tiles ...
0
votes
1
answer
114
views
MapBox 3DPuck not displaying model
I followed the documentation for displaying a 3D Puck but it is not showing.
Already tried with another .gltf, .glb or even a .usdz but still no luck. File is imported correctly too.
The puck does ...
0
votes
1
answer
439
views
Drawing Circle Using mapbox_maps_flutter: ^2.0.0 package in flutter application
I am using mapbox_maps_flutter: ^2.0.0 in my Flutter application.
I have a requirement to allow users to draw circles and squares on the map which defines the area where the user wants his ...
0
votes
1
answer
63
views
MapBox iOS SDK -- Can layers dynamically handle tens of thousands of points
I want to dynamically display points on a map in a data-driven fashion. Namely, I want to display tens of thousands of points on a map, it should look something like this:
And these points are ...
1
vote
1
answer
113
views
Displaying Custom Images from Feature Properties Instead of Markers in MapBox iOS
I'm using Mapbox in my iOS application, and I'm currently displaying markers on my Points of Interest (POIs) using the code below. I want to customize these markers to display images from the feature ...