Hi Guys, Hope you can clarify some questions I have regarding the Google Maps JS API v3 - I was intending to use the code below as part of a web project to define where a visitor to a website was located and display the country name (just to start with and the serve specific content). I see it states here <https://developers.google.com/maps/documentation/javascript/usage?hl=en> that there is a standard usage of 25,000 map loads per 24 hours etc - does the code below serve maps as it is only taking the lat/long coordinates and therefore does it apply in this instance?
The project website is an education based site and currently has on average visitors of 900,000 per month with 10 million page views. This code does what I need for the project, but I need to know if I can use it or if the usage limits apply then I will have to look at an alternative as the project does not have a budget for this. -------- <html> <head> <script src="http://maps.google.com/maps/api/js?sensor=true" type="text/javascript"></script> <script type="text/javascript"> if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(position) { var lat = position.coords.latitude; var lng = position.coords.longitude; var latlng = new google.maps.LatLng(lat, lng); var geocoder = new google.maps.Geocoder(); geocoder.geocode({'latLng': latlng}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { if (results[1]) { document.getElementById("demo").innerHTML = (results[7].formatted_address); } } else { document.getElementById("demo").innerHTML = ("Geocoder failed due to: " + status); } }); }); } else { document.getElementById("demo").innerHTML = ("Geolocation services are not supported by your browser."); } </script> </head> <body> <p id="demo"></p> </body> </html> Many Thanks in advance. Michael. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3. For more options, visit https://groups.google.com/d/optout.