Comments (3)
Hi,
As per mapbox documentation, data should be optional:
https://docs.mapbox.com/style-spec/reference/sources/#geojson
data
Optional .
A URL to a GeoJSON file, or inline GeoJSON.
Could you please fix this so undefined is properly managed?
As of now, I must send an empty feature collection to avoid the warning.
Thanks,
from react-map-gl.
Might be linked to : mapbox/mapbox-gl-js#5986
from react-map-gl.
Layer component prop types are directly imported from mapbox-gl
. This is an issue that should be fixed upstream.
from react-map-gl.
Related Issues (20)
- [Feat] Add support for latest Mapbox rendering release (V3) HOT 3
- [Bug] Map loading issue on resizing width HOT 1
- [Bug] Missing tiles breaks Layer props update HOT 1
- [Bug] Mapbox queryRenderedFeatures() returns empty array HOT 1
- [Bug] Jump To does not center the map at the point you click on HOT 1
- [Bug] Blurred textures on ultrawide monitors HOT 1
- [Bug] Map projection "globe" is not working in react-map-gl HOT 1
- Next14/Remix HOT 1
- [Feat] Fetch tiles using axios HOT 3
- [Bug] React 19: "Warning: Invalid prop `source` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props."
- [Feat] upgrade to fit `[email protected]` HOT 10
- [Bug] mapRef.current is null inside `onLoad` HOT 4
- Issues with useControl when upgrading to nextjs 14.2
- [Bug] Unexpected map distortion with sticky elements
- [Feat] Update react-map.gl Footer
- [Feat] Use the extended MapLibre CustomRenderMethod
- [Enhancement] Improv - Website hero text breaks on mobile
- Create Security Policy
- [Bug] Infinite Up Scroll on pageload. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-map-gl.