You can try mine
https://github.com/arno-st/map/tree/cacti-1.2xIt take the input from sites, and the device, then display on a map.
Working with googlemap and open street map
it take the lat, long of the site information, and when you add a new device it take the snmp location field to find the site, if it dosen't exist a new site is created.
snmp location has to be of that format:
Country;City;Street_Building;Floor;Room;Rack;RU;Lat;Long
if you don't have a record just put the ; one afgter the other, but if you don0't have lat and long, just remove the last field:
Country;City;Street_Building;Floor;Room;Rack;RU
OR:
;;;Floor;Room;Rack;RU;Lat;Long