make map use api to get initial pins