Open nmccready opened 9 years ago
From @facultymatt on September 26, 2014 3:53
This is likely related to https://github.com/tombatossals/angular-leaflet-directive/issues/424
I tried removing the ID and removing all other maps on the page and the performance bug appeared gone...
@facultymatt is this still an issue? If so can you make an example? Or a spec.
From @facultymatt on September 26, 2014 3:8
I'm tracking down a performance critter. I use
$interval
to constantly center the map. Seems thatgetMap().then(function() {})
causes a performance hit whilegetMap()
does not. The code is below.Copied from original issue: tombatossals/angular-leaflet-directive#483