added some map center and click functionality