Category "mapbox"

Flutter Mapbox clickable cluster annotations

I am trying to use Flutter mapbox_gl package to display clustered data, support for this functionnality has been added recently as showed in this example. When

How do you cluster annotations with v10 of the MapBox iOS SDK?

How is clustering done with v10 of the Mapbox iOS SDK? And can I use ViewAnnotations to show custom views for clusters? In short, I am trying to cluster annotat

Mapbox studio - png labels layer - transparency showing up as black

I have created some custom styles in mapbox studio. They are essentially just the mapbox outdoors style and the mabpox satellite style, each customized, separa

Blank Map with Mapbox and SwiftUI

I try to use Mapbox with SwiftUI. I applied this answer https://stackoverflow.com/a/56551675/5653544 and also followed the mapbox tutorial. So I have a MapV

How to detect when Mapbox/Leaflet enters or exits fullscreen mode

How can I detect when Mapbox or Leaflet enters or exits fullscreen mode? I found this answer where someone said this: Documentation says: map.on('fullscreencha

Calculate distance point to line

I'm using Mapbox for Android Java and need to calculate the distance between a drawn line defined by start and endpoint to the users current location. Any idea

How to render deck.gl Arcs go over Pacific Ocean

I am trying to draw arcs from China to US, but the arcs don't cross over the Pacific Ocean. They go over the Atlantic Ocean and over Europe instead. Is there a

Android mapbox v10 - dynamically change the source url

We have a usual source url of something like https://my-source/{x}/{y}/{z}. When the user selects filtering options, we'd like to add these params to the url as

How to Filter markers on Mapbox based on geojson information?

So, I want to try to create a nav/filter based on mapbox, which will filter pubs based on their type, either Independent or a Pub Chain. I added the pub type in

Add many 3d objects on mapbox map using three.js

I want to add about 20.000 plane geometries on mapbox map. Docs have example with only one object(even camera configured for one object). My purpose - isometric

Mapbox event when brand new tile is loaded

I'm using Mapbox GL JS API to manipulate a Mapbox map. My question if there's an event that's capable of telling me for each HTTP request for new tile? I finish

Fix the upstream dependency conflict installing NPM packages

Trying to npm install vue-mapbox mapbox-gl and I'm getting a dependency tree error. I'm running Nuxt SSR with Vuetify, and haven't installed anything related to

How to add polylines and annotations from user taps in SwiftUI

I am trying to drop annotations/pins wherever a user touches a certain location on the map. Whenever a user drops more 2 or more pins, it creates a polyline tha

Mapbox: How to correct Line overlapping over a Symbol

I'm using the SymbolManager to display two symbols on the map. Here is an example: The dark symbol is because of the fact that I'm testing the project on the

Mapbox Popup only opens once and never again

I am creating a React Mapbox App, and I have an issue with popups. When I render the map, all the Markers show correctly on the map. Then I click on the Marker

react-native Android Mapbox build problem

I am trying to configure for Android a react-native app which uses Mapbox and works perfectly in iOS. The react-native version is 0.66.2, the Android Studio ver

Zoom to fit all markers in Mapbox or Leaflet

How do I set view to see all markers on map in Mapbox or Leaflet? Like Google Maps API does with bounds? E.g: var latlngbounds = new google.maps.LatLngBounds(