After upgrade my complete code i had here the most currents tips to upgrade your code. Add other if you like.
Use : new google.maps. in place of G...
GLatLngBounds()-->google.maps.LatLngBounds()GlatLng-->google.maps.LatLngGPoint-->google.maps.PointEvent.addListener-->google.maps.event.addListenermap.getInfoWindow().getPoint-->google.maps.getPosition()markers[i].getPoint()-->markers[i].getPosition()closeInfoWindow()-->map.InforWindow.Close();map.getBoundsZoomLevel(bounds)-->map.fitBounds(bounds)markers[i].setImage-->.setIconmap.InfoWindow.close()--> create a function to close- find in maps for objects -->
$('#id')[0]or$('#id').get(0)ordocument.getElementbyId
Happy coding.