Performance Impact displaying Stats (#495)
Performance Impact displaying Stats (#495)

This is noticeable when mapData holds e.g. 1,000+ Pokémons.

The reason: innerHTML was set inside the counter loops, while it should only be set once after the counting is done -> moved setting innerHTML out of the loops.

catnet23/PocketMap,dev042/RocketMap,dev042/RocketMap,slgphantom/RocketMap,djfye/PokemonGo-Map,averylarry/RocketMap,birdstream/RocketMap,pgandev/RocketMap,Zyrix/PokemonGo-Map,simonhashadenough/PokemonGo-Map,AEtHeLsYn/RocketMap,an0ninja/PokemonGo-Map,neskk/PokemonGo-Map,sclo012/PokemonGo-Map,mpw1337/RocketMap,Shibby7986/PokemonGo-Map,Zyrix/PokemonGo-Map,pkgta1/shuffle,neskk/PokemonGo-Map,neskk/RocketMap,pretsell/PokemonGo-Map,Studio-XP/PokemonGo-Map,Darkknightz/PokemonGo-Map,pgandev/RocketMap,rpotpogo/PokemonGo-Map,loquendomia/KokoxGO,pir2/PokemonGo-Map,RocketMap/RocketMap,cadocruz/PokemonGo-Map,sebastienvercammen/RocketMap,SilphServices/RocketMap,KoertJanssens/MasterBall.be,slgphantom/RocketMap,Alderon86/RocketMap,loquendomia/KokoxGO,Zyrix/PokemonGo-Map,boby361/RocketMap,Alderon86/RocketMap,neskk/PokemonGo-Map,djfye/PokemonGo-Map,JapuDCret/RocketMap-Do,cristianougly/pokemongosaoleo,ultrafunkamsterdam/PokemonGo-Map-V2,sclo012/PokemonGo-Map,simonhashadenough/PokemonGo-Map,KoertJanssens/MasterBall.be,edgarborja/PokemonGo-Map,rpotpogo/PokemonGo-Map,DennyLoko/RocketMap,an0ninja/PokemonGo-Map,SilphServices/RocketMap,ultrafunkamsterdam/PokemonGo-Map,neskk/RocketMap,JapuDCret/RocketMap-Do,HowDoesExcelWork/RocketMap,averylarry/RocketMap,JapuDCret/RocketMap-Do,pir2/PokemonGo-Map,CalcMan/PokemonGo-Map,edgarborja/PokemonGo-Map,mpw1337/RocketMap,neskk/RocketMap,Shibby7986/PokemonGo-Map,tsuncp/PokemonGo-Map,rpotpogo/PokemonGo-Map,Zyrix/PokemonGo-Map,AEtHeLsYn/RocketMap,hubertokf/RocketMap,sclo012/PokemonGo-Map,woest85/PokemonGo-Map-1,hubertokf/RocketMap,houkop/PokemonGo-Map,HowDoesExcelWork/RocketMap,cristianougly/pokemongosaoleo,houkop/PokemonGo-Map,tsuncp/PokemonGo-Map,ultrafunkamsterdam/PokemonGo-Map-V2,pretsell/PokemonGo-Map,SilphServices/RocketMap,boby361/RocketMap,Obihoernchen/RocketMap,DennyLoko/RocketMap,tomballgithub/RocketMap,voxx/RocketMap,NickG1025/PokemonGo-MapPokeEdge,averylarry/RocketMap,Shibby7986/PokemonGo-Map,KoertJanssens/MasterBall.be,HowDoesExcelWork/RocketMap,NickG1025/PokemonGo-MapPokeEdge,KoertJanssens/MasterBall.be,Alderon86/RocketMap,Darkknightz/PokemonGo-Map,slgphantom/RocketMap,boby361/RocketMap,CalcMan/PokemonGo-Map,Darkknightz/PokemonGo-Map,tsuncp/PokemonGo-Map,Obihoernchen/RocketMap,edgarborja/PokemonGo-Map,tomballgithub/RocketMap,ultrafunkamsterdam/PokemonGo-Map,dev042/RocketMap,cristianougly/pokemongosaoleo,simonhashadenough/PokemonGo-Map,JapuDCret/RocketMap-Do,catnet23/PokemonGo-Map,xrobau/PoGoMap,pkgta1/shuffle,ultrafunkamsterdam/PokemonGo-Map,djfye/RocketMap,an0ninja/PokemonGo-Map,djfye/PokemonGo-Map,SilphServices/RocketMap,HowDoesExcelWork/RocketMap,pir2/PokemonGo-Map,voxx/RocketMap,djfye/RocketMap,ultrafunkamsterdam/PokemonGo-Map-V2,pkgta1/shuffle,Zoruk/PokemonGo-Map,tomballgithub/RocketMap,ultrafunkamsterdam/PokemonGo-Map-V2,woest85/PokemonGo-Map-1,Zoruk/PokemonGo-Map,Studio-XP/PokemonGo-Map,cadocruz/PokemonGo-Map,ultrafunkamsterdam/PokemonGo-Map,hubertokf/RocketMap,DennyLoko/RocketMap,Zoruk/PokemonGo-Map,pir2/PokemonGo-Map,pgandev/RocketMap,cadocruz/PokemonGo-Map,catnet23/PokemonGo-Map,birdstream/RocketMap,birdstream/RocketMap,Shibby7986/PokemonGo-Map,slgphantom/RocketMap,mpw1337/RocketMap,Alderon86/RocketMap,xrobau/PoGoMap,xrobau/PoGoMap,Darkknightz/PokemonGo-Map,pkgta1/shuffle,neskk/PokemonGo-Map,cristianougly/pokemongosaoleo,rpotpogo/PokemonGo-Map,Obihoernchen/RocketMap,boby361/RocketMap,birdstream/RocketMap,cadocruz/PokemonGo-Map,Studio-XP/PokemonGo-Map,CalcMan/PokemonGo-Map,Zoruk/PokemonGo-Map,loquendomia/KokoxGO,djfye/RocketMap,woest85/PokemonGo-Map-1,neskk/RocketMap,catnet23/PokemonGo-Map,AEtHeLsYn/RocketMap,NickG1025/PokemonGo-MapPokeEdge,woest85/PokemonGo-Map-1,hubertokf/RocketMap,catnet23/PokemonGo-Map,AEtHeLsYn/RocketMap,RocketMap/RocketMap,tomballgithub/RocketMap,catnet23/PocketMap,pgandev/RocketMap,djfye/RocketMap,RocketMap/RocketMap,djfye/PokemonGo-Map,xrobau/PoGoMap,sebastienvercammen/RocketMap,mpw1337/RocketMap,sebastienvercammen/RocketMap,sclo012/PokemonGo-Map,Studio-XP/PokemonGo-Map,loquendomia/KokoxGO,voxx/RocketMap,CalcMan/PokemonGo-Map,edgarborja/PokemonGo-Map,pretsell/PokemonGo-Map,houkop/PokemonGo-Map,voxx/RocketMap,NickG1025/PokemonGo-MapPokeEdge,catnet23/PocketMap,dev042/RocketMap,averylarry/RocketMap,an0ninja/PokemonGo-Map,Obihoernchen/RocketMap,RocketMap/RocketMap,sebastienvercammen/RocketMap,houkop/PokemonGo-Map,catnet23/PocketMap,DennyLoko/RocketMap,simonhashadenough/PokemonGo-Map,pretsell/PokemonGo-Map,tsuncp/PokemonGo-Map