angular-ui / angular-google-maps

AngularJS directives for the Google Maps Javascript API
http://angular-ui.github.io/angular-google-maps
2.52k stars 1.07k forks source link

Pending Requests #1648

Open hnrchrdl opened 8 years ago

hnrchrdl commented 8 years ago

I have an Array of wms-overlays on my map, which i lay down like this:

<ui-gmap-map-type ng-repeat="overlay in mapCtrl.mapData.overlays track by overlay.sld_id"
                    options="overlay.imageMapTypeOptions"
                    id="overlay.sld_id"
                    show="overlay.active"
                    refresh="overlay.style.counter">
</ui-gmap-map-type>

This is basically working fine.

But as I start scrolling and zooming around the map, at some point (around 10 sec.) the maptiles are not beeing loaded anymore. In chrome's network debugger, i see a list of pending requests, which do not get resolved somehow.

The map in the current browser tab is 'dead' from then on and wont load any tiles. Copying the url of any pending request in another browser tab works just fine, the image is beeing loaded without any problem. As soon as i open the project on another browser window, it is working normally. The bug appears again when i zoom in and out, creating a lot of map tile requests.

The heavier I start creating map tile request, the more likely my issue is happening.

I am using chrome, AngularJS 1.4.8 and Angular-Google-Maps 2.2.1.

hnrchrdl commented 8 years ago

This issue does not affect Firefox browsers!

nmccready commented 8 years ago

Interesting sounds like your should report this to chrome and the google maps team. But they will probably want a bare bones example without angular.