delete needless function and vairable in googlemap