Questions tagged [mapbox]

Mapbox is a location data platform for mobile and web applications. They provide building blocks to add location-based features such as maps, search, and navigation into any experience you create.

Mapbox is built on a platform of live-updating global data. Their secure data pipeline processes over 250 million miles of anonymized traffic data per day. Through apps powered by Mapbox, including Bosch, Snap, Lonely Planet, Tableau, Red Bull, DoorDash, The Weather Channel, and Hotels.com, they reach more than 520 million people each month.

Mapbox was born out of Development Seed and the necessity to build new tools and platforms for positive impact projects including those with The World Bank, United Nations, The Red Cross and other NGO and not-for-profit organizations. Since 2010, they have quickly expanded their offering of mapping and location-based APIs and SDKs to offer many tools for developers who want to build with maps.

Developer documentation and resources:

Troubleshooting:

Related tags:

6499 questions
2
votes
2 answers

Xcode build error clang failed

Something's missing in my iPhone application. I do not success to fix this error, that seams to be a martian error for me... I do not understand at all, even after many searches... ProcessPCH…
Flo Schild
  • 5,104
  • 4
  • 40
  • 55
1
vote
0 answers

Two Vector Tilesets with Mapbox Android SDK

I am using Mapbox SDK for Android (Mapbox SDK version 9.x.x), and I am trying to use two vector tilesets at the same time. Idea was to add each vector tileset as a separate layer, similarly as it can be done with raster tilesets, but it looks…
SadClown
  • 648
  • 8
  • 16
1
vote
0 answers

Unable to see the route line from my location to the clicked place

I am using mapbox map for displaying a map in my react native screen however, after checking the coords hardcoded and dynamically I am unable to see the route line, please have a look at the code below: const initialLng = 30.3451; const initialLat =…
Crdnpyaad
  • 11
  • 4
1
vote
1 answer

Connect coordinates on scatter_mapbox using lines but only connecting from origin

I am working on creating a map that connects coordinates using a line with scattermapbox. Using the example here, I have been able to connect each coordinate to one another. However, I just want to connect coordinates that have the value of…
user2813606
  • 797
  • 2
  • 13
  • 37
1
vote
0 answers

SyntaxError: Unexpected token, expected ',' in @rnmapbox/maps module's Mapbox.ts

I am facing an issue with the @rnmapbox/maps module in my React Native project. When I try to bundle the index.js file, I encounter the following error: SyntaxError: C:\WORK\plotlot\plotlot-25398\android\node_modules\@rnmapbox\maps\src\Mapbox.ts:…
1
vote
1 answer

Why is mapBoxMap.elevation(at:) returning nil?

I've got my map defined as let myResourceOptions = ResourceOptions(accessToken: mapBoxPk) let myMapInitOptions = MapInitOptions(resourceOptions: myResourceOptions, styleURI: StyleURI(rawValue: "mapbox://styles/mapbox/outdoors-v12"))…
Gustavo
  • 190
  • 2
  • 14
1
vote
0 answers

Scattermapbox in pyqt- data selection using lasso/box select

I want to select the data points using box/lasso selct from a scatter mapbox as below. My code is highlightng selected points. But they are not updated to selectedpoints attribute of fig.data[0]. When i want to print selcted points or pass them to a…
1
vote
1 answer

Can't use "get" expression inside "interpolate"

I'm trying to move a text field using the text-translate and interpolate features. But if I use the get expression inside interpolate to gather a property from the source, it stops working. Any idea as to why this is…
1
vote
0 answers

Additional loader to handle Mapbox

I am currently creating an app that will use Mapbox. For this I use the package @rnmapbox/maps. I get the following error: ERROR in ./node_modules/@rnmapbox/maps/src/web/utils/Logger.ts 2:5 Module parse failed: Unexpected token (2:5) File was…
Pätsn
  • 66
  • 3
1
vote
0 answers

We are using direction API in which, while searching we are not getting the all locations in the suggestion box of all the islands used in the style

We are using direction API in which, while searching we are not getting the all locations in the suggestion box of all the islands used in the style. In Map box map searching suggestions we are not getting all the places in the suggestion box. is…
1
vote
0 answers

I am getting "Unsupported operation: -infinity" as an error in Flutter. Where is this issue happening?

I am trying to render Mapbox into my Flutter Web app. I keep getting this error in Flutter which I am not sure as to what is happening exactly. I have posted the image here of the error This is the library that I am using to render Mapbox. I am not…
Jazil Zaim
  • 335
  • 1
  • 3
  • 10
1
vote
1 answer

MapBox API - move directions box

I have the MapBox directions API working correctly. Showing point A to Point B. The directions/instructions overlay the map currently. I'm wanting to display them as they are, but in another div under the map. Is there a way to do this?
Vogal
  • 104
  • 6
1
vote
0 answers

Position of rendered GeoTiffs are inconsistent

I'm using React With OpenLayers to render a GeoTiff overlay on top of a map (mapbox satellite). The problem I'm facing is that sometimes these geoTiff files are a little bit off of their original location. Here are some screen shots image 1 image…
1
vote
0 answers

Mapbox – Make sure marker and globe is always fully visible

I'm trying to implement a globe always stays visible no matter the size of the container. I looked at this example, but working with a globe it seems difficult to find the correct bounding box values. Maybe there's a better strategy for achieving…
INT
  • 910
  • 4
  • 21
  • 45
1
vote
0 answers

Forcing U-Turns with the Mapbox Navigation SDK for Android

I'm currently working on a simple turn-by-turn Navigation App with the MapBox SDK. As default when the user goes off route and the route is recalculated the SDK does not consider U-turns to get to the old route. I wonder if there is a way to force…
theMule
  • 11
  • 2
1 2 3
99
100