keplergl / kepler.gl

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
http://kepler.gl
MIT License
10.39k stars 1.74k forks source link

Trip layer use with addDataToMap #777

Closed eportico closed 5 years ago

eportico commented 5 years ago

Hi guys, How can I use trip data in program using store ? Can you upload little example ? Thanks a lot

import { store } from '../redux/store';

store.dispatch( addDataToMap(jsondata)); });

heshan0131 commented 5 years ago

Trip layer md shows you how to format your geojson feature collection

It is called like this in demo app https://github.com/keplergl/kepler.gl/blob/master/examples/demo-app/src/app.js#L209-L220