BritishAmateurTelevisionClub / dxspottv

Easy to use DX Spotting for ATV/DATV contacts on all bands: 70cms - 3cms.
http://www.dxspot.tv/
Other
1 stars 0 forks source link

Spots involving new stations don't show unless page is refreshed #56

Closed philcrump closed 11 years ago

philcrump commented 11 years ago

The 'userSpotRefresh' call doesn't contain enough data to construct new users, and so if one is spotted, it is not plotted and the spot is not plotted (resulting in a console-logged error).

In the updateUsers method, if a user id is not found in the list, fire off another ajax event to load the full info for that user and add him to the map. Rendering the spot will then succeed.

philcrump commented 11 years ago

Fixed by sending location/callsign data with userSpotRefresh.