Rebuilding google map to give more control in code