It's clear that `center` can be `undefined`, but `centerpx` should be `ol.Pixel` (or `null`).  Same question as above basically.