Pan map to marker on screen initialize

Hi All

Im trying to get the map (not Google map) to pan to the position of a markker but it doesnt

Whats am I doing wrong here

Thanks

Yes, all sorted and solution marked

Can you help me here?

maybe you had something to say to help??