<< Back to Vellore City

Listing Information

1Search Description

+ Category

2Main Description

3Additional Details

4Display Map

5Upload Attachments

Select File
    _gaq.push(['_trackEvent', '404', document.location.pathname + document.location.search, document.referrer, 0, true]); var geocoder;var map;var marker = ''; function initialize() {var myLatlng = new google.maps.LatLng(0,0);var myOptions = { zoom: 1, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP} map = new google.maps.Map(document.getElementById("ppt_map_location"), myOptions);google.maps.event.addListener(map, 'click', function(event){ document.getElementById("map-long-lat").value = 'lat:' + event.latLng.lat() + ',long:' + event.latLng.lng(); getMyAddress(event.latLng); addMarker(event.latLng);});} function getMapLocation(location){var geocoder = new google.maps.Geocoder();if (geocoder) { geocoder.geocode({"address": location}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { document.getElementById("form_map_location").value = results[0].formatted_address; map.setCenter(results[0].geometry.location);map.setZoom(9);}});}} function getMyAddress(location){var geocoder = new google.maps.Geocoder();if (geocoder) {geocoder.geocode({"latLng": location}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { document.getElementById("form_map_location").value = results[0].formatted_address;map.setCenter(results[0].geometry.location); } }); }} function addMarker(location) {if (marker=='') { marker = new google.maps.Marker({ position: location, map: map, });} marker.setPosition(location);map.setCenter(location); } jQuery(document).ready(function() { initialize(); })