Google maps V3 API key usage
14,427
Don't forget the equals
.
src="https://maps.googleapis.com/maps/api/js?key=123456ABCDEFG&sensor=false"
Comments
-
user1097772 almost 2 years
Sounds stupid, but since there is no specific example in documentation, its not clear how to use the api key.
This part of code from documentation is not clear:<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key={API_KEY}&sensor=SET_TO_TRUE_OR_FALSE"> </script>
Well I will find my apikey, let's say that the value of my api key will be for example: 123456ABCDEFG
So how should I used it?
1)
src="https://maps.googleapis.com/maps/api/js?key={123456ABCDEFG}&sensor=false"
or
2)src="https://maps.googleapis.com/maps/api/js?key=123456ABCDEFG&sensor=false"
or else?