Not sure what's your question, but the data comes from the API http://thethingsnetwork.org/api/v0/gateways/, status is added on http://www.ttnstatus.org/gateways based on last seen.
As for the mapping: Gateways on the main website (e.g. http://thethingsnetwork.org/c/amsterdam) are mapped with Google Maps, which just has an API for "draw a circle with radius R". The gateways on http://ttn.lpwan.uk/ are mapped with OpenSteetMap, and I assume they have a similar drawing API.