|
92 | 92 | <li data-name="getoverlaybyid"><a href="module-ol_Map-Map.html#getOverlayById">getOverlayById</a> |
93 | 93 | <li data-name="getoverlays"><a href="module-ol_Map-Map.html#getOverlays">getOverlays</a> |
94 | 94 | <li data-name="getpixelfromcoordinate"><a href="module-ol_Map-Map.html#getPixelFromCoordinate">getPixelFromCoordinate</a> |
| 95 | + <li data-name="getpixelratio"><a href="module-ol_Map-Map.html#getPixelRatio">getPixelRatio</a> |
95 | 96 | <li data-name="getproperties"><a href="module-ol_Map-Map.html#getProperties">getProperties</a> |
96 | 97 | <li data-name="getrevision"><a href="module-ol_Map-Map.html#getRevision">getRevision</a> |
97 | 98 | <li data-name="getsize"><a href="module-ol_Map-Map.html#getSize">getSize</a> |
|
111 | 112 | <li data-name="set"><a href="module-ol_Map-Map.html#set">set</a> |
112 | 113 | <li data-name="setlayergroup"><a href="module-ol_Map-Map.html#setLayerGroup">setLayerGroup</a> |
113 | 114 | <li data-name="setlayers"><a href="module-ol_Map-Map.html#setLayers">setLayers</a> |
| 115 | + <li data-name="setpixelratio"><a href="module-ol_Map-Map.html#setPixelRatio">setPixelRatio</a> |
114 | 116 | <li data-name="setproperties"><a href="module-ol_Map-Map.html#setProperties">setProperties</a> |
115 | 117 | <li data-name="setsize"><a href="module-ol_Map-Map.html#setSize">setSize</a> |
116 | 118 | <li data-name="settarget"><a href="module-ol_Map-Map.html#setTarget">setTarget</a> |
@@ -3756,6 +3758,96 @@ <h5>Returns:</h5> |
3756 | 3758 |
|
3757 | 3759 |
|
3758 | 3760 |
|
| 3761 | +<dt class=""> |
| 3762 | + |
| 3763 | + <div class="nameContainer"> |
| 3764 | + <div class="anchor" id="getPixelRatio"> |
| 3765 | + </div> |
| 3766 | + <h4 class="name"> |
| 3767 | + getPixelRatio<span class="signature">()</span><span class="fa fa-arrow-circle-right"></span><span class="type-signature returnType">{number}</span> |
| 3768 | + |
| 3769 | + |
| 3770 | + |
| 3771 | + </h4> |
| 3772 | + |
| 3773 | + <div class="tag-source"> |
| 3774 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
| 3775 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1045">line 1045</a> |
| 3776 | + </div> |
| 3777 | + |
| 3778 | + </div> |
| 3779 | + |
| 3780 | + |
| 3781 | +</dt> |
| 3782 | +<dd class=""> |
| 3783 | + |
| 3784 | + |
| 3785 | + |
| 3786 | + |
| 3787 | + <div class="description"> |
| 3788 | + <p>Get the pixel ratio of the rendered map.</p> |
| 3789 | + </div> |
| 3790 | + |
| 3791 | + |
| 3792 | + |
| 3793 | + |
| 3794 | + |
| 3795 | + |
| 3796 | + |
| 3797 | + |
| 3798 | + |
| 3799 | + |
| 3800 | + |
| 3801 | +<dl class="details"> |
| 3802 | + |
| 3803 | + |
| 3804 | + |
| 3805 | + |
| 3806 | + |
| 3807 | + |
| 3808 | + |
| 3809 | + |
| 3810 | + |
| 3811 | + |
| 3812 | + |
| 3813 | + |
| 3814 | + |
| 3815 | + |
| 3816 | + |
| 3817 | + |
| 3818 | + |
| 3819 | + |
| 3820 | + |
| 3821 | + |
| 3822 | + |
| 3823 | +</dl> |
| 3824 | + |
| 3825 | + |
| 3826 | + |
| 3827 | + |
| 3828 | + |
| 3829 | + |
| 3830 | + |
| 3831 | + |
| 3832 | + |
| 3833 | + |
| 3834 | + |
| 3835 | + |
| 3836 | + |
| 3837 | + |
| 3838 | + |
| 3839 | +<h5>Returns:</h5> |
| 3840 | +Pixel ratio. |
| 3841 | +<br /> |
| 3842 | + |
| 3843 | + |
| 3844 | + |
| 3845 | + |
| 3846 | +</dd> |
| 3847 | + |
| 3848 | + |
| 3849 | + |
| 3850 | + |
3759 | 3851 | <dt class=""> |
3760 | 3852 |
|
3761 | 3853 | <div class="nameContainer inherited"> |
@@ -3955,7 +4047,7 @@ <h4 class="name"> |
3955 | 4047 |
|
3956 | 4048 | <div class="tag-source"> |
3957 | 4049 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
3958 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1054">line 1054</a> |
| 4050 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1076">line 1076</a> |
3959 | 4051 | </div> |
3960 | 4052 |
|
3961 | 4053 | </div> |
@@ -4230,7 +4322,7 @@ <h4 class="name"> |
4230 | 4322 |
|
4231 | 4323 | <div class="tag-source"> |
4232 | 4324 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
4233 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1067">line 1067</a> |
| 4325 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1089">line 1089</a> |
4234 | 4326 | </div> |
4235 | 4327 |
|
4236 | 4328 | </div> |
@@ -4321,7 +4413,7 @@ <h4 class="name"> |
4321 | 4413 |
|
4322 | 4414 | <div class="tag-source"> |
4323 | 4415 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
4324 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1076">line 1076</a> |
| 4416 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1098">line 1098</a> |
4325 | 4417 | </div> |
4326 | 4418 |
|
4327 | 4419 | </div> |
@@ -5006,7 +5098,7 @@ <h4 class="name"> |
5006 | 5098 |
|
5007 | 5099 | <div class="tag-source"> |
5008 | 5100 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
5009 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1525">line 1525</a> |
| 5101 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1547">line 1547</a> |
5010 | 5102 | </div> |
5011 | 5103 |
|
5012 | 5104 | </div> |
@@ -5142,7 +5234,7 @@ <h4 class="name"> |
5142 | 5234 |
|
5143 | 5235 | <div class="tag-source"> |
5144 | 5236 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
5145 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1536">line 1536</a> |
| 5237 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1558">line 1558</a> |
5146 | 5238 | </div> |
5147 | 5239 |
|
5148 | 5240 | </div> |
@@ -5278,7 +5370,7 @@ <h4 class="name"> |
5278 | 5370 |
|
5279 | 5371 | <div class="tag-source"> |
5280 | 5372 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
5281 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1547">line 1547</a> |
| 5373 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1569">line 1569</a> |
5282 | 5374 | </div> |
5283 | 5375 |
|
5284 | 5376 | </div> |
@@ -5414,7 +5506,7 @@ <h4 class="name"> |
5414 | 5506 |
|
5415 | 5507 | <div class="tag-source"> |
5416 | 5508 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
5417 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1567">line 1567</a> |
| 5509 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1589">line 1589</a> |
5418 | 5510 | </div> |
5419 | 5511 |
|
5420 | 5512 | </div> |
@@ -5550,7 +5642,7 @@ <h4 class="name"> |
5550 | 5642 |
|
5551 | 5643 | <div class="tag-source"> |
5552 | 5644 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
5553 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1512">line 1512</a> |
| 5645 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1534">line 1534</a> |
5554 | 5646 | </div> |
5555 | 5647 |
|
5556 | 5648 | </div> |
@@ -5631,7 +5723,7 @@ <h4 class="name"> |
5631 | 5723 |
|
5632 | 5724 | <div class="tag-source"> |
5633 | 5725 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
5634 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1485">line 1485</a> |
| 5726 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1507">line 1507</a> |
5635 | 5727 | </div> |
5636 | 5728 |
|
5637 | 5729 | </div> |
@@ -5890,7 +5982,7 @@ <h4 class="name"> |
5890 | 5982 |
|
5891 | 5983 | <div class="tag-source"> |
5892 | 5984 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
5893 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1689">line 1689</a> |
| 5985 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1711">line 1711</a> |
5894 | 5986 | </div> |
5895 | 5987 |
|
5896 | 5988 | </div> |
@@ -6111,6 +6203,132 @@ <h4 class="name"> |
6111 | 6203 |
|
6112 | 6204 |
|
6113 | 6205 |
|
| 6206 | + |
| 6207 | +</dl> |
| 6208 | + |
| 6209 | + |
| 6210 | + |
| 6211 | + |
| 6212 | + |
| 6213 | + |
| 6214 | + |
| 6215 | + |
| 6216 | + |
| 6217 | + |
| 6218 | + |
| 6219 | + |
| 6220 | + |
| 6221 | +</dd> |
| 6222 | + |
| 6223 | + |
| 6224 | + |
| 6225 | + |
| 6226 | +<dt class=""> |
| 6227 | + |
| 6228 | + <div class="nameContainer"> |
| 6229 | + <div class="anchor" id="setPixelRatio"> |
| 6230 | + </div> |
| 6231 | + <h4 class="name"> |
| 6232 | + setPixelRatio<span class="signature">(pixelRatio)</span> |
| 6233 | + |
| 6234 | + |
| 6235 | + |
| 6236 | + </h4> |
| 6237 | + |
| 6238 | + <div class="tag-source"> |
| 6239 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
| 6240 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1054">line 1054</a> |
| 6241 | + </div> |
| 6242 | + |
| 6243 | + </div> |
| 6244 | + |
| 6245 | + |
| 6246 | +</dt> |
| 6247 | +<dd class=""> |
| 6248 | + |
| 6249 | + |
| 6250 | + |
| 6251 | + |
| 6252 | + <div class="description"> |
| 6253 | + <p>Set the pixel ratio of the rendered map.</p> |
| 6254 | + </div> |
| 6255 | + |
| 6256 | + |
| 6257 | + |
| 6258 | + |
| 6259 | + |
| 6260 | + |
| 6261 | + |
| 6262 | + |
| 6263 | + |
| 6264 | + |
| 6265 | +<table class="params"> |
| 6266 | + <thead> |
| 6267 | + <tr> |
| 6268 | + |
| 6269 | + <th>Name</th> |
| 6270 | + |
| 6271 | + |
| 6272 | + <th>Type</th> |
| 6273 | + |
| 6274 | + <th class="last">Description</th> |
| 6275 | + </tr> |
| 6276 | + </thead> |
| 6277 | + |
| 6278 | + <tbody> |
| 6279 | + |
| 6280 | + |
| 6281 | + <tr class=""> |
| 6282 | + |
| 6283 | + <td class="name"><code>pixelRatio</code></td> |
| 6284 | + |
| 6285 | + |
| 6286 | + |
| 6287 | + <td class="type"> |
| 6288 | + |
| 6289 | + |
| 6290 | +<span class="param-type">number</span> |
| 6291 | + |
| 6292 | + |
| 6293 | + |
| 6294 | + |
| 6295 | + </td> |
| 6296 | + |
| 6297 | + |
| 6298 | + |
| 6299 | + <td class="description last"> |
| 6300 | + |
| 6301 | + <p>Pixel ratio.</p></td> |
| 6302 | + </tr> |
| 6303 | + |
| 6304 | + |
| 6305 | + </tbody> |
| 6306 | +</table> |
| 6307 | + |
| 6308 | + |
| 6309 | + |
| 6310 | + |
| 6311 | +<dl class="details"> |
| 6312 | + |
| 6313 | + |
| 6314 | + |
| 6315 | + |
| 6316 | + |
| 6317 | + |
| 6318 | + |
| 6319 | + |
| 6320 | + |
| 6321 | + |
| 6322 | + |
| 6323 | + |
| 6324 | + |
| 6325 | + |
| 6326 | + |
| 6327 | + |
| 6328 | + |
| 6329 | + |
| 6330 | + |
| 6331 | + |
6114 | 6332 |
|
6115 | 6333 | </dl> |
6116 | 6334 |
|
@@ -6299,7 +6517,7 @@ <h4 class="name"> |
6299 | 6517 |
|
6300 | 6518 | <div class="tag-source"> |
6301 | 6519 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
6302 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1703">line 1703</a> |
| 6520 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1725">line 1725</a> |
6303 | 6521 | </div> |
6304 | 6522 |
|
6305 | 6523 | </div> |
@@ -6428,7 +6646,7 @@ <h4 class="name"> |
6428 | 6646 |
|
6429 | 6647 | <div class="tag-source"> |
6430 | 6648 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
6431 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1717">line 1717</a> |
| 6649 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1739">line 1739</a> |
6432 | 6650 | </div> |
6433 | 6651 |
|
6434 | 6652 | </div> |
@@ -6561,7 +6779,7 @@ <h4 class="name"> |
6561 | 6779 |
|
6562 | 6780 | <div class="tag-source"> |
6563 | 6781 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
6564 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1730">line 1730</a> |
| 6782 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1752">line 1752</a> |
6565 | 6783 | </div> |
6566 | 6784 |
|
6567 | 6785 | </div> |
@@ -7005,7 +7223,7 @@ <h4 class="name"> |
7005 | 7223 |
|
7006 | 7224 | <div class="tag-source"> |
7007 | 7225 | <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js">Map.js</a>, |
7008 | | - <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1748">line 1748</a> |
| 7226 | + <a href="https://github.com/openlayers/openlayers/blob/main/src/ol/Map.js#L1770">line 1770</a> |
7009 | 7227 | </div> |
7010 | 7228 |
|
7011 | 7229 | </div> |
|
0 commit comments