Add fullscreen function for map
remove useless code