(i, item)
| 946 | } |
| 947 | |
| 948 | function processGyms (i, item) { |
| 949 | if (!Store.get('showGyms')) { |
| 950 | return false // in case the checkbox was unchecked in the meantime. |
| 951 | } |
| 952 | |
| 953 | if (item['gym_id'] in mapData.gyms) { |
| 954 | item.marker = updateGymMarker(item, mapData.gyms[item['gym_id']].marker) |
| 955 | } else { // add marker to map and item to dict |
| 956 | item.marker = setupGymMarker(item) |
| 957 | } |
| 958 | mapData.gyms[item['gym_id']] = item |
| 959 | } |
| 960 | |
| 961 | function processScanned (i, item) { |
| 962 | if (!Store.get('showScanned')) { |
nothing calls this directly
no test coverage detected