maps icon indicating copy to clipboard operation
maps copied to clipboard

[Bug]: App is crashing with large data of features. Mainly with points

Open somasekharkakarla opened this issue 1 year ago • 4 comments

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 crash map (1)

https://github.com/somasekharkakarla/mbTest/tree/test/largedata_with_points

somasekharkakarla avatar Apr 03 '24 12:04 somasekharkakarla

Hello, I have the same error as you, the application stops when the amount of data is large. Have you fixed it yet?

hominh avatar Jun 05 '24 01:06 hominh

@mfazekas any update. can we know how many features can load in one go

somasekharkakarla avatar Jun 06 '24 08:06 somasekharkakarla

Same problem. App just crashes with no error on version 10.1.30

Goeckner avatar Aug 28 '24 16:08 Goeckner

So how many points can be added?

programmin1 avatar Sep 16 '24 04:09 programmin1