Questions tagged [react-map-gl]

React friendly API wrapper around MapboxGL JS.

291 questions
-1
votes
1 answer

How to add geojson data to Source and Layer Component of react-map-gl

I am using react-map-gl library to work with mapbox. I want to create a line over the map on some data points. Map is rendering fine but line is not showing on the map. Source link @Github with all description of the problem.
user13319825
-1
votes
1 answer

Map function is throwing errors in react js

I am new to React js and learnt developing static websites very quickly. Since i was a huge fan of python i have developed my backend using Django-rest-framework. i am successfully fetching my data from backend with react front end. how ever i…
-1
votes
2 answers

looping through json data in react hooks state

I wanna display the data that I have in my state in a map I managed to get both latitude and longitude in my state the problem is whenever try to map trough the state I always get it's not a function error here's parts of my code and the data that I…
HAYTHAM
  • 1
  • 4
-2
votes
1 answer

Mapbox Map Styles Pixelated

I'm using mapbox map-gl-js as the mapping solution for one of my projects and right now using a custom map style designed in mapbox studio. When I zoom in up to some level, the map's road layers becomes pixalated like in the attached photo.…
Kavinda Jayakody
  • 705
  • 1
  • 13
  • 25
-2
votes
1 answer
-3
votes
2 answers

TypeError: Cannot read property 'map' of undefined react

PLEASE HELP ME ! [1]: https://i.stack.imgur.com/IOQrC.png * ERROR MESSAGE [2]: https://i.stack.imgur.com/S5iir.png * SOURCE CODE
1 2 3
19
20