Skip to content

Commit

Permalink
Finish: add missed description in marker and overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
leftstick committed Apr 2, 2018
1 parent d198449 commit 79df08a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
<h2 class="title">Usage</h2>
<div class="snippet" highlight>
<pre><code class="html">&lt;baidu-map map-options="{expression}"&gt;
&lt;marker point="{expression}" options="{expression}" click="{expression}"&gt;&lt;/marker&gt;
&lt;marker point="{expression}" options="{expression}" loaded="{expression}" click="{expression}"&gt;&lt;/marker&gt;
&lt;/baidu-map&gt;</code></pre>
</div>
<h2 class="title">Attributes</h2>
Expand All @@ -39,6 +39,11 @@ export default {
Literal for constructing marker. See <a href="#!/apidoc?api=marker-options">MarkerOptions</a>
</td>
</tr>
<tr>
<td>loaded</td>
<td><span class="label">expression</span></td>
<td>Expression to evaluate upon marker load event. (The object passed to this callback, <code>marker</code> for instance of <a href="http://lbsyun.baidu.com/cms/jsapi/reference/jsapi_reference.html#a3b2" target="_blank">BMap.Marker</a>)</td>
</tr>
<tr>
<td>click</td>
<td><span class="label">expression</span></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ export default {
<tr>
<td>type</td>
<td><span class="label required">string</span></td>
<td><p class="line-text">What kind of overlay to be added to the map. Available options: <a href="http://api.map.baidu.com/library/Heatmap/2.0/docs/symbols/BMapLib.HeatmapOverlay.html" target="_blank">heatmap</a></p> </td>
<td><p class="line-text">What kind of overlay to be added to the map. Available options: <a href="http://api.map.baidu.com/library/Heatmap/2.0/docs/symbols/BMapLib.HeatmapOverlay.html" target="_blank">heatmap</a>(deprecated, use <code>&lt;heatmap /&gt;</code> instead)</p> </td>
</tr>
<tr>
<td>options</td>
<td><span class="label">expression</span></td>
<td>
<p class="line-text">Literal for constructing <code>overlay</code>. See <a href="http://api.map.baidu.com/library/Heatmap/2.0/docs/symbols/BMapLib.HeatmapOverlay.html" target="_blank">HeatmapOverlayOptions</a></p>
<p class="line-text">Literal for constructing <code>overlay</code>. See <a href="http://api.map.baidu.com/library/Heatmap/2.0/docs/symbols/BMapLib.HeatmapOverlay.html" target="_blank">HeatmapOverlayOptions</a>(deprecated, use <code>&lt;heatmap options="{expression}"/&gt;</code> instead)</p>
</td>
</tr>
</tbody>
Expand Down

0 comments on commit 79df08a

Please sign in to comment.