Hi Susannah,
yeap. im using API v3, below is partial of my source code:
function createMarker(msg, latlng,image) {
var marker = new google.maps.Marker({position: latlng, map: map ,icon :
image});
marker.setVisible(true);
google.maps.event.addListener(marker, "mouseover", function() {
codeLatLng(marker,latlng,msg);
});
google.maps.event.addListener(marker, "click", function() {
map.setZoom(15);
});
return marker;
}
function codeLatLng(marker,latlng,msg) {
geocoder.geocode({'latLng': latlng}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
if (results[1]) {
infowindow.setContent(msg+"Location
:"+results[0].formatted_address);
infowindow.open(map, marker);
} else {
alert("No results found");
}
} else {
alert("Geocoder failed due to: " + status);
}
});
}
The latlng is the point create from lat long reading in mysql
the output i get for some of the results:
lat:"1.44673666666667" lng="110.33124 reverse geocode result: 98000 miri,
sarawak malaysia
lat: "4.57159" lng="114.073773333333 reverse geocode result: 98000 miri,
sarawak malaysia
lat="1.10685666666667" lng="111.217051666667 1,95000 sri aman, sarawak
malaysia
Those results accuracy seems too low , and hardly to fulfil my requirement
to knw the location of the marker.
Thanks,
Grace
On Tue, Nov 24, 2009 at 2:20 PM, Susannah (Google Employee) <
[email protected]> wrote:
> Hi Grace,
>
> Please confirm that you're using API v3 and provide a sample page of
> the queries you're making and the results you would expect so that I
> can check with our geocoding team.
>
> Thanks,
> Susannah
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.