Category "mapbox"

`react-map-gl` ERROR Module not found error [MAPBOX]

Failed to compile ./node_modules/@math.gl/web-mercator/dist/esm/web-mercator-viewport.js Module not found: Can't resolve 'gl-matrix/mat4' in 'D:\Projects\react-

How to get mapbox data on the server?

How to get data in scoped area on server (same as "queryRenderedFeatures" on client)? Mapbox Tilequery API won't work as it only returns points (no polygon geom

How do apps like Mapbox, AllTrails and Maps.me use and display ALL of OSM data? When all the resources say that's a huge amount of data

I started exploring Overpass Turbo and Mapbox with hopes of building my travel app. I can query some data in OT and get towns or islands, no problem, I understa

Mapbox GL JS Set Paint property on specific Feature in Layer

I am using Mapbox Studio as basis for mapping and styling and then using HTML for additional map features. One of the features is to change Icon opacity when h

Mapbox SDK Registry Token is null

I'm experiencing issues installing mapbox_gl plugin on my flutter app... I did follow the official instrctions from there : https://pub.dev/packages/mapbox_gl B

Mapbox GL JS change marker image programmatically?

I am using Mapbox GL JS to display a lot of pins on a map with custom marker image: map.on('load', function () { map.loadImage("/path/to/pin1.png", function(

Map Dissapearing After Calling JumpTo (MapboxGL + React)

I'm developing a website that takes in an address from a user and plots a list of nearby locations using MapBoxGL and React. When the user runs the search, an A

How to set custoM marker returned by Mapbox.Geocoder

Taking my fists steps with MapboxGL.js I could add a control to use Geolocating and I would need some control over the marker that Geocoder put on map after a d

Mapbox Layer wont update on statechange

I am trying to use a custom layer and update it over time but can't seem to get it to work to update when state changes. I am using a library to interpolate I

Multiple LineLayer Colour doesn't change in the ShapeSource

I have use the MapBox to draw multiple lines with different coordinate, So I use the ShapeSource layer and LineLayer for this, Currently I have take one ShapeSo

How to detect a change in zoom level when using MapBox in Flutter?

There seem to be no straightforward way of detecting a change in the zoom level when using MapBox in Flutter. Various references exist for implementations outsi

How to display custom building on mapbox-gl map

I wan't to display my own buildings on map(as in example). They should be static - my screen example At screenshot you can see example with marker building(it m

Unity Mapbox SDK - Cut off water areas from terrain mesh

I'm currently experimenting with the Mapbox Unity plugin and I need to remove the water tiles from the generated terrain to use a custom water solution. I've re

How to drag a polygon in mapbox-gl-js?

I have a map with multiple polygons. The polygons need to move/update on user click/drag. The functionality I want is the same as this example: https://www.mapb

How do I disable rotation in Mapbox Android SDK

I want to disable rotation (bearing) in Mapbox Android SDK because it is currently too sensitive - when I pinched to zoom, the map also rotate. I tried adding

Plotly Dash - TypeError: Object of type Polygon is not JSON serializable

I am attempting to plot choropleth map using dash and mapbox. At runtime, I am getting an error "TypeError: Object of type Polygon is not JSON serializable". sa

Add padding to map area in MapBox

How can I add padding to the map area? As you can see in the screenshot there is a yellow div overlaid over the top and the popup is appearing underneath it s

How can I add an icon to switch the mapboxgl style dynamically?

I want to add an icon as below in the mapboxgl view. Working with Angular2 When I click the icon it should automatically switch the styles (streets-v9, satel

Style a Mapbox Popup's Pointer/Indicator

I am styling some popups for a map displayed through Mapbox using Mapbox's GL JS. However, I cannot find in their documentation regarding the classes that are a

Map not showing in mapbox

I'm using mapbox api for my application where user can add markers based on his current location. The map was loading just fine while it was running on localhos