You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.7 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  4. <title>GMap Window Example</title>
  5. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  6. <!-- GC -->
  7. <!-- LIBS -->
  8. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  9. <!-- ENDLIBS -->
  10. <script type="text/javascript" src="../../ext-all.js"></script>
  11. <!-- GMaps API Key that works for dev.sencha.com -->
  12. <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAAU95kDVDU-5Ve389sRBZmMRSDS7actCjtp4xNzNUSW7xICtwjdhQlKWh2kPaIb2ipOUl4vGqcEu0kWw" type="text/javascript"></script>
  13. <!-- GMaps API Key that works for localhost -->
  14. <!--<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAA2CKu_qQN-JHtlfQ5L7BLlRT2yXp_ZAY8_ufC3CFXhHIE1NvwkxQl3I3p2yrGARYK4f4bkjp9NHpm5w" type="text/javascript"></script>-->
  15. <script src="../ux/GMapPanel.js"></script>
  16. <script src="gmap.js"></script>
  17. <!-- Common Styles for the examples -->
  18. <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
  19. <style type="text/css">
  20. .x-panel-body p {
  21. margin:10px;
  22. font-size:12px;
  23. }
  24. </style>
  25. </head>
  26. <body>
  27. <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
  28. <h1>GMap Window</h1>
  29. <p>This example shows how to create an extension and utilize an external library.</p>
  30. <input type="button" id="show-btn" value="Gimme a Map" /><br /><br />
  31. <p>Note that the js is not minified so it is readable. See <a href="../ux/GMapPanel.js">GMapPanel.js</a> and <a href="gmap.js">gmap.js</a> for the full source code.</p>
  32. </body>
  33. </html>