written map data and add pins