351 questions
Google Maps is not a Microsoft product.
For Japan, consider using Bing Maps. It has better data than Google Maps there. https://learn.microsoft.com/en-us/bingmaps/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
hi guys.. my code is working. but how can I return Japan Places only?
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&libraries=places&key=[API KEY]"></script>
<script type="text/javascript">
google.maps.event.addDomListener(window, 'load', function () {
var places = new google.maps.places.Autocomplete(document.getElementById('<%=txtLocation.ClientID %>'));
google.maps.event.addListener(places, 'place_changed', function () {
var place = places.getPlace();
document.getElementById('<%=txtAddress.ClientID %>').value = place.formatted_address;
document.getElementById('<%=txtLatitude.ClientID %>').value = place.geometry.location.lat();
document.getElementById('<%=txtLongitude.ClientID %>').value = place.geometry.location.lng();
});
});
</script>
Google Maps is not a Microsoft product.
For Japan, consider using Bing Maps. It has better data than Google Maps there. https://learn.microsoft.com/en-us/bingmaps/