Comments (4)
Make sure you have the same versions of both libraries installed:
"@flowmap.gl/data": "8.0.0-alpha.25",
"@flowmap.gl/layers": "8.0.0-alpha.25",
from flowmap.gl.
Make sure you have the same versions of both libraries installed:
"@flowmap.gl/data": "8.0.0-alpha.25", "@flowmap.gl/layers": "8.0.0-alpha.25",
they both are same in my project , is my data correct for flowmap ? here is my object :
const data = {
locations: [
{ id: 1, name: 'New York', lat: 40.713543, lon: -74.011219 },
{ id: 2, name: 'London', lat: 51.507425, lon: -0.127738 },
{ id: 3, name: 'Rio de Janeiro', lat: -22.906241, lon: -43.180244 },
],
flows: [
{ origin: 1, dest: 2, count: 42 },
{ origin: 2, dest: 1, count: 51 },
{ origin: 3, dest: 1, count: 50 },
{ origin: 2, dest: 3, count: 40 },
{ origin: 1, dest: 3, count: 22 },
{ origin: 3, dest: 2, count: 42 },
],
}
from flowmap.gl.
The data looks good. Could you share your app e.g. on codesandbox?
from flowmap.gl.
by remove npm cached files and install again , it fixed,
thanks
from flowmap.gl.
Related Issues (13)
- Issues trying to get webpack example running HOT 8
- Installation HOT 1
- Next.js: SyntaxError: Unexpected token 'export' HOT 6
- Fetching all the children of a picked node or link HOT 2
- this.accessors.getLocationCentroid is not a function at FlowMapAggregateAccessors.getLocationCentroid (FlowMapAggregateAccessors.js?3933:20:1) HOT 4
- Force flow line to always display ? HOT 1
- Custom location colors HOT 1
- Timeline react component library.
- Importing error HOT 2
- @flowmap.gl/data latest vertion not match HOT 4
- clusteringEnabled:false error HOT 5
- [Feat] Add force directed flow paths HOT 3
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 flowmap.gl.