Skip to content

Page slows to a halt with 10,000 ol-markers created #222

@fisyher

Description

@fisyher

I am currently evaluating the usage of angular-openlayers directive for our map application project. One requirement is that it must be able to render up to 10000 features on the map without any negative impact on user experience.

I have tested using ol-marker directive with ng-repeat of a markers array containing 10000 marker objects. The result is the page instantly freezes and unresponsive. I have also tested using raw openlayers api to create the same markers and the performance is much better.

The attached txt files are actually html test pages modified from 061-markers-add-remove-example.html; one using ng-repeat of ol-markers, the other using basic OSM layer and raw ol3 api to create the features.

TestMarkersRepeat.txt
TestMarkersWebglMapAngularOnly.txt

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions