Updated reference for crossOrigin option

This commit is contained in:
bennlich 2014-04-22 22:59:33 -07:00 committed by Vladimir Agafonkin
parent f4250f12e8
commit 02f28b9160

View File

@ -1943,6 +1943,12 @@ var map = L.map('map', {
<td><code><a href="#latlngbounds">LatLngBounds</a></code></td>
<td><code><span class="literal">null</span></code></td>
<td>When this option is set, the TileLayer only loads tiles that are in the given geographical bounds.</td>
</tr>
<tr>
<td><code><b>crossOrigin</b></code></td>
<td><code><code>Boolean</code></code></td>
<td><code><span class="literal">false</span></code></td>
<td>If <code><span class="literal">true</span></code>, all tiles will have their <code>crossOrigin</code> attribute set to <code>''</code>. This is needed if you want to access tile pixel data.</td>
</tr>
</table>