Skip to content
Browse files

Display actual API version

  • Loading branch information...
1 parent cc3b990 commit eaa311848733d68dc363ddc3035eb81661b59405 @geary committed Dec 8, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 code/test.html
View
6 code/test.html
@@ -73,6 +73,8 @@
Maps API version:
<select id="selectAPI">
</select>
+ (<span id="version"></span>)
+
<script type="text/javascript">
(function() {
var $select = $('#selectAPI');
@@ -91,6 +93,10 @@
location.search = '?v=' + $select.val();
})
.val( apiver );
+
+ $('#version').html(
+ window.G_API_VERSION || google.maps.version
+ );
})();
</script>

0 comments on commit eaa3118

Please sign in to comment.
Something went wrong with that request. Please try again.