map-data.html 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>JSDoc: directive: map-data</title>
  6. <script src="scripts/prettify/prettify.js"> </script>
  7. <script src="scripts/prettify/lang-css.js"> </script>
  8. <!--[if lt IE 9]>
  9. <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  10. <![endif]-->
  11. <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
  12. <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
  13. </head>
  14. <body>
  15. <div id="main">
  16. <h1 class="page-title">directive: map-data</h1>
  17. <section>
  18. <header>
  19. <h2>
  20. map-data
  21. </h2>
  22. </header>
  23. <article>
  24. <div class="container-overview">
  25. <dt>
  26. <a href="map-data.js.html#line1" class="name-link"><h4 class="name" id="map-data"><span class="type-signature"></span>map-data<span class="signature">(method-name,)</span><span class="type-signature"></span></h4></a>
  27. </dt>
  28. <dd>
  29. <div class="description">
  30. <p>set map data
  31. Requires: map directive
  32. Restrict To: Element</p>
  33. </div>
  34. <h5>Parameters:</h5>
  35. <table class="params">
  36. <thead>
  37. <tr>
  38. <th>Name</th>
  39. <th>Type</th>
  40. <th class="last">Description</th>
  41. </tr>
  42. </thead>
  43. <tbody>
  44. <tr>
  45. <td class="name"><code>method-name,</code></td>
  46. <td class="type">
  47. <span class="param-type">String</span>
  48. </td>
  49. <td class="description last"><p>run map.data[method-name] with attribute value</p></td>
  50. </tr>
  51. </tbody>
  52. </table>
  53. <dl class="details">
  54. <dt class="tag-source">Source:</dt>
  55. <dd class="tag-source"><ul class="dummy"><li>
  56. <a href="map-data.js.html">directives/map-data.js</a>, <a href="map-data.js.html#line1">line 1</a>
  57. </li></ul></dd>
  58. </dl>
  59. <h5>Example</h5>
  60. <pre class="prettyprint"><code>Example:
  61. &lt;map zoom="11" center="[41.875696,-87.624207]">
  62. &lt;map-data load-geo-json="https://storage.googleapis.com/maps-devrel/google.json">&lt;/map-data>
  63. &lt;/map></code></pre>
  64. </dd>
  65. </div>
  66. </article>
  67. </section>
  68. </div>
  69. <nav>
  70. <h2><a href="index.html">Index</a></h2><h3>service</h3><ul><li><a href="Attr2Options.html">Attr2Options</a></li><li><a href="GeoCoder.html">GeoCoder</a></li><li><a href="NavigatorGeolocation.html">NavigatorGeolocation</a></li><li><a href="StreetView.html">StreetView</a></li></ul><h3>directive</h3><ul><li><a href="bicycling-layer.html">bicycling-layer</a></li><li><a href="cloud-layer.html">cloud-layer</a></li><li><a href="custom-control.html">custom-control</a></li><li><a href="drawing-manager.html">drawing-manager</a></li><li><a href="dynamic-maps-engine-layer.html">dynamic-maps-engine-layer</a></li><li><a href="fusion-tables-layer.html">fusion-tables-layer</a></li><li><a href="heatmap-layer.html">heatmap-layer</a></li><li><a href="info-window.html">info-window</a></li><li><a href="kml-layer.html">kml-layer</a></li><li><a href="lazy-load.html">lazy-load</a></li><li><a href="map.html">map</a></li><li><a href="map-data.html">map-data</a></li><li><a href="map-type.html">map-type</a></li><li><a href="MapController.html">MapController</a></li><li><a href="maps-engine-layer.html">maps-engine-layer</a></li><li><a href="marker.html">marker</a></li><li><a href="overlay-map-type.html">overlay-map-type</a></li><li><a href="shape.html">shape</a></li><li><a href="traffic-layer.html">traffic-layer</a></li><li><a href="transit-layer.html">transit-layer</a></li><li><a href="weather-layer.html">weather-layer</a></li></ul>
  71. </nav>
  72. <br clear="both">
  73. <footer>
  74. Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha9</a>
  75. and <a href="https://github.com/allenhwkim/angular-jsdoc">angular-jsdoc</a>
  76. </footer>
  77. <script> prettyPrint(); </script>
  78. <script src="scripts/linenumber.js"> </script>
  79. <script>
  80. var href=window.location.href.match(/\/([^\/]+$)/)[1];
  81. document.querySelector("nav a[href='"+href+"']").scrollIntoView(true);
  82. if (window.location.hash == "")
  83. document.querySelector("body").scrollIntoView(true);
  84. </script>
  85. </body>
  86. </html>