Does the Google Maps Javascript API have a property/method that returns its exact version number?
I need this info for debugging purposes.
To acccess exact version of Google Maps API one can check google.maps.version
When you include Google Maps API you can choose version of it. Example:
<script type="text/javascript" src="http://www.google.com/jsapi?key=LONG_KEY_HERE"></script>
<script type="text/javascript">
/*<![CDATA[*/
google.load('maps', '2');
/*]]>*/
</script>
Here we want to use version 2 of Google Maps API.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With