MCPcopy Create free account
hub / github.com/RocketMap/RocketMap / redrawPokemon

Function redrawPokemon

static/js/map.js:1041–1053  ·  view source on GitHub ↗
(pokemonList)

Source from the content-addressed store, hash-verified

1039}
1040
1041function redrawPokemon (pokemonList) {
1042 var skipNotification = true
1043 $.each(pokemonList, function (key, value) {
1044 var item = pokemonList[key]
1045 if (!item.hidden) {
1046 if (item.marker.rangeCircle) item.marker.rangeCircle.setMap(null)
1047 var newMarker = setupPokemonMarker(item, map, this.marker.animationDisabled)
1048 customizePokemonMarker(newMarker, item, skipNotification)
1049 item.marker.setMap(null)
1050 pokemonList[key].marker = newMarker
1051 }
1052 })
1053}
1054
1055var updateLabelDiffTime = function () {
1056 $('.label-countdown').each(function (index, element) {

Callers 2

initMapFunction · 0.85
map.jsFile · 0.85

Calls 2

setupPokemonMarkerFunction · 0.85
customizePokemonMarkerFunction · 0.85

Tested by

no test coverage detected