10 di kudat - Google Blog Search |
Tanah 200 eka CL <b>di Kudat</b> | Openiklan.com - Letak Iklan Percuma <b>...</b> Posted: 19 Dec 2011 02:11 AM PST '; function load() { geocoder = new google.maps.Geocoder(); //directionsDisplay = new google.maps.DirectionsRenderer(); var newyork = new google.maps.LatLng(40.69847032728747, -73.9514422416687); var myOptions = { zoom: 14, center: newyork, mapTypeId: google.maps.MapTypeId.ROADMAP, mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.DROPDOWN_MENU } } map = new google.maps.Map(document.getElementById('map'), myOptions); //directionsDisplay.setMap(map); } function codeAddress() { geocoder.geocode( { 'address': address }, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { //alert(results[0].geometry.location); // 37.8280985, -121.57125000000002 map.setCenter(); var marker = new google.maps.Marker({ map: map, icon: redFlag, shadow: shadow, //title: title, animation: google.maps.Animation.DROP, position: results[0].geometry.location }); var infowindow = new google.maps.InfoWindow({ maxWidth: 270, content: contentString, disableAutoPan: false }); infowindow.open(map, marker); google.maps.event.addListener(marker, 'click', function() { infowindow.open(map,marker); }); } else { //alert("Debug: " + status); (function($) { $('#map').append(' Sorry, the address could not be found. |
You are subscribed to email updates from di kudat - Google Blog Search To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
0 ulasan:
Catat Ulasan