(item, marker)
| 584 | } |
| 585 | |
| 586 | function updateGymMarker (item, marker) { |
| 587 | marker.setIcon('static/forts/' + gymTypes[item['team_id']] + '.png') |
| 588 | marker.infoWindow.setContent(gymLabel(gymTypes[item['team_id']], item['team_id'], item['gym_points'], item['latitude'], item['longitude'], item['last_scanned'], item['name'], item['pokemon'])) |
| 589 | return marker |
| 590 | } |
| 591 | |
| 592 | function setupPokestopMarker (item) { |
| 593 | var imagename = item['lure_expiration'] ? 'PstopLured' : 'Pstop' |
no test coverage detected