update map demo to use fitbounds method