google maps js api blocks ui when adding markers
问题 I have a problem with google maps on mobile browsers. The project I'm working on requires about 500 markers to be shown on a map, but when adding them, the ui freezes. I'm using markerclusterer to add markers, and performance is fine once the markers are on the page. Is there a way to add the markers asynchronously, or to pause adding markers once the user starts scrolling? This is the code we're using: var mcOptions = { gridSize: 50, maxZoom: 15, zoomOnClick: false }; var mc = new