Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome crashes on large geometries #669

Closed
oleksii-leonov opened this issue Aug 7, 2014 · 1 comment
Closed

Chrome crashes on large geometries #669

oleksii-leonov opened this issue Aug 7, 2014 · 1 comment

Comments

@oleksii-leonov
Copy link

When adding large LineString (with more then ~ 50 000 points) Chrome (36.0.1985.125, Mac OS 10.9) crashes.

Firefox 31 works on 500 000 points, but need about 1 minute to draw this LineString.

Data was added this way:

var json_string = { 
"type": "Feature",
    "geometry": {
        "type": "LineString",
        "coordinates": [ ... ]
  }
};

var sourceObj = new mapboxgl.GeoJSONSource({ data: json_string });
map.addSource('my_linestring', sourceObj);
@mourner
Copy link
Member

mourner commented Aug 7, 2014

Thanks for the report! Yeah, ticketed the real cause of this in #671, going to fix this soon.

@mourner mourner closed this as completed Aug 7, 2014
mourner added a commit that referenced this issue Aug 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants