maps
maps copied to clipboard
[Bug]: App is crashing with large data of features. Mainly with points
Mapbox Implementation
Mapbox
Mapbox Version
10.1.19
React Native Version
0.71.4
Platform
Android
@rnmapbox/maps version
10.1.19
Standalone component to reproduce
import React from 'react';
import {
MapView,
ShapeSource,
LineLayer,
Camera,
} from '@rnmapbox/maps';
const aLine = {
type: 'LineString',
coordinates: [
[-74.00597, 40.71427],
[-74.00697, 40.71527],
],
};
class BugReportExample extends React.Component {
render() {
return (
<MapView style={{flex: 1}}>
<Camera centerCoordinate={[-14.00597, 10.71427]} zoomLevel={14} />
<ShapeSource id="idStreetLayer" shape={aLine}>
<LineLayer id="idStreetLayer" />
</ShapeSource>
</MapView>
);
}
}
use below branch to reproduce as of data set is large
https://github.com/somasekharkakarla/mbTest/tree/test/largedata_with_points
Hello, I have the same error as you, the application stops when the amount of data is large. Have you fixed it yet?
@mfazekas any update. can we know how many features can load in one go
Same problem. App just crashes with no error on version 10.1.30
So how many points can be added?