added search and map centering via offset