6,498 questions
Tooling
0 votes
3 replies
89 views
What is the difference between these mapping libraries
I want to transition from Google Maps to OpenStreetMap and overwhelmed by the number of library options out there. What is the difference between leafletjs, MapLibre, MapBox, OpenFreeMap, OpenTiler, ...
2 votes
1 answer
57 views
How to handle Mapbox GL JS popup click events with custom HTML
I'm building a map application with Mapbox GL JS and need help with popup click events. Here's my current code: const popup = new mapboxgl.Popup() ...
1 vote
0 answers
57 views
Maps not displaying in CarPlay Instrument Cluster
Is anyone else using the Mapbox iOS SDK with CarPlay — specifically the instrument cluster display? With the latest Navigation/Maps SDK releases (Navigation 3.17.0, Maps 11.17.0), the instrument ...
0 votes
3 answers
390 views
Token Setup for @rnmapbox/maps in an Expo Project
I'm currently really struggling to correctly setup the token I need in my Expo project for @rnmapbox/maps. The Documentation lacks any explanation regarding the tokens. It only mentions: Before ...
Best practices
0 votes
0 replies
37 views
Implementing sdk-agnostic callbacks in fragments
My question is not Android specific, it is rather more design-specific. Previously I had a BaseFragment that many child fragments were derived from. base fragment had objects of mapbox map to handle ...
1 vote
0 answers
42 views
Mapbox 3.16.0 js gl - returns two objects on click event with some missing properties in first one
I am experiencing some very weird results and I cannot begin to understand why 2 objects of [0] and [1] are returned on a single click. I load three layers of pistes (ski runs), a solid line layer, a ...
0 votes
0 answers
45 views
Mapbox gljs map in Flutter issues with any kind of sheet/overlay
I'm using Mapbox in my Flutter app and am having some issues with building out UI the way I want to because of all of the hacks I need to put in place to have bottom sheets and any kind of overlay ...
0 votes
1 answer
47 views
Mapbox Android V10 OnMapClickListener/OnMapLongClickListener not detecting clicks when AnnotationManger is added
I am using com.mapbox.maps:android-ndk27:10.19.0, and I seem to have found a bug. Bug When I create an AnnotationManager, the OnMapClickListener does not detect clicks. class MainActivity : ...
1 vote
0 answers
29 views
Mapbox tileset : Points appear aligned on a grid at low zoom levels
I’ve created a tileset with point data that I’d like to display around zoom levels 11–12. It works perfectly at higher zoom levels, but when I zoom out below 12, the points start appearing aligned on ...
0 votes
1 answer
96 views
mapbox gl : SVG in symbol layer
I have an SVG hard-coded in JavaScript: fr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3 2"><path fill="#EC1920" d="M0 0h3v2H0z"/><...
0 votes
1 answer
83 views
Change cluster icon in Mapbox compose for Android
I would like to set a specific icon for my clusters in mapbox but I can't find how to do this in compose. I found some tutorials to do this in classic Java but can't find how to adapt it to the ...
0 votes
0 answers
28 views
Why the layer fill-extrusion-height changes when I enable terrain layer on mapbox?
In this example, I have a Mapbox map where I draw a cube on top of it. When I enable an online terrain service to add a terrain layer, I notice that the fill-extrusion-height appears visually ...
1 vote
1 answer
513 views
Expo Mapbox build EAS fail
I'm trying to build my React Native Expo app for Android using EAS Build. The iOS build works perfectly, but the Android build consistently fails with a Mapbox dependency resolution error. Build ...
0 votes
0 answers
31 views
Style using coordinates in Mapbox GL JS
I have a map loaded with a large geojson feature collection and would like to apply some fading (opacity) of the geometries that are near a certain latitude. All of the feature collections are ...
4 votes
2 answers
236 views
Why does @mapbox/polyline decode differently than Google’s Routes API polyline decoder?
I have an encoded polyline string: ivgfAw_}bNaAfMwBjZk@IUrCGlC?jBFjCDbAV~B^xBVdAJFbB~EpApClAzBfC~DfAbBvDxGFZvDxGtAzBpDbHp@hAbDdG|EhH@d@bEbGlDnFl\fi@lIfN~OlWvFbJ|BpDg@~x@bDdFtHfMvZ~f@hDvF|EzHhDxFxTj^...