added analytics to maps, closes #5