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
6,559
questions
1
vote
0
answers
16
views
Mapbox-gl-draw setting the drawing color of different polygons
I want to be able to have my own custom buttons that call the «start draw polygon» function from mapbox-gl-draw. The idea is to pass what type of polygon it is (custom definition), so that I in the «...
-2
votes
0
answers
10
views
MapBox & React Native: Create a wind particle animation
I have a react native application that uses mapbox for rendering a map. I would like to add a layer for wind using the react native mapbox SDK (and not a web view). I am trying to achieve a similar ...
-1
votes
0
answers
10
views
Why does feeding a mapbox_id from /suggest into /retrieve give back a totally different place?
Why did I end up in some random place in New Jersey yesterday? The wife was upset.
It sure looks like it's because taking a mapbox_id from a Search Box API /suggest result and feeding it back into /...
0
votes
0
answers
14
views
Is there a solution for using data-driven (FeatureCollection properties) variables within the Images/Image element? @rnmapbox/maps
I want to display different icons (MaterialCommunityIcons name) on the map with different background colors (SVG fill) as SymbolLayer. The data should be used dynamically from the FeatureCollection. ...
0
votes
1
answer
17
views
Unable to Import some classes from Mapbox Navigation Modules in android studio
I'm new to Kotlin and Java programming and have just finished the basics. I'm currently trying to build a Mapbox navigation Android app but am running into several issues related to various Mapbox ...
0
votes
0
answers
32
views
Mapbox Maps Flutter
import 'package:flutter/material.dart';
import 'package:mapbox_maps_flutter/mapbox_maps_flutter.dart';
void main() async {
final String accessToken = await loadMapboxAccessToken();
final ...
0
votes
0
answers
23
views
Markers are not fixed and are rendered outside map with react-map-gl
I am currently trying to build a simple map inside my web application that should display a fixed set of points on the map. For this example I am using the pre-defined coordinate points from cities....
0
votes
0
answers
15
views
Can't get unwrapped coordinate bounds in MapBox on Android for multiple visible earths
Depending on screen ratio, when you zoom out in mapbox for Android, you can see multiple copies of the earth.
The longitude bounds of a single map are -180 to 180. When I zoom out as shown in the ...
2
votes
1
answer
28
views
Why does mapboxapi return a skewed map with apparently incorrect latitude and misplaced relative to data?
I am trying to create several maps across wide latitudinal extents. I am using the Mapbox maps through mapboxapi in R. I would like to know how to do this correctly so that both the map and the data I ...
0
votes
0
answers
46
views
How can I dynamically retrieve GeoJSON data based on a given country or state name?
I am developing a Next.js application where I display a map on the dashboard using the react-leaflet package. When the dashboard page loads, a GET API is called, returning an array of strings, which ...
0
votes
1
answer
27
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
0
answers
18
views
Three.js sprite in mapbox combine
mapbox-gl-js version: 3.4.3
browser: chrome 126
Steps to Trigger Behavior
I used the example Add a 3D model use threejs of official website to add sprite, but the display is not correct and I can't ...
0
votes
0
answers
17
views
Mapbox GL JS - change camera altitude on vertical panning
TL;DR:
How to "fly around" a 3D feature like a building or a mountain at some altitude, then go up a little, and fly around it again? To view the map almost like through an onboard camera of ...
0
votes
0
answers
21
views
Animated polyline in @rnmapbox/maps in ReactNative
As I've integrated map using @rnmapbox/maps and I want to show animated polyline between 2 markers like this, I go through the all the docs and blogs but found all the docs regarding to React Js but ...
0
votes
1
answer
18
views
My map marker not showing up on map (MapBox) in Angular App
I have issue with my map from mapbox. I don't know why, but my marker won't showing up. To give you more details, i had same problem with mapbox logo in left lower corner and annotations in right ...