The existing code base was developed in Google maps api V2. V2 got deprecated so we are modifying the code from V2 to V3. There have been lots of changes in this api revision and may things have been updated.
discover: function( uri ) { $.ajax({ type: "GET", url: uri, dataType: "xml", success: function(data) Similary it has been used in get: function( uri, callback ) too |
$("#tabs").tabs(); // Initializing tabs $("#tabs").tabs("add","#"+serviceType,serviceType); // for dynamically adding a tab based on service found |
- GLatLngBounds() --> google.maps.LatLngBounds();
- GlatLng --> google.maps.LatLng
- GPoint --> google.maps.Point
- Event.addListener --> google.maps.event.addListener
- map.getInfoWindow().getPoint --> google.maps.getPosition()
- markers[i].getPoint() --> markers[i].getPosition()
- closeInfoWindow() --> map.InforWindow.Close();
- map.getBoundsZoomLevel(bounds) --> map.fitBounds(bounds)
- markers[i].setImage --> .setIcon
- map.InfoWindow.close() --> create a function to close
- find in maps for objects --> $('#id')[0] or $('#id').get(0) or document.getElementbyId
get: function( uri, callback )